markers< T > Class Template Reference

#include <rviz_markers.h>

List of all members.

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
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)
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. :\

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 
) [inline]

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

Parameters:
[in] cloud_cluster pointer to the cluster
[in] ns string with the classification name
[in] id the marker ident
[in] r the r channel color
[in] g the g channel color
[in] b the 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 
) [inline]

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

Parameters:
[in] cloud_cluster the pointcloud input data points
[in] ns string with the classification name
[in] id the marker id
[in] rgb colors 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 
) [inline]

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_id string with the frame_id
[in] ns string with the classification name
[in] id the 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:
 All Classes Files Functions Variables Defines


pointcloud_segmentation
Author(s): Tiago Talhada
autogenerated on Wed Jul 23 04:33:32 2014