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

Visualization of covariances for AxesObject. More...

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

Public Member Functions

 AxesCovObject (Ogre::SceneManager *sceneManager, AxesObject *axesObject)
 Creates a new AxesCovObject that is tightly linked to the specified axes object. More...
 
void setVisible (bool visible)
 
bool isVisible () const
 
void setSigma (float sigma)
 
float getSigma () const
 
AxesObjectaxesObject ()
 
const AxesObjectaxesObject () const
 
void setCovariance (float var)
 Set the variance and update the uncertainty visualization. More...
 
void setCovariance (const Eigen::Matrix3f &cov)
 Set the covariance and update the uncertainty visualization. More...
 

Protected Attributes

AxesObjectmAxesObject
 
bool mVisible
 
float mSigma
 
boost::shared_ptr< MeshObjectmCovRotX
 
boost::shared_ptr< MeshObjectmCovRotY
 
boost::shared_ptr< MeshObjectmCovRotZ
 

Detailed Description

Visualization of covariances for AxesObject.

Constructor & Destructor Documentation

◆ AxesCovObject()

AxesCovObject ( Ogre::SceneManager *  sceneManager,
AxesObject axesObject 
)

Creates a new AxesCovObject that is tightly linked to the specified axes object.

Its created scene nodes are added as child nodes to the AxesObject node.

Parameters
sceneManager
axesObject

Member Function Documentation

◆ setVisible()

void setVisible ( bool  visible)

◆ isVisible()

bool isVisible ( ) const
inline

◆ setSigma()

void setSigma ( float  sigma)

◆ getSigma()

float getSigma ( ) const
inline

◆ axesObject() [1/2]

AxesObject* axesObject ( )
inline

◆ axesObject() [2/2]

const AxesObject* axesObject ( ) const
inline

◆ setCovariance() [1/2]

void setCovariance ( float  var)

Set the variance and update the uncertainty visualization.

2D case: single variance for orientation.

◆ setCovariance() [2/2]

void setCovariance ( const Eigen::Matrix3f &  cov)

Set the covariance and update the uncertainty visualization.

3D case: covariance of all 3 orientations.

Member Data Documentation

◆ mAxesObject

AxesObject* mAxesObject
protected

◆ mVisible

bool mVisible
protected

◆ mSigma

float mSigma
protected

◆ mCovRotX

boost::shared_ptr<MeshObject> mCovRotX
protected

◆ mCovRotY

boost::shared_ptr<MeshObject> mCovRotY
protected

◆ mCovRotZ

boost::shared_ptr<MeshObject> mCovRotZ
protected

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