All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Macros
graphics::Node Class Reference

#include <gepetto/viewer/node.h>

Inheritance diagram for graphics::Node:

Public Member Functions

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 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)
 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...
 

Protected Member Functions

 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)
 

Constructor & Destructor Documentation

graphics::Node::Node ( const std::string &  name)
protected

Default constructor.

graphics::Node::Node ( const Node other)
protected

Copy constructor.

virtual graphics::Node::~Node ( )
virtual

Return the alpha value.

Member Function Documentation

void graphics::Node::addLandmark ( const float &  size)
void graphics::Node::applyConfiguration ( osgVector3  position,
osgQuat  quat 
)

Apply a new global configuration.

virtual ::osg::GroupRefPtr graphics::Node::asGroup ( ) const
inline

Return the root node to include it in the scene.

::osg::GroupRefPtr graphics::Node::asQueue ( ) const
inlineprotected

Return the root node to include it in the scene.

void graphics::Node::deleteLandmark ( )
std::string graphics::Node::getID ( ) const
inline

getID is a public method for getting the id_name of the Object

void graphics::Node::setID ( const std::string &  id_name)
inlineprotected
virtual void graphics::Node::setLightingMode ( const LightingMode lighting_state)
virtual

Virtual method for setting the lighting mode of the object : influence by light or not.

Parameters
lightingmodestate

Reimplemented in graphics::GroupNode.

virtual void graphics::Node::setScale ( const float &  scale)
virtual

Set scale value of the OSG object.

virtual void graphics::Node::setScale ( const osg::Vec3d &  scale)
virtual

Set scales value of the OSG object.

void graphics::Node::setStaticTransform ( osgVector3  position,
osgQuat  quat 
)

Set Static transformation.

virtual void graphics::Node::setVisibilityMode ( const VisibilityMode visibility_state)
virtual

Virtual method for setting the visibility mode of the object : visible or not visible.

Parameters
visibilitymodestate

Reimplemented in graphics::GroupNode.

virtual void graphics::Node::setWireFrameMode ( const WireFrameMode wireframe_state)
virtual

Virtual method for setting the wireframe mode of the object : visible or not.

Parameters
wireframemodestate

Reimplemented in graphics::GroupNode.