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

Implementation of the Collada GraphicalObject in OSG render. More...

#include <gepetto/viewer/leaf-node-collada.h>

Inheritance diagram for graphics::LeafNodeCollada:
Collaboration diagram for graphics::LeafNodeCollada:

Public Member Functions

virtual LeafNodeColladaPtr_t clone (void) const
 Proceed to a clonage of the current object defined by the copy constructor. More...
 
::osg::NodeRefPtr getColladaPtr (void)
 Returns a pointer to the NodeRefPtr. More...
 
virtual LeafNodeColladaPtr_t copy () const
 Copy. More...
 
LeafNodeColladaPtr_t self (void) const
 Return a shared pointer of the current object. More...
 
void setColor (const osgVector4 &color)
 
void setTexture (const std::string &image_path)
 
virtual ~LeafNodeCollada ()
 Destructor. More...
 
- Public Member Functions inherited from graphics::Node
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...
 

Static Public Member Functions

static LeafNodeColladaPtr_t create (const std::string &name, const std::string &collada_file_path)
 Static method which create a new LeafNodeCollada. More...
 
static LeafNodeColladaPtr_t create (const std::string &name, const std::string &collada_file_path, const osgVector4 &color)
 
static LeafNodeColladaPtr_t createCopy (LeafNodeColladaPtr_t other)
 Static method for creating a clone of LeafNodeCollada other. More...
 

Additional Inherited Members

- Protected Member Functions inherited from graphics::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)
 

Detailed Description

Implementation of the Collada GraphicalObject in OSG render.

Constructor & Destructor Documentation

virtual graphics::LeafNodeCollada::~LeafNodeCollada ( )
virtual

Destructor.

Member Function Documentation

virtual LeafNodeColladaPtr_t graphics::LeafNodeCollada::clone ( void  ) const
virtual

Proceed to a clonage of the current object defined by the copy constructor.

virtual LeafNodeColladaPtr_t graphics::LeafNodeCollada::copy ( ) const
inlinevirtual

Copy.

Proceed to a copy of the currend object as clone

static LeafNodeColladaPtr_t graphics::LeafNodeCollada::create ( const std::string &  name,
const std::string &  collada_file_path 
)
static

Static method which create a new LeafNodeCollada.

static LeafNodeColladaPtr_t graphics::LeafNodeCollada::create ( const std::string &  name,
const std::string &  collada_file_path,
const osgVector4 color 
)
static
static LeafNodeColladaPtr_t graphics::LeafNodeCollada::createCopy ( LeafNodeColladaPtr_t  other)
static

Static method for creating a clone of LeafNodeCollada other.

::osg::NodeRefPtr graphics::LeafNodeCollada::getColladaPtr ( void  )

Returns a pointer to the NodeRefPtr.

LeafNodeColladaPtr_t graphics::LeafNodeCollada::self ( void  ) const

Return a shared pointer of the current object.

void graphics::LeafNodeCollada::setColor ( const osgVector4 color)
void graphics::LeafNodeCollada::setTexture ( const std::string &  image_path)