MIRA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ArrowObject Class Reference

#include <visualization/3d/ArrowObject.h>

Inheritance diagram for ArrowObject:
Inheritance graph
[legend]

Public Member Functions

 ArrowObject (Ogre::SceneManager *sceneManager, Ogre::SceneNode *parent=NULL)
 
virtual ~ArrowObject ()
 
virtual void setColor (const Ogre::ColourValue &color)
 
void showHead (bool show)
 
void setRadius (float radius)
 
void setLength (float length)
 
virtual void setScale (const Ogre::Vector3 &scale)
 
virtual void setScale (const Eigen::Vector3f &scale)
 
virtual void setPosition (const Ogre::Vector3 &position)
 
virtual void setPosition (const Eigen::Vector3f &position)
 
virtual void setOrientation (const Ogre::Quaternion &orientation)
 
virtual void setOrientation (const Eigen::Quaternionf &orientation)
 
virtual void setColor (Color::RGBA color)
 
virtual void setTransform (const RigidTransform2f &transform)
 
virtual void setTransform (const RigidTransform3f &transform)
 
virtual void setVisible (bool visible, bool cascade=true)
 
Ogre::SceneNode * getNode ()
 

Protected Member Functions

void updateScales ()
 

Protected Attributes

MeshObjectmShaft
 
MeshObjectmHead
 
float mRadius
 
float mLength
 
bool mShowHead
 
Ogre::SceneManager * mSceneManager
 
Ogre::SceneNode * mNode
 

Constructor & Destructor Documentation

◆ ArrowObject()

ArrowObject ( Ogre::SceneManager *  sceneManager,
Ogre::SceneNode *  parent = NULL 
)

◆ ~ArrowObject()

virtual ~ArrowObject ( )
virtual

Member Function Documentation

◆ setColor() [1/2]

virtual void setColor ( const Ogre::ColourValue &  color)
virtual

Reimplemented from VisualizationObject.

◆ showHead()

void showHead ( bool  show)

◆ setRadius()

void setRadius ( float  radius)

◆ setLength()

void setLength ( float  length)

◆ updateScales()

void updateScales ( )
protected

◆ setScale() [1/2]

virtual void setScale ( const Ogre::Vector3 &  scale)
virtualinherited

◆ setScale() [2/2]

virtual void setScale ( const Eigen::Vector3f &  scale)
virtualinherited

◆ setPosition() [1/2]

virtual void setPosition ( const Ogre::Vector3 &  position)
virtualinherited

◆ setPosition() [2/2]

virtual void setPosition ( const Eigen::Vector3f &  position)
virtualinherited

◆ setOrientation() [1/2]

virtual void setOrientation ( const Ogre::Quaternion &  orientation)
virtualinherited

◆ setOrientation() [2/2]

virtual void setOrientation ( const Eigen::Quaternionf orientation)
virtualinherited

◆ setColor() [2/2]

virtual void setColor ( Color::RGBA  color)
inlinevirtualinherited

◆ setTransform() [1/2]

virtual void setTransform ( const RigidTransform2f transform)
virtualinherited

◆ setTransform() [2/2]

virtual void setTransform ( const RigidTransform3f transform)
virtualinherited

◆ setVisible()

virtual void setVisible ( bool  visible,
bool  cascade = true 
)
virtualinherited

Reimplemented in TextObject, AxesObject, and LineStripObject.

◆ getNode()

Ogre::SceneNode* getNode ( )
inlineinherited

Member Data Documentation

◆ mShaft

MeshObject* mShaft
protected

◆ mHead

MeshObject* mHead
protected

◆ mRadius

float mRadius
protected

◆ mLength

float mLength
protected

◆ mShowHead

bool mShowHead
protected

◆ mSceneManager

Ogre::SceneManager* mSceneManager
protectedinherited

◆ mNode

Ogre::SceneNode* mNode
protectedinherited

The documentation for this class was generated from the following file: