#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 | |
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. :\ |
Definition at line 48 of file rviz_markers.h.
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
[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 |
Definition at line 83 of file rviz_markers.hpp.
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)
[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 |
Definition at line 135 of file rviz_markers.hpp.
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. :\
[in] | frame_id | string with the frame_id |
[in] | ns | string with the classification name |
[in] | id | the marker ident |
Definition at line 49 of file rviz_markers.hpp.