Public Member Functions | Private Member Functions | List of all members
Visualization::CoordinateFrameVisualizer Class Reference

#include <CoordinateFrameVisualizer.h>

Inheritance diagram for Visualization::CoordinateFrameVisualizer:
Inheritance graph
[legend]

Public Member Functions

 CoordinateFrameVisualizer ()
 
void publishFrame (boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const boost::shared_ptr< ISM::Pose > pPose, double pSize)
 
 ~CoordinateFrameVisualizer ()
 
- Public Member Functions inherited from Visualization::AbstractVisualizer
 AbstractVisualizer ()
 
void setFrameId (std::string pFrameId)
 
void setNamespace (std::string pNamespace)
 
virtual ~AbstractVisualizer ()
 

Private Member Functions

visualization_msgs::Marker generateAxis (const unsigned int pMarkerId, const unsigned int pAxis, const boost::shared_ptr< ISM::Pose > pPose, double pSize)
 

Additional Inherited Members

- Protected Member Functions inherited from Visualization::AbstractVisualizer
std::string getFrameId ()
 
std::string getNamespace ()
 

Detailed Description

Visualizer class for primary scenes objects.

Author
Joachim Gehrung
Version
See SVN

Definition at line 48 of file CoordinateFrameVisualizer.h.

Constructor & Destructor Documentation

Visualization::CoordinateFrameVisualizer::CoordinateFrameVisualizer ( )

Constructor.

Definition at line 22 of file CoordinateFrameVisualizer.cpp.

Visualization::CoordinateFrameVisualizer::~CoordinateFrameVisualizer ( )

Destructor.

Definition at line 27 of file CoordinateFrameVisualizer.cpp.

Member Function Documentation

visualization_msgs::Marker Visualization::CoordinateFrameVisualizer::generateAxis ( const unsigned int  pMarkerId,
const unsigned int  pAxis,
const boost::shared_ptr< ISM::Pose pPose,
double  pSize 
)
private

Generates the visualization message that contains the coordinate system base vectors of the covariance ellipse.

Parameters
pMarkerIdAn unique id for the marker. Any marker sent with the same id will overwrite the old one.
pAxisThe number of the axis that the message should be created for.
pPoseThe last known pose of the associated object.
pSizeA factor describing the size of the frame.
Returns
A marker array holding the visualization messages.

Definition at line 55 of file CoordinateFrameVisualizer.cpp.

void Visualization::CoordinateFrameVisualizer::publishFrame ( boost::shared_ptr< ros::Publisher pPublisher,
unsigned int &  pMarkerId,
const boost::shared_ptr< ISM::Pose pPose,
double  pSize 
)

Publishes a coordinate with the given position and orientation.

Parameters
pPublisherFor publishing the visualization message.
pMarkerIdServes as unique id for the marker. Any marker sent with the same id will overwrite the old one.
pPoseThe pose of the frame.
pSizeA factor describing the size of the frame.

Definition at line 31 of file CoordinateFrameVisualizer.cpp.


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


asr_psm_visualizations
Author(s): Gehrung Joachim, Meißner Pascal
autogenerated on Sat Nov 9 2019 03:49:13