Public Member Functions | List of all members
markers< T > Class Template Reference

#include <rviz_markers.h>

Public Member Functions

visualization_msgs::Marker mark (typename PointCloud< T >::Ptr cloud_cluster, string ns, int id, float r, float g, float b)
 function to estimate a marker arround the cluster to show on rviz More...
 
visualization_msgs::Marker mark_text (typename PointCloud< T >::Ptr cloud_cluster, string ns, int id, float r, float g, float b)
 function to create a marker with some text info about a pointcloud (cluster) More...
 
visualization_msgs::Marker unmark (std::string frame_id, std::string ns, int id)
 function to estimate a marker arround the cluster to show on rviz This function will set a marker very far away and very small. This was the way i find to automatically delete a marker. :\ More...
 

Detailed Description

template<class T>
class markers< T >

Definition at line 48 of file rviz_markers.h.

Member Function Documentation

template<class T >
visualization_msgs::Marker markers< T >::mark ( typename PointCloud< T >::Ptr  cloud_cluster,
string  ns,
int  id,
float  r,
float  g,
float  b 
)

function to estimate a marker arround the cluster to show on rviz

Parameters
[in]cloud_clusterpointer to the cluster
[in]nsstring with the classification name
[in]idthe marker ident
[in]rthe r channel color
[in]gthe g channel color
[in]bthe b channel color
Returns
marker the marker to publish

Definition at line 83 of file rviz_markers.hpp.

template<class T >
visualization_msgs::Marker markers< T >::mark_text ( typename PointCloud< T >::Ptr  cloud_cluster,
string  ns,
int  id,
float  r,
float  g,
float  b 
)

function to create a marker with some text info about a pointcloud (cluster)

Parameters
[in]cloud_clusterthe pointcloud input data points
[in]nsstring with the classification name
[in]idthe marker id
[in]rgbcolors for text
Returns
marker the marker to publish

Definition at line 135 of file rviz_markers.hpp.

template<class T >
visualization_msgs::Marker markers< T >::unmark ( std::string  frame_id,
std::string  ns,
int  id 
)

function to estimate a marker arround the cluster to show on rviz This function will set a marker very far away and very small. This was the way i find to automatically delete a marker. :\

Parameters
[in]frame_idstring with the frame_id
[in]nsstring with the classification name
[in]idthe marker ident
Returns
marker the marker to publish

Definition at line 49 of file rviz_markers.hpp.


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


pointcloud_segmentation
Author(s): Tiago Talhada
autogenerated on Mon Mar 2 2015 01:32:39