Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Visualization::AbstractExtendedVisualizer Class Reference

#include <AbstractExtendedVisualizer.h>

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

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
 

Detailed Description

An extended version of the abstract visualization helper class.

Author
Joachim Gehrung
Version
See SVN

Definition at line 39 of file AbstractExtendedVisualizer.h.

Constructor & Destructor Documentation

Visualization::AbstractExtendedVisualizer::AbstractExtendedVisualizer ( )

Constructor.

Definition at line 22 of file AbstractExtendedVisualizer.cpp.

Visualization::AbstractExtendedVisualizer::~AbstractExtendedVisualizer ( )
virtual

Destructor.

Definition at line 26 of file AbstractExtendedVisualizer.cpp.

Member Function Documentation

const std_msgs::ColorRGBA Visualization::AbstractExtendedVisualizer::getColor ( unsigned int  pNumber)
protected

Returns the three colors required in visualization.

Parameters
pNumberThe number of the color.
Returns
The three colors required in visualization.

Definition at line 57 of file AbstractExtendedVisualizer.cpp.

double Visualization::AbstractExtendedVisualizer::getScaleFactor ( )
protected

Returns the scale factor.

Returns
The factor to scale the visualization with.

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.

Parameters
pFirstColorThe color of the first ring.
pSecondColorThe color of the second ring.
pThirdColorThe color of the second ring.

Definition at line 30 of file AbstractExtendedVisualizer.cpp.

void Visualization::AbstractExtendedVisualizer::setScaleFactor ( const double  pScaleFactor)

Sets the visualization parameters.

Parameters
pScaleFactorFactor to scale the visualization with.

Definition at line 52 of file AbstractExtendedVisualizer.cpp.

Member Data Documentation

std::vector<std_msgs::ColorRGBA> Visualization::AbstractExtendedVisualizer::mColors
private

The colors of the three rings around the covariance ellipse.

Definition at line 97 of file AbstractExtendedVisualizer.h.

double Visualization::AbstractExtendedVisualizer::mScaleFactor
private

The factor to scale the visualization with.

Definition at line 92 of file AbstractExtendedVisualizer.h.


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