Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KennethVanhoey
CGoGN
Commits
432667ae
Commit
432667ae
authored
Feb 18, 2013
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some set function for boundary drawing
parent
b5d064c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
include/Algo/Render/GL2/topoRender.h
include/Algo/Render/GL2/topoRender.h
+6
-0
src/Algo/Render/topoRender.cpp
src/Algo/Render/topoRender.cpp
+11
-0
No files found.
include/Algo/Render/GL2/topoRender.h
View file @
432667ae
...
@@ -279,6 +279,12 @@ public:
...
@@ -279,6 +279,12 @@ public:
* @param ns distance shift along normals (use BB.diagSize()/100 is good approximation)
* @param ns distance shift along normals (use BB.diagSize()/100 is good approximation)
*/
*/
void
setNormalShift
(
float
ns
);
void
setNormalShift
(
float
ns
);
/**
* @brief set boundary shift for boundary of dim 2 drawing
* @param ns distance shift
*/
void
setBoundaryShift
(
float
bs
);
};
};
// just for compatibility with old code
// just for compatibility with old code
...
...
src/Algo/Render/topoRender.cpp
View file @
432667ae
...
@@ -345,6 +345,17 @@ void TopoRender::toSVG(Utils::SVG::SVGOut& svg)
...
@@ -345,6 +345,17 @@ void TopoRender::toSVG(Utils::SVG::SVGOut& svg)
}
}
void
TopoRender
::
setNormalShift
(
float
ns
)
{
m_normalShift
=
ns
;
}
void
TopoRender
::
setBoundaryShift
(
float
bs
)
{
m_boundShift
=
bs
;
}
}
//end namespace GL2
}
//end namespace GL2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment