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

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

Inheritance diagram for graphics::LeafNodeLine:
Collaboration diagram for graphics::LeafNodeLine:

Public Member Functions

virtual LeafNodeLinePtr_t clone (void) const
 Proceed to a clonage of the current object defined by the copy constructor. More...
 
virtual NodePtr_t copy () const
 Copy. More...
 
LeafNodeLinePtr_t self (void) const
 Return a shared pointer of the current object. More...
 
virtual void setStartPoint (const osgVector3 &start_point)
 Apply a new global configuration. More...
 
osgVector3 getStartPoint () const
 
virtual void setEndPoint (const osgVector3 &end_point)
 Define the new end point of the line. More...
 
osgVector3 getEndPoint () const
 
virtual void setPoints (const osgVector3 &start_point, const osgVector3 &end_point)
 Define the start and end point of the line. More...
 
void setColor (osgVector4 color)
 
osgVector4 getColor () const
 
virtual ~LeafNodeLine ()
 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 LeafNodeLinePtr_t create (const std::string &name, const osgVector3 &start_point, const osgVector3 &end_point)
 Static method which create a new box defined by the half_axis vector. More...
 
static LeafNodeLinePtr_t create (const std::string &name, const osgVector3 &start_point, const osgVector3 &end_point, const osgVector4 &color)
 
static LeafNodeLinePtr_t createCopy (LeafNodeLinePtr_t other)
 Static method for creating a clone of box other with the copy constructor. 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)
 

Constructor & Destructor Documentation

virtual graphics::LeafNodeLine::~LeafNodeLine ( )
virtual

Destructor.

Member Function Documentation

virtual LeafNodeLinePtr_t graphics::LeafNodeLine::clone ( void  ) const
virtual

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

virtual NodePtr_t graphics::LeafNodeLine::copy ( ) const
inlinevirtual

Copy.

Proceed to a copy of the currend object as clone

static LeafNodeLinePtr_t graphics::LeafNodeLine::create ( const std::string &  name,
const osgVector3 start_point,
const osgVector3 end_point 
)
static

Static method which create a new box defined by the half_axis vector.

static LeafNodeLinePtr_t graphics::LeafNodeLine::create ( const std::string &  name,
const osgVector3 start_point,
const osgVector3 end_point,
const osgVector4 color 
)
static
static LeafNodeLinePtr_t graphics::LeafNodeLine::createCopy ( LeafNodeLinePtr_t  other)
static

Static method for creating a clone of box other with the copy constructor.

osgVector4 graphics::LeafNodeLine::getColor ( ) const
inline

References ASSERT.

osgVector3 graphics::LeafNodeLine::getEndPoint ( ) const
osgVector3 graphics::LeafNodeLine::getStartPoint ( ) const
LeafNodeLinePtr_t graphics::LeafNodeLine::self ( void  ) const

Return a shared pointer of the current object.

void graphics::LeafNodeLine::setColor ( osgVector4  color)
virtual void graphics::LeafNodeLine::setEndPoint ( const osgVector3 end_point)
virtual

Define the new end point of the line.

virtual void graphics::LeafNodeLine::setPoints ( const osgVector3 start_point,
const osgVector3 end_point 
)
virtual

Define the start and end point of the line.

virtual void graphics::LeafNodeLine::setStartPoint ( const osgVector3 start_point)
virtual

Apply a new global configuration.

Define the new start point of the line