#include <AbstractExtendedVisualizer.h>
Public Member Functions | |
AbstractExtendedVisualizer () | |
void | setColors (const std_msgs::ColorRGBA &pFirstColor, const std_msgs::ColorRGBA &pSecondColor, const std_msgs::ColorRGBA &pThirdColor) |
void | setScaleFactor (const double pScaleFactor) |
virtual | ~AbstractExtendedVisualizer () |
Public Member Functions inherited from Visualization::AbstractVisualizer | |
AbstractVisualizer () | |
void | setFrameId (std::string pFrameId) |
void | setNamespace (std::string pNamespace) |
virtual | ~AbstractVisualizer () |
Protected Member Functions | |
const std_msgs::ColorRGBA | getColor (unsigned int pNumber) |
double | getScaleFactor () |
Protected Member Functions inherited from Visualization::AbstractVisualizer | |
std::string | getFrameId () |
std::string | getNamespace () |
Private Attributes | |
std::vector< std_msgs::ColorRGBA > | mColors |
double | mScaleFactor |
An extended version of the abstract visualization helper class.
Definition at line 39 of file AbstractExtendedVisualizer.h.
Visualization::AbstractExtendedVisualizer::AbstractExtendedVisualizer | ( | ) |
Constructor.
Definition at line 22 of file AbstractExtendedVisualizer.cpp.
|
virtual |
Destructor.
Definition at line 26 of file AbstractExtendedVisualizer.cpp.
|
protected |
Returns the three colors required in visualization.
pNumber | The number of the color. |
Definition at line 57 of file AbstractExtendedVisualizer.cpp.
|
protected |
Returns the scale factor.
Definition at line 65 of file AbstractExtendedVisualizer.cpp.
void Visualization::AbstractExtendedVisualizer::setColors | ( | const std_msgs::ColorRGBA & | pFirstColor, |
const std_msgs::ColorRGBA & | pSecondColor, | ||
const std_msgs::ColorRGBA & | pThirdColor | ||
) |
Sets the three colors required in visualization.
pFirstColor | The color of the first ring. |
pSecondColor | The color of the second ring. |
pThirdColor | The color of the second ring. |
Definition at line 30 of file AbstractExtendedVisualizer.cpp.
void Visualization::AbstractExtendedVisualizer::setScaleFactor | ( | const double | pScaleFactor | ) |
Sets the visualization parameters.
pScaleFactor | Factor to scale the visualization with. |
Definition at line 52 of file AbstractExtendedVisualizer.cpp.
|
private |
The colors of the three rings around the covariance ellipse.
Definition at line 97 of file AbstractExtendedVisualizer.h.
|
private |
The factor to scale the visualization with.
Definition at line 92 of file AbstractExtendedVisualizer.h.