Public Member Functions | Protected Attributes
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
std::vector< unsigned int > contour_ids_
int ctr_for_shape_indexes
std::vector< unsigned int > deleted_markers_indices_
ros::Subscriber feedback_sub_
std::string frame_id_
boost::shared_ptr
< interactive_markers::InteractiveMarkerServer
im_server_
std::vector< unsigned int > interacted_shapes_
std::vector< unsigned int > marker_ids_
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_
bool show_contours_
Eigen::Matrix4f transInit
Eigen::Matrix4f transInitInv
std::vector< boost::shared_ptr
< ShapeMarker > > 
v_sm_

Detailed Description

Definition at line 91 of file shape_visualization.h.


Constructor & Destructor Documentation

Definition at line 79 of file shape_visualization.cpp.

void

Definition at line 97 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]feedbackfeedback from rviz when the Apply map modifications menu entry of the text is changed

Definition at line 271 of file shape_visualization.cpp.

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

Feedback callback for All Centroids Controls menu entry.

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

Definition at line 487 of file shape_visualization.cpp.

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

Feedback callback for All Contours Controls menu entry.

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

Definition at line 518 of file shape_visualization.cpp.

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

Feedback callback for All Normals Controls menu entry.

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

Definition at line 458 of file shape_visualization.cpp.

creats a text for applying controls on all of the markers

Definition at line 406 of file shape_visualization.cpp.

Create menu entries for the text.

Definition at line 547 of file shape_visualization.cpp.

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

Feedback callback for Reset all Controls menu entry.

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

Definition at line 346 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]feedbacksubscribed from geometry_map/map/feedback

Definition at line 96 of file shape_visualization.cpp.

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

Callback for shape array messages.

Parameters:
sareceived shape array message

Definition at line 577 of file shape_visualization.cpp.


Member Data Documentation

Eigen::Affine3f ShapeVisualization::affineInit [protected]

Definition at line 176 of file shape_visualization.h.

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

Definition at line 168 of file shape_visualization.h.

Definition at line 161 of file shape_visualization.h.

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

Definition at line 164 of file shape_visualization.h.

Definition at line 155 of file shape_visualization.h.

std::string ShapeVisualization::frame_id_ [protected]

Definition at line 166 of file shape_visualization.h.

Definition at line 183 of file shape_visualization.h.

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

Definition at line 163 of file shape_visualization.h.

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

Definition at line 167 of file shape_visualization.h.

Definition at line 156 of file shape_visualization.h.

Definition at line 159 of file shape_visualization.h.

cob_3d_mapping_msgs::ShapeArray ShapeVisualization::modified_shapes_ [protected]

Definition at line 165 of file shape_visualization.h.

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

Definition at line 162 of file shape_visualization.h.

Definition at line 152 of file shape_visualization.h.

Eigen::Vector3f ShapeVisualization::oldCentroid [protected]

Definition at line 174 of file shape_visualization.h.

Eigen::Quaternionf ShapeVisualization::quatInit [protected]

Definition at line 173 of file shape_visualization.h.

cob_3d_mapping_msgs::ShapeArray ShapeVisualization::sha [protected]

Definition at line 158 of file shape_visualization.h.

Definition at line 154 of file shape_visualization.h.

Definition at line 169 of file shape_visualization.h.

Eigen::Matrix4f ShapeVisualization::transInit [protected]

Definition at line 175 of file shape_visualization.h.

Eigen::Matrix4f ShapeVisualization::transInitInv [protected]

Definition at line 177 of file shape_visualization.h.

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

Definition at line 157 of file shape_visualization.h.


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


cob_3d_visualization
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:04:11