$search

ShapeVisualization Class Reference

#include <shape_visualization.h>

List of all members.

Public Member Functions

void applyModifications (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 Feedback callback for Apply map modifications menu entry.
void displayAllCentroids (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 Feedback callback for All Centroids Controls menu entry.
void displayAllContours (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 Feedback callback for All Contours Controls menu entry.
void displayAllNormals (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 Feedback callback for All Normals Controls menu entry.
void moreOptions ()
 creats a text for applying controls on all of the markers
void optionMenu ()
 Create menu entries for the text.
void resetAll (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 Feedback callback for Reset all Controls menu entry.
void setShapePosition (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 Callback for feedback subscriber for getting the transformation of moved markers.
void shapeArrayCallback (const cob_3d_mapping_msgs::ShapeArrayPtr &sa)
 Callback for shape array messages.
 ShapeVisualization ()
 ~ShapeVisualization ()

Protected Attributes

Eigen::Affine3f affineInit
int ctr_for_shape_indexes
std::vector< unsigned int > deleted_markers_indices_
ros::Subscriber feedback_sub_
boost::shared_ptr
< interactive_markers::InteractiveMarkerServer
im_server_
std::vector< unsigned int > interacted_shapes_
ros::Publisher marker_pub_
interactive_markers::MenuHandler menu_handler_for_text_
cob_3d_mapping_msgs::ShapeArray modified_shapes_
std::vector< unsigned int > moved_shapes_indices_
ros::NodeHandle nh_
Eigen::Vector3f oldCentroid
Eigen::Quaternionf quatInit
cob_3d_mapping_msgs::ShapeArray sha
ros::Subscriber shape_array_sub_
Eigen::Matrix4f transInit
Eigen::Matrix4f transInitInv
std::vector< boost::shared_ptr
< ShapeMarker > > 
v_sm_

Detailed Description

Definition at line 86 of file shape_visualization.h.


Constructor & Destructor Documentation

ShapeVisualization::ShapeVisualization (  ) 

Definition at line 73 of file shape_visualization.cpp.

ShapeVisualization::~ShapeVisualization (  )  [inline]

void

Definition at line 92 of file shape_visualization.h.


Member Function Documentation

void ShapeVisualization::applyModifications ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr feedback  ) 

Feedback callback for Apply map modifications menu entry.

Parameters:
[in] feedback feedback from rviz when the Apply map modifications menu entry of the text is changed

Definition at line 260 of file shape_visualization.cpp.

void ShapeVisualization::displayAllCentroids ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr feedback  ) 

Feedback callback for All Centroids Controls menu entry.

Parameters:
feedback feedback from rviz when the All Centroids menu entry of the text is changed

Definition at line 476 of file shape_visualization.cpp.

void ShapeVisualization::displayAllContours ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr feedback  ) 

Feedback callback for All Contours Controls menu entry.

Parameters:
feedback feedback from rviz when the All Contours menu entry of the text is changed

Definition at line 507 of file shape_visualization.cpp.

void ShapeVisualization::displayAllNormals ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr feedback  ) 

Feedback callback for All Normals Controls menu entry.

Parameters:
feedback feedback from rviz when the All Normals menu entry of the text is changed

Definition at line 447 of file shape_visualization.cpp.

void ShapeVisualization::moreOptions (  ) 

creats a text for applying controls on all of the markers

Definition at line 395 of file shape_visualization.cpp.

void ShapeVisualization::optionMenu (  ) 

Create menu entries for the text.

Definition at line 536 of file shape_visualization.cpp.

void ShapeVisualization::resetAll ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr feedback  ) 

Feedback callback for Reset all Controls menu entry.

Parameters:
[in] feedback feedback from rviz when the Reset all Controls menu entry of the text is changed

Definition at line 335 of file shape_visualization.cpp.

void ShapeVisualization::setShapePosition ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr feedback  ) 

Callback for feedback subscriber for getting the transformation of moved markers.

Parameters:
[in] feedback subscribed from geometry_map/map/feedback

Definition at line 84 of file shape_visualization.cpp.

void ShapeVisualization::shapeArrayCallback ( const cob_3d_mapping_msgs::ShapeArrayPtr sa  ) 

Callback for shape array messages.

Parameters:
sa received shape array message

Definition at line 566 of file shape_visualization.cpp.


Member Data Documentation

Eigen::Affine3f ShapeVisualization::affineInit [protected]

Definition at line 167 of file shape_visualization.h.

Definition at line 156 of file shape_visualization.h.

std::vector<unsigned int> ShapeVisualization::deleted_markers_indices_ [protected]

Definition at line 159 of file shape_visualization.h.

Definition at line 150 of file shape_visualization.h.

Definition at line 174 of file shape_visualization.h.

std::vector<unsigned int> ShapeVisualization::interacted_shapes_ [protected]

Definition at line 158 of file shape_visualization.h.

Definition at line 151 of file shape_visualization.h.

Definition at line 154 of file shape_visualization.h.

Definition at line 160 of file shape_visualization.h.

std::vector<unsigned int> ShapeVisualization::moved_shapes_indices_ [protected]

Definition at line 157 of file shape_visualization.h.

Definition at line 147 of file shape_visualization.h.

Eigen::Vector3f ShapeVisualization::oldCentroid [protected]

Definition at line 165 of file shape_visualization.h.

Eigen::Quaternionf ShapeVisualization::quatInit [protected]

Definition at line 164 of file shape_visualization.h.

Definition at line 153 of file shape_visualization.h.

Definition at line 149 of file shape_visualization.h.

Eigen::Matrix4f ShapeVisualization::transInit [protected]

Definition at line 166 of file shape_visualization.h.

Eigen::Matrix4f ShapeVisualization::transInitInv [protected]

Definition at line 168 of file shape_visualization.h.

std::vector<boost::shared_ptr<ShapeMarker> > ShapeVisualization::v_sm_ [protected]

Definition at line 152 of file shape_visualization.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


cob_3d_visualization
Author(s): Georg Arbeiter
autogenerated on Fri Mar 1 15:56:22 2013