#include <gepetto/viewer/group-node.h>
Public Member Functions | |
| 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 (NodePtr_t child_ptr) |
| Add a GraphicalObject to the list. More... | |
| virtual bool | removeChild (NodePtr_t child_ptr) |
| Remove a GraphicalObject from the list. More... | |
| virtual bool | hasChild (NodePtr_t child_ptr) const |
| Return true if this group contains this child. More... | |
| virtual void | removeAllChildren () |
| Remove all children. More... | |
| virtual size_t | getNumOfChildren () const |
| virtual NodePtr_t | getChild (size_t i) const |
| 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 | setAlpha (const float &alpha) |
| Replace the old transparency value with alpha Note : alpha must be in [0,1]. More... | |
| void | setColor (const osgVector4 &color) |
| Set the color of the object. More... | |
| void | traverse (NodeVisitor &visitor) |
| virtual osg::ref_ptr< osg::Node > | getOsgNode () const |
| virtual | ~GroupNode () |
Public Member Functions inherited from gepetto::viewer::Node | |
| const Configuration & | getGlobalTransform () const |
| returns rotation and position of the node in word frame More... | |
| std::string | getID () const |
| getID is a public method for getting the id_name of the Object More... | |
| bool | isDirty () const |
| void | setDirty (bool dirty=true) |
| Called when a property is modified. More... | |
| void | applyConfiguration (const osgVector3 &position, const osgQuat &quat) |
| Apply a new global configuration. More... | |
| void | applyConfiguration (const Configuration &cfg) |
| Apply a new global configuration. More... | |
| void | setStaticTransform (const osgVector3 &position, const osgQuat &quat) |
| Set Static transformation. More... | |
| osgQuat | getStaticRotation () const |
| Get Static rotation. More... | |
| osgVector3 | getStaticPosition () const |
| Get Static position. More... | |
| virtual void | setVisibilityMode (const VisibilityMode &visibility_state) |
| Virtual method for setting the visibility mode of the object : visible or not visible. More... | |
| virtual const VisibilityMode & | getVisibilityMode () const |
| virtual LightingMode | getLightingMode () const |
| virtual const WireFrameMode & | getWireFrameMode () const |
| void | setScale (float scale) |
| Set scale value of the OSG object. More... | |
| void | setScale (const osgVector3 &scale) |
| Set scales value of the OSG object. More... | |
| osgVector3 | getScale () const |
| Get scale. More... | |
| virtual ::osg::GroupRefPtr | asGroup () const |
| Return the root node to include it in the scene. More... | |
| virtual void | addLandmark (const float &size) |
| bool | hasLandmark () const |
| ::osg::StateSetRefPtr | getOrCreateRootStateSet () |
| void | deleteLandmark () |
| bool | getHighlightEnabled () const |
| void | setHighlightEnabled (bool enabled) |
| void | setHighlightState (unsigned int state) |
| const std::size_t & | getHighlightState () const |
| virtual float | getAlpha () const |
| void | setTransparency (const float &transparency) |
| float | getTransparency () const |
| virtual | ~Node () |
Public Member Functions inherited from gepetto::viewer::Properties | |
| Property * | property (const std::string &name) const |
| Access a property. More... | |
| bool | callVoidProperty (const std::string &name) const |
| template<typename T > | |
| bool | getProperty (const std::string &name, T &value) const |
| template<typename T > | |
| bool | setProperty (const std::string &name, const T &value) |
| Set a property and set this object as dirty. More... | |
| bool | hasProperty (const std::string &name) const |
| const PropertyMap_t & | properties () const |
| void | addProperty (const PropertyPtr_t &prop) |
| Add a property and take ownership. More... | |
| void | addProperty (const std::string &name, const PropertyPtr_t &prop) |
| Add a property and take ownership. More... | |
| void | addProperty (Property *prop) |
| Add a property and leave ownership. More... | |
| void | addProperty (const std::string &name, Property *prop) |
| Add a property and leave ownership. More... | |
| QWidget * | guiEditor () |
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... | |
Public Attributes | |
| SCENE_VIEWER_ACCEPT_VISITOR | |
Public Attributes inherited from gepetto::viewer::Node | |
| SCENE_VIEWER_ACCEPT_VISITOR | |
Protected Member Functions | |
| GroupNode (const std::string &name) | |
| Default constructor. More... | |
| GroupNode (const GroupNode &other) | |
| Copy constructor. More... | |
| void | initWeakPtr (GroupNodeWeakPtr other_weak_ptr) |
| Initialize weak_ptr. More... | |
Protected Member Functions inherited from gepetto::viewer::Node | |
| 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) |
| void | setTransparentRenderingBin (bool transparent=true, osg::StateSet *ss=NULL) |
Additional Inherited Members | |
Public Types inherited from gepetto::viewer::Properties | |
| typedef std::map< std::string, Wrapper > | PropertyMap_t |
Static Public Attributes inherited from gepetto::viewer::Node | |
| static const float | TransparencyRenderingBinThreshold |
Protected Attributes inherited from gepetto::viewer::Node | |
| ::osg::GeodeRefPtr | landmark_geode_ptr_ |
| protected because it's used in LeafNodeCapsule More... | |
| ::osg::GeodeRefPtr | geode_ptr_ |
| Geode pointer for landmarks. More... | |
| float | alpha_ |
| Alpha value. More... | |
Protected Attributes inherited from gepetto::viewer::Properties | |
| PropertyMap_t | properties_ |
|
protected |
Default constructor.
|
protected |
Copy constructor.
|
virtual |
|
virtual |
Add a GraphicalObject to the list.
| GroupNodePtr_t gepetto::viewer::GroupNode::clone | ( | void | ) | const |
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 |
Reimplemented from gepetto::viewer::Node.
|
virtual |
Return true if this group contains this child.
|
protected |
Initialize weak_ptr.
|
virtual |
Remove all children.
|
virtual |
Remove a GraphicalObject from the list.
| GroupNodePtr_t gepetto::viewer::GroupNode::self | ( | void | ) | const |
Return a shared pointer of the current object.
|
virtual |
Replace the old transparency value with alpha Note : alpha must be in [0,1].
Reimplemented from gepetto::viewer::Node.
|
virtual |
Set the color of the object.
Implements gepetto::viewer::Node.
|
virtual |
Virtual method for setting the lighting mode of the object : influence by light or not.
| lightingmode | state |
Reimplemented from gepetto::viewer::Node.
|
virtual |
Virtual method for setting the wireframe mode of the object : visible or not.
| wireframemode | state |
Reimplemented from gepetto::viewer::Node.
|
virtual |
Reimplemented from gepetto::viewer::Node.
| gepetto::viewer::GroupNode::SCENE_VIEWER_ACCEPT_VISITOR |