#include <gepetto/viewer/group-node.h>
Public Member Functions | |
virtual GroupNodePtr_t | clone (void) const |
Proceed to a clonage of the current object defined by the copy constructor. More... | |
GroupNodePtr_t | self (void) const |
Return a shared pointer of the current object. More... | |
virtual bool | addChild (::graphics::NodePtr_t child_ptr) |
Add a GraphicalObject to the list. More... | |
virtual bool | removeChild (::graphics::NodePtr_t child_ptr) |
Remove a GraphicalObject from the list. More... | |
virtual void | removeAllChildren () |
Remove all children. More... | |
virtual size_t | getNumOfChildren () const |
virtual graphics::NodePtr_t | getChild (size_t i) const |
virtual void | setVisibilityMode (const VisibilityMode &visibility_state) |
Virtual method for setting the visibility mode of the object : visible or not visible. More... | |
virtual void | setLightingMode (const LightingMode &lighting_state) |
Virtual method for setting the lighting mode of the object : influence by light or not. More... | |
virtual void | setWireFrameMode (const WireFrameMode &wireframe_state) |
Virtual method for setting the wireframe mode of the object : visible or not. More... | |
virtual void | setScale (const float scale) |
Replace the old transparency value with alpha Note : alpha must be in [0,1]. More... | |
virtual | ~GroupNode () |
![]() | |
std::string | getID () const |
getID is a public method for getting the id_name of the Object More... | |
void | applyConfiguration (osgVector3 position, osgQuat quat) |
Apply a new global configuration. More... | |
void | setStaticTransform (osgVector3 position, osgQuat quat) |
Set Static transformation. More... | |
virtual void | setScale (const float &scale) |
Set scale value of the OSG object. More... | |
virtual void | setScale (const osg::Vec3d &scale) |
Set scales value of the OSG object. More... | |
virtual ::osg::GroupRefPtr | asGroup () const |
Return the root node to include it in the scene. More... | |
void | addLandmark (const float &size) |
void | deleteLandmark () |
virtual | ~Node () |
Return the alpha value. More... | |
Static Public Member Functions | |
static GroupNodePtr_t | create (const std::string &name) |
Static method which create a new box defined by the half_axis vector. More... | |
static GroupNodePtr_t | createCopy (GroupNodePtr_t other) |
Static method for creating a clone of box other with the copy constructor. More... | |
Protected Member Functions | |
GroupNode (const std::string &name) | |
Default constructor. More... | |
GroupNode (const GroupNode &other) | |
Copy constructor. More... | |
![]() | |
Node (const std::string &name) | |
Default constructor. More... | |
Node (const Node &other) | |
Copy constructor. More... | |
::osg::GroupRefPtr | asQueue () const |
Return the root node to include it in the scene. More... | |
void | setID (const std::string &id_name) |
|
protected |
Default constructor.
|
protected |
Copy constructor.
|
virtual |
|
virtual |
Add a GraphicalObject to the list.
|
virtual |
Proceed to a clonage of the current object defined by the copy constructor.
|
static |
Static method which create a new box defined by the half_axis vector.
|
static |
Static method for creating a clone of box other with the copy constructor.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Remove all children.
|
virtual |
Remove a GraphicalObject from the list.
GroupNodePtr_t graphics::GroupNode::self | ( | void | ) | const |
Return a shared pointer of the current object.
|
virtual |
Virtual method for setting the lighting mode of the object : influence by light or not.
lightingmode | state |
Reimplemented from graphics::Node.
|
virtual |
Replace the old transparency value with alpha Note : alpha must be in [0,1].
Apply the scale value of all children note : scale value must be positive
|
virtual |
Virtual method for setting the visibility mode of the object : visible or not visible.
visibilitymode | state |
Reimplemented from graphics::Node.
|
virtual |
Virtual method for setting the wireframe mode of the object : visible or not.
wireframemode | state |
Reimplemented from graphics::Node.