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
4efbc0fd
Commit
4efbc0fd
authored
Jan 13, 2016
by
Jan Möbius
Browse files
Merge branch 'status_nodes_accessibility' into 'master'
Make status nodes of MeshNode accessible. See merge request
!58
parents
46229f39
6db73db6
Pipeline
#706
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ObjectTypes/MeshObject/MeshObjectT.hh
View file @
4efbc0fd
...
...
@@ -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