Public Member Functions | Private Member Functions | Private Attributes | List of all members
VIZ::ISMResultVisualizerRVIZ Class Reference

#include <ism_result_visualizer_rviz.hpp>

Inheritance diagram for VIZ::ISMResultVisualizerRVIZ:
Inheritance graph
[legend]

Public Member Functions

void addVisualization (const ISM::RecognitionResultPtr recognition_result)
 
void dynamicReconfCallback (asr_ism_visualizations::ism_result_visualizerConfig &config, uint32_t level)
 
 ISMResultVisualizerRVIZ (const ros::Publisher &publisher, const ros::NodeHandle &nh)
 
void setSceneCount (int scene_count)
 
 ~ISMResultVisualizerRVIZ ()
 
- Public Member Functions inherited from VIZ::VisualizerRVIZ
void clearAllMarkerOfTopic ()
 
void publishCollectedMarkers ()
 
 VisualizerRVIZ (const ros::Publisher &publisher)
 

Private Member Functions

ISM::PosePtr calculateCylinderPose (const ISM::PosePtr from_pose_ptr, const ISM::PointPtr to_point_ptr, double height)
 
ISM::QuaternionPtr calculateOrientation (ISM::PointPtr from_point_ptr, ISM::PointPtr to_point_ptr, bool pose_relative=false)
 
visualization_msgs::MarkerArray genTestMarker ()
 
ISM::PosePtr getAdjustedPose (ISM::PosePtr pose, int depth, bool is_child)
 Helper method to translate a point. So we can see the tree depth objects residing in trough their corresponding marker. More...
 
visualization_msgs::MarkerArray getMarkersFromResult (const ISM::RecognitionResultPtr result)
 
std::vector< ISM::RecognitionResultPtr > traverseTree (ISM::RecognitionResultPtr result, int depth)
 

Private Attributes

std::string base_frame_
 
std::map< std::string, std::pair< ISM::PosePtr, double > > cylinder_map_
 
bool ignore_z_offset_
 
bool is_pose_relative_
 
double ism_marker_scale_
 
std::map< std::string, VIZ::ColorRGBAism_to_color_map_
 
std::map< std::string, int > ism_to_depth_map_
 
std::map< std::string, ISM::PosePtr > ism_to_parent_ism_map_
 
ISM::PointPtr last_ref_pose_
 
double line_scale_
 
double marker_lifetime_
 
dynamic_reconfigure::Server< asr_ism_visualizations::ism_result_visualizerConfig > * reconfigure_server_
 
ISM::PosePtr ref_pose_
 
int scene_count_
 
int scene_iterator_
 
double tree_depth_size_
 
bool use_scene_coloring_
 
bool use_z_max_
 
double z_offset_
 

Additional Inherited Members

- Protected Member Functions inherited from VIZ::VisualizerRVIZ
void addMarker (visualization_msgs::Marker marker)
 
void addMarker (visualization_msgs::MarkerArray markers)
 
void publishMarkers ()
 

Detailed Description

Definition at line 31 of file ism_result_visualizer_rviz.hpp.

Constructor & Destructor Documentation

VIZ::ISMResultVisualizerRVIZ::ISMResultVisualizerRVIZ ( const ros::Publisher publisher,
const ros::NodeHandle nh 
)
inline

Definition at line 35 of file ism_result_visualizer_rviz.hpp.

VIZ::ISMResultVisualizerRVIZ::~ISMResultVisualizerRVIZ ( )
inline

Definition at line 41 of file ism_result_visualizer_rviz.hpp.

Member Function Documentation

void VIZ::ISMResultVisualizerRVIZ::addVisualization ( const ISM::RecognitionResultPtr  recognition_result)

Definition at line 38 of file ism_result_visualizer_rviz.cpp.

ISM::PosePtr VIZ::ISMResultVisualizerRVIZ::calculateCylinderPose ( const ISM::PosePtr  from_pose_ptr,
const ISM::PointPtr  to_point_ptr,
double  height 
)
private

Definition at line 181 of file ism_result_visualizer_rviz.cpp.

ISM::QuaternionPtr VIZ::ISMResultVisualizerRVIZ::calculateOrientation ( ISM::PointPtr  from_point_ptr,
ISM::PointPtr  to_point_ptr,
bool  pose_relative = false 
)
private

Definition at line 193 of file ism_result_visualizer_rviz.cpp.

void VIZ::ISMResultVisualizerRVIZ::dynamicReconfCallback ( asr_ism_visualizations::ism_result_visualizerConfig &  config,
uint32_t  level 
)
inline

Definition at line 47 of file ism_result_visualizer_rviz.hpp.

visualization_msgs::MarkerArray VIZ::ISMResultVisualizerRVIZ::genTestMarker ( )
private

Definition at line 47 of file ism_result_visualizer_rviz.cpp.

ISM::PosePtr VIZ::ISMResultVisualizerRVIZ::getAdjustedPose ( ISM::PosePtr  pose,
int  depth,
bool  is_child 
)
private

Helper method to translate a point. So we can see the tree depth objects residing in trough their corresponding marker.

Definition at line 240 of file ism_result_visualizer_rviz.cpp.

visualization_msgs::MarkerArray VIZ::ISMResultVisualizerRVIZ::getMarkersFromResult ( const ISM::RecognitionResultPtr  result)
private

Definition at line 60 of file ism_result_visualizer_rviz.cpp.

void VIZ::ISMResultVisualizerRVIZ::setSceneCount ( int  scene_count)
inline

Definition at line 61 of file ism_result_visualizer_rviz.hpp.

std::vector< ISM::RecognitionResultPtr > VIZ::ISMResultVisualizerRVIZ::traverseTree ( ISM::RecognitionResultPtr  result,
int  depth 
)
private

Definition at line 221 of file ism_result_visualizer_rviz.cpp.

Member Data Documentation

std::string VIZ::ISMResultVisualizerRVIZ::base_frame_
private

Definition at line 88 of file ism_result_visualizer_rviz.hpp.

std::map<std::string, std::pair<ISM::PosePtr, double> > VIZ::ISMResultVisualizerRVIZ::cylinder_map_
private

Definition at line 94 of file ism_result_visualizer_rviz.hpp.

bool VIZ::ISMResultVisualizerRVIZ::ignore_z_offset_
private

Definition at line 84 of file ism_result_visualizer_rviz.hpp.

bool VIZ::ISMResultVisualizerRVIZ::is_pose_relative_
private

Definition at line 83 of file ism_result_visualizer_rviz.hpp.

double VIZ::ISMResultVisualizerRVIZ::ism_marker_scale_
private

Definition at line 87 of file ism_result_visualizer_rviz.hpp.

std::map<std::string, VIZ::ColorRGBA> VIZ::ISMResultVisualizerRVIZ::ism_to_color_map_
private

Definition at line 93 of file ism_result_visualizer_rviz.hpp.

std::map<std::string, int> VIZ::ISMResultVisualizerRVIZ::ism_to_depth_map_
private

Definition at line 91 of file ism_result_visualizer_rviz.hpp.

std::map<std::string, ISM::PosePtr> VIZ::ISMResultVisualizerRVIZ::ism_to_parent_ism_map_
private

Definition at line 92 of file ism_result_visualizer_rviz.hpp.

ISM::PointPtr VIZ::ISMResultVisualizerRVIZ::last_ref_pose_
private

Definition at line 103 of file ism_result_visualizer_rviz.hpp.

double VIZ::ISMResultVisualizerRVIZ::line_scale_
private

Definition at line 86 of file ism_result_visualizer_rviz.hpp.

double VIZ::ISMResultVisualizerRVIZ::marker_lifetime_
private

Definition at line 89 of file ism_result_visualizer_rviz.hpp.

dynamic_reconfigure::Server<asr_ism_visualizations::ism_result_visualizerConfig>* VIZ::ISMResultVisualizerRVIZ::reconfigure_server_
private

Definition at line 105 of file ism_result_visualizer_rviz.hpp.

ISM::PosePtr VIZ::ISMResultVisualizerRVIZ::ref_pose_
private

Definition at line 102 of file ism_result_visualizer_rviz.hpp.

int VIZ::ISMResultVisualizerRVIZ::scene_count_
private

Definition at line 99 of file ism_result_visualizer_rviz.hpp.

int VIZ::ISMResultVisualizerRVIZ::scene_iterator_
private

Definition at line 100 of file ism_result_visualizer_rviz.hpp.

double VIZ::ISMResultVisualizerRVIZ::tree_depth_size_
private

Definition at line 85 of file ism_result_visualizer_rviz.hpp.

bool VIZ::ISMResultVisualizerRVIZ::use_scene_coloring_
private

Definition at line 98 of file ism_result_visualizer_rviz.hpp.

bool VIZ::ISMResultVisualizerRVIZ::use_z_max_
private

Definition at line 97 of file ism_result_visualizer_rviz.hpp.

double VIZ::ISMResultVisualizerRVIZ::z_offset_
private

Definition at line 96 of file ism_result_visualizer_rviz.hpp.


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


asr_ism_visualizations
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Meißner Pascal, Reckling Reno, Stöckle Patrick, Trautmann Jeremias
autogenerated on Fri Nov 8 2019 03:28:47