Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
6db73db6
Commit
6db73db6
authored
Jan 13, 2016
by
Hans-Christian Ebke
Browse files
Make status nodes of MeshNode accessible.
parent
46229f39
Pipeline
#704
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ObjectTypes/MeshObject/MeshObjectT.hh
View file @
6db73db6
...
...
@@ -243,6 +243,23 @@ class DLLEXPORTONLY MeshObject : public BaseObjectData {
/// get color for handles. returns -1 vector, if handle node does not exists
ACG
::
Vec4f
handleColor
()
const
;
/// Returns the status node (visualizing the selection) if available,
/// nullptr otherwise.
ACG
::
SceneGraph
::
SelectionNodeT
<
MeshT
>
*
statusNode
()
{
return
statusNode_
;
}
/// Returns the area selection node if available, nullptr otherwise.
ACG
::
SceneGraph
::
StatusNodeT
<
MeshT
,
AreaNodeMod
<
MeshT
>
>
*
areaNode
()
{
return
areaNode_
;
}
/// Returns the handle selection node if available, nullptr otherwise.
ACG
::
SceneGraph
::
StatusNodeT
<
MeshT
,
HandleNodeMod
<
MeshT
>
>
*
handleNode
()
{
return
handleNode_
;
}
/// Returns the feature selection node if available, nullptr otherwise.
ACG
::
SceneGraph
::
StatusNodeT
<
MeshT
,
FeatureNodeMod
<
MeshT
>
>
*
featureNode
()
{
return
featureNode_
;
}
private
:
/// Status Node for a mesh, visualizing the selection state of a mesh
ACG
::
SceneGraph
::
SelectionNodeT
<
MeshT
>*
statusNode_
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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