Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Type-PolyLine
Compare Revisions
2a2a02ec4327a68a58695bccb0394a8ff965e2a3...e2dbe2e08cc9719a5e537389f6b7367fe29feba0
Commits (1)
overrides
· e2dbe2e0
Jan Möbius
authored
Jun 28, 2019
e2dbe2e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
ObjectTypes/PolyLine/PolyLineNodeT.hh
ObjectTypes/PolyLine/PolyLineNodeT.hh
+5
-5
ObjectTypes/PolyLineCollection/PolyLineCollectionNodeT.hh
ObjectTypes/PolyLineCollection/PolyLineCollectionNodeT.hh
+5
-5
No files found.
ObjectTypes/PolyLine/PolyLineNodeT.hh
View file @
e2dbe2e0
...
...
@@ -105,16 +105,16 @@ public:
ACG_CLASSNAME
(
PolyLineNodeT
);
/// return available draw modes
DrawModes
::
DrawMode
availableDrawModes
()
const
;
DrawModes
::
DrawMode
availableDrawModes
()
const
override
;
/// update bounding box
void
boundingBox
(
Vec3d
&
_bbMin
,
Vec3d
&
_bbMax
);
void
boundingBox
(
Vec3d
&
_bbMin
,
Vec3d
&
_bbMax
)
override
;
/// draw lines and normals
void
draw
(
GLState
&
/*_state*/
,
const
DrawModes
::
DrawMode
&
_drawMode
);
void
draw
(
GLState
&
/*_state*/
,
const
DrawModes
::
DrawMode
&
_drawMode
)
override
;
/// picking
void
pick
(
GLState
&
_state
,
PickTarget
_target
);
void
pick
(
GLState
&
_state
,
PickTarget
_target
)
override
;
/** \brief Add the objects to the given renderer
*
...
...
@@ -123,7 +123,7 @@ public:
* @param _drawMode The active draw mode
* @param _mat Current material
*/
void
getRenderObjects
(
ACG
::
IRenderer
*
_renderer
,
ACG
::
GLState
&
_state
,
const
ACG
::
SceneGraph
::
DrawModes
::
DrawMode
&
_drawMode
,
const
ACG
::
SceneGraph
::
Material
*
_mat
);
void
getRenderObjects
(
ACG
::
IRenderer
*
_renderer
,
ACG
::
GLState
&
_state
,
const
ACG
::
SceneGraph
::
DrawModes
::
DrawMode
&
_drawMode
,
const
ACG
::
SceneGraph
::
Material
*
_mat
)
override
;
/// Trigger an update of the vbo
void
update
()
{
updateVBO_
=
true
;
};
...
...
ObjectTypes/PolyLineCollection/PolyLineCollectionNodeT.hh
View file @
e2dbe2e0
...
...
@@ -92,16 +92,16 @@ public:
ACG_CLASSNAME
(
PolyLineCollectionNodeT
);
/// return available draw modes
DrawModes
::
DrawMode
availableDrawModes
()
const
;
DrawModes
::
DrawMode
availableDrawModes
()
const
override
;
/// update bounding box
void
boundingBox
(
Vec3d
&
_bbMin
,
Vec3d
&
_bbMax
);
void
boundingBox
(
Vec3d
&
_bbMin
,
Vec3d
&
_bbMax
)
override
;
/// draw lines and normals
void
draw
(
GLState
&
/*_state*/
,
const
DrawModes
::
DrawMode
&
_drawMode
);
void
draw
(
GLState
&
/*_state*/
,
const
DrawModes
::
DrawMode
&
_drawMode
)
override
;
/// picking
void
pick
(
GLState
&
_state
,
PickTarget
_target
);
void
pick
(
GLState
&
_state
,
PickTarget
_target
)
override
;
/** \brief Add the objects to the given renderer
*
...
...
@@ -110,7 +110,7 @@ public:
* @param _drawMode The active draw mode
* @param _mat Current material
*/
void
getRenderObjects
(
ACG
::
IRenderer
*
_renderer
,
ACG
::
GLState
&
_state
,
const
ACG
::
SceneGraph
::
DrawModes
::
DrawMode
&
_drawMode
,
const
ACG
::
SceneGraph
::
Material
*
_mat
);
void
getRenderObjects
(
ACG
::
IRenderer
*
_renderer
,
ACG
::
GLState
&
_state
,
const
ACG
::
SceneGraph
::
DrawModes
::
DrawMode
&
_drawMode
,
const
ACG
::
SceneGraph
::
Material
*
_mat
)
override
;
/// Trigger an update of the vbo
void
update
()
{
updateVBO_
=
true
;
}
...
...