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

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

Inheritance diagram for GridObject:
Inheritance graph
[legend]

Public Member Functions

 GridObject (Ogre::SceneManager *sceneManager, Ogre::SceneNode *parent=NULL)
 
virtual ~GridObject ()
 
virtual void setColor (const Ogre::ColourValue &color)
 
float cellSize () const
 
void setCellSize (float size)
 
int cellCountX () const
 
void setCellCountX (int count)
 
int cellCountY () const
 
void setCellCountY (int count)
 
void setCellCounts (int countX, int countY)
 set both with one call (shortcut, don't redraw inbetween) More...
 
void setCellCount (int count)
 for backward compatibility More...
 
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 setupGrid ()
 

Protected Attributes

Ogre::ManualObject * mManualObject
 
Ogre::ColourValue mColor
 
float mCellSize
 
int mCellCountX
 
int mCellCountY
 
Ogre::SceneManager * mSceneManager
 
Ogre::SceneNode * mNode
 

Constructor & Destructor Documentation

◆ GridObject()

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

◆ ~GridObject()

virtual ~GridObject ( )
virtual

Member Function Documentation

◆ setColor() [1/2]

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

Reimplemented from VisualizationObject.

◆ cellSize()

float cellSize ( ) const
inline

◆ setCellSize()

void setCellSize ( float  size)

◆ cellCountX()

int cellCountX ( ) const
inline

◆ setCellCountX()

void setCellCountX ( int  count)

◆ cellCountY()

int cellCountY ( ) const
inline

◆ setCellCountY()

void setCellCountY ( int  count)

◆ setCellCounts()

void setCellCounts ( int  countX,
int  countY 
)

set both with one call (shortcut, don't redraw inbetween)

◆ setCellCount()

void setCellCount ( int  count)
inline

for backward compatibility

◆ setupGrid()

void setupGrid ( )
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

◆ mManualObject

Ogre::ManualObject* mManualObject
protected

◆ mColor

Ogre::ColourValue mColor
protected

◆ mCellSize

float mCellSize
protected

◆ mCellCountX

int mCellCountX
protected

◆ mCellCountY

int mCellCountY
protected

◆ mSceneManager

Ogre::SceneManager* mSceneManager
protectedinherited

◆ mNode

Ogre::SceneNode* mNode
protectedinherited

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