#include <ProbabilisticSceneVisualization.h>
Public Member Functions | |
void | appendVisualizer (boost::shared_ptr< ProbabilisticPrimarySceneObjectVisualization > pVisualizer) |
void | drawInInferenceMode () |
void | drawInLearningMode () |
void | drawInLearningTrajectoryMode () |
void | drawInTargetingMode () |
ProbabilisticSceneVisualization (std::string pScene) | |
void | setDrawingParameters (const double pScale, const float pSigmaMultiplicator, const std::string pFrameId) |
~ProbabilisticSceneVisualization () | |
Private Attributes | |
std::string | mScene |
std::vector< boost::shared_ptr< ProbabilisticPrimarySceneObjectVisualization > > | mSceneObjectVisualizers |
Visualizer class for probabilistic scenes.
Definition at line 49 of file ProbabilisticSceneVisualization.h.
Visualization::ProbabilisticSceneVisualization::ProbabilisticSceneVisualization | ( | std::string | pScene | ) |
Constructor.
pScene | The name of the scene that should be visualized. |
Definition at line 22 of file ProbabilisticSceneVisualization.cpp.
Visualization::ProbabilisticSceneVisualization::~ProbabilisticSceneVisualization | ( | ) |
Destructor.
Definition at line 27 of file ProbabilisticSceneVisualization.cpp.
void Visualization::ProbabilisticSceneVisualization::appendVisualizer | ( | boost::shared_ptr< ProbabilisticPrimarySceneObjectVisualization > | pVisualizer | ) |
Appends a scene object visualizer.
pVisualizer | The scene object visualizer to append. |
Definition at line 31 of file ProbabilisticSceneVisualization.cpp.
void Visualization::ProbabilisticSceneVisualization::drawInInferenceMode | ( | ) |
Draws the kinematic chain for the best scoring hypothesis regarding the assignment of evidence to the slots. A chain for every primary scene object for every scene will be visualized in a separate topic. One ring color implies the primary scene object, the other the secondary scene object.
Definition at line 67 of file ProbabilisticSceneVisualization.cpp.
void Visualization::ProbabilisticSceneVisualization::drawInLearningMode | ( | ) |
Draws all the object trajectories used for learning and the learned distributions.
Definition at line 95 of file ProbabilisticSceneVisualization.cpp.
void Visualization::ProbabilisticSceneVisualization::drawInLearningTrajectoryMode | ( | ) |
Draws the object trajectories used for learning.
Definition at line 120 of file ProbabilisticSceneVisualization.cpp.
void Visualization::ProbabilisticSceneVisualization::drawInTargetingMode | ( | ) |
Draws every primary scene object in a distinct coordinate frame. One ring color implies the primary scene object, the other the secondary scene object. Each primary scene object will be visualized in the specified coordinate frame but in an unique topic, formatted like /scene/sceneobject.
Definition at line 42 of file ProbabilisticSceneVisualization.cpp.
void Visualization::ProbabilisticSceneVisualization::setDrawingParameters | ( | const double | pScale, |
const float | pSigmaMultiplicator, | ||
const std::string | pFrameId | ||
) |
Sets the parameter requried for visualizing the secondary scene object.
pScale | Factor to multiply the kernel with. |
pSigmaMultiplicator | Scaling factor for the size of the visualized covariance ellipsoid. |
pFrameId | The name of the coordinate frame that should be drawn into. |
Definition at line 36 of file ProbabilisticSceneVisualization.cpp.
|
private |
The name of the scene that should be visualized.
Definition at line 106 of file ProbabilisticSceneVisualization.h.
|
private |
A list of visualizers for all scene objects.
Definition at line 111 of file ProbabilisticSceneVisualization.h.