#include <CoordinateFrameVisualizer.h>

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 () |
Visualizer class for primary scenes objects.
Definition at line 48 of file CoordinateFrameVisualizer.h.
| Visualization::CoordinateFrameVisualizer::CoordinateFrameVisualizer | ( | ) |
Constructor.
Definition at line 22 of file CoordinateFrameVisualizer.cpp.
| Visualization::CoordinateFrameVisualizer::~CoordinateFrameVisualizer | ( | ) |
Destructor.
Definition at line 27 of file CoordinateFrameVisualizer.cpp.
|
private |
Generates the visualization message that contains the coordinate system base vectors of the covariance ellipse.
| pMarkerId | An unique id for the marker. Any marker sent with the same id will overwrite the old one. |
| pAxis | The number of the axis that the message should be created for. |
| pPose | The last known pose of the associated object. |
| pSize | A factor describing the size of the frame. |
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.
| pPublisher | For publishing the visualization message. |
| pMarkerId | Serves as unique id for the marker. Any marker sent with the same id will overwrite the old one. |
| pPose | The pose of the frame. |
| pSize | A factor describing the size of the frame. |
Definition at line 31 of file CoordinateFrameVisualizer.cpp.