MIRA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TrajectoryFamilyVisualizationBase< Trajectory > Class Template Referenceabstract

#include <gui/TrajectoryFamilyVisualization.h>

Inheritance diagram for TrajectoryFamilyVisualizationBase< Trajectory >:
Inheritance graph
[legend]

Public Member Functions

 TrajectoryFamilyVisualizationBase (Visualization3D *visualization)
 
virtual ~TrajectoryFamilyVisualizationBase ()
 
template<typename Reflector >
void reflect (Reflector &r)
 

Protected Member Functions

void drawFamily (const std::vector< Trajectory > &f)
 
virtual Ogre::ColourValue getColor (const Trajectory &t)=0
 overwrite in subclass to determine color More...
 
void markTrajectory (LineStripObject *line, const Trajectory &t, const Ogre::ColourValue &color, const Ogre::ColourValue &color2)
 
virtual void displayData (const Trajectory &t)
 overwrite this in subclass to show different/additional data More...
 
void setupScene (Ogre::SceneManager *mgr, Ogre::SceneNode *node, std::string name)
 
void renderTrajectory (const robot::PoseVelocityTrajectory &t, const Ogre::ColourValue &color)
 
void redraw ()
 
virtual void drawLast ()=0
 overwrite in subclass to call drawFamily() with current data More...
 

Protected Attributes

bool mHideAll
 
bool mHideNotReachable
 
bool mHideNotAdmissible
 
float mZOffset
 
float mEndPointMarkerSize
 
bool mHighlightBest
 
Ogre::ManualObject * mManualObject
 
HighlightProperty mHighlight
 
LineStripObjectmHighlightedTrajectory
 
TextObjectmText
 
Visualization3DmVisualization
 

Constructor & Destructor Documentation

◆ TrajectoryFamilyVisualizationBase()

◆ ~TrajectoryFamilyVisualizationBase()

virtual ~TrajectoryFamilyVisualizationBase ( )
inlinevirtual

Member Function Documentation

◆ drawFamily()

void drawFamily ( const std::vector< Trajectory > &  f)
protected

◆ getColor()

virtual Ogre::ColourValue getColor ( const Trajectory &  t)
protectedpure virtual

overwrite in subclass to determine color

◆ markTrajectory()

void markTrajectory ( LineStripObject line,
const Trajectory &  t,
const Ogre::ColourValue &  color,
const Ogre::ColourValue &  color2 
)
protected

◆ displayData()

void displayData ( const Trajectory &  t)
protectedvirtual

overwrite this in subclass to show different/additional data

◆ reflect()

void reflect ( Reflector &  r)
inlineinherited

◆ setupScene()

void setupScene ( Ogre::SceneManager *  mgr,
Ogre::SceneNode *  node,
std::string  name 
)
protectedinherited

◆ renderTrajectory()

void renderTrajectory ( const robot::PoseVelocityTrajectory t,
const Ogre::ColourValue &  color 
)
protectedinherited

◆ redraw()

void redraw ( )
inlineprotectedinherited

◆ drawLast()

virtual void drawLast ( )
protectedpure virtualinherited

overwrite in subclass to call drawFamily() with current data

Member Data Documentation

◆ mHideAll

bool mHideAll
protectedinherited

◆ mHideNotReachable

bool mHideNotReachable
protectedinherited

◆ mHideNotAdmissible

bool mHideNotAdmissible
protectedinherited

◆ mZOffset

float mZOffset
protectedinherited

◆ mEndPointMarkerSize

float mEndPointMarkerSize
protectedinherited

◆ mHighlightBest

bool mHighlightBest
protectedinherited

◆ mManualObject

Ogre::ManualObject* mManualObject
protectedinherited

◆ mHighlight

HighlightProperty mHighlight
protectedinherited

◆ mHighlightedTrajectory

LineStripObject* mHighlightedTrajectory
protectedinherited

◆ mText

TextObject* mText
protectedinherited

◆ mVisualization

Visualization3D* mVisualization
protectedinherited

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