Public Member Functions | Private Member Functions | Private Attributes | List of all members
VIZ::VoteVisualizerRVIZ Class Reference

#include <vote_visualizer_rviz.hpp>

Inheritance diagram for VIZ::VoteVisualizerRVIZ:
Inheritance graph
[legend]

Public Member Functions

void addVisualization (const std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr >> &object_to_votes)
 
 VoteVisualizerRVIZ (ros::Publisher publisher, std::string base_frame, std::string prefix, double marker_lifetime)
 
- Public Member Functions inherited from VIZ::VisualizerRVIZ
void clearAllMarkerOfTopic ()
 
void publishCollectedMarkers ()
 
 VisualizerRVIZ (const ros::Publisher &publisher)
 

Private Member Functions

visualization_msgs::MarkerArray generateVoteMarkers (const std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr >> &object_to_votes)
 

Private Attributes

std::string base_frame_
 
double marker_lifetime_
 
std::string prefix_
 

Additional Inherited Members

- Protected Member Functions inherited from VIZ::VisualizerRVIZ
void addMarker (visualization_msgs::Marker marker)
 
void addMarker (visualization_msgs::MarkerArray markers)
 
void publishMarkers ()
 

Detailed Description

Definition at line 28 of file vote_visualizer_rviz.hpp.

Constructor & Destructor Documentation

VIZ::VoteVisualizerRVIZ::VoteVisualizerRVIZ ( ros::Publisher  publisher,
std::string  base_frame,
std::string  prefix,
double  marker_lifetime 
)
inline

Definition at line 33 of file vote_visualizer_rviz.hpp.

Member Function Documentation

void VIZ::VoteVisualizerRVIZ::addVisualization ( const std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr >> &  object_to_votes)

Manages generation and publication of marker for vote visualization.

Parameters
object_to_votesObjects and the corresponding votes.

Definition at line 26 of file vote_visualizer_rviz.cpp.

visualization_msgs::MarkerArray VIZ::VoteVisualizerRVIZ::generateVoteMarkers ( const std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr >> &  object_to_votes)
private

Generates markers for vote visualization.

Parameters
object_to_votesObjects and the corresponding votes.

Definition at line 34 of file vote_visualizer_rviz.cpp.

Member Data Documentation

std::string VIZ::VoteVisualizerRVIZ::base_frame_
private

Definition at line 55 of file vote_visualizer_rviz.hpp.

double VIZ::VoteVisualizerRVIZ::marker_lifetime_
private

Definition at line 57 of file vote_visualizer_rviz.hpp.

std::string VIZ::VoteVisualizerRVIZ::prefix_
private

Definition at line 56 of file vote_visualizer_rviz.hpp.


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


asr_ism_visualizations
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Meißner Pascal, Reckling Reno, Stöckle Patrick, Trautmann Jeremias
autogenerated on Fri Nov 8 2019 03:28:47