KinematicChainVisualizer.h
Go to the documentation of this file.
1 
18 # pragma once
19 
20 // Global includes
21 #include <map>
22 #include <vector>
23 
24 // Package includes
25 #include <ros/ros.h>
26 
27 #include <visualization_msgs/Marker.h>
28 #include <visualization_msgs/MarkerArray.h>
29 
30 #include <Eigen/Core>
31 #include <Eigen/Geometry>
32 #include <Eigen/Eigenvalues>
33 
34 #include <Pose.h>
35 #include <ISM/common_type/Pose.hpp>
36 
37 // Local includes
39 
40 namespace Visualization
41 {
49  {
50  public:
51 
56 
61 
71  unsigned int& pMarkerId,
72  const boost::shared_ptr<ISM::Pose> pPose,
73  double pQualityOfMatch);
74 
83  unsigned int& pMarkerId,
84  const boost::shared_ptr<ISM::Pose> pPose);
85 
96  unsigned int& pMarkerId,
97  const boost::shared_ptr<ISM::Pose> pPose,
98  std::vector<double> pScores,
99  double pQualityOfMatch);
100 
111  unsigned int& pMarkerId,
112  const Eigen::Vector3d pFrom,
113  const Eigen::Vector3d pTo,
114  double pQualityOfMatch);
115 
121  void setBestStatus(bool pStatus);
122 
123  private:
124 
132  visualization_msgs::Marker generatePointMessage(unsigned int& pMarkerId,
133  const Eigen::Vector3d pPosition);
134 
146  visualization_msgs::Marker generateArrowMessage(unsigned int& pMarkerId,
147  const Eigen::Vector3d pFrom,
148  const Eigen::Vector3d pTo,
149  double pQualityOfMatch,
150  double pScalePeak,
151  double pScaleShaft,
152  double pPeakLength);
153 
162  visualization_msgs::Marker generatePerpendicularArrowMessage(unsigned int& pMarkerId,
163  const boost::shared_ptr<ISM::Pose> pPose,
164  double pQualityOfMatch, double pLength);
165 
175  visualization_msgs::Marker generateTermIndicatorMessage(unsigned int& pMarkerId,
176  const boost::shared_ptr<ISM::Pose> pPose,
177  double pOffset,
178  double pScore);
179 
180  private:
181 
186  };
187 }
void publishObjectPositionAsPoint(boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const boost::shared_ptr< ISM::Pose > pPose)
visualization_msgs::Marker generateArrowMessage(unsigned int &pMarkerId, const Eigen::Vector3d pFrom, const Eigen::Vector3d pTo, double pQualityOfMatch, double pScalePeak, double pScaleShaft, double pPeakLength)
void publishLink(boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const Eigen::Vector3d pFrom, const Eigen::Vector3d pTo, double pQualityOfMatch)
visualization_msgs::Marker generateTermIndicatorMessage(unsigned int &pMarkerId, const boost::shared_ptr< ISM::Pose > pPose, double pOffset, double pScore)
void publishObjectPositionAsPointWithScore(boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const boost::shared_ptr< ISM::Pose > pPose, std::vector< double > pScores, double pQualityOfMatch)
visualization_msgs::Marker generatePointMessage(unsigned int &pMarkerId, const Eigen::Vector3d pPosition)
visualization_msgs::Marker generatePerpendicularArrowMessage(unsigned int &pMarkerId, const boost::shared_ptr< ISM::Pose > pPose, double pQualityOfMatch, double pLength)
void publishObjectPositionAsArrow(boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const boost::shared_ptr< ISM::Pose > pPose, double pQualityOfMatch)


asr_psm_visualizations
Author(s): Gehrung Joachim, Meißner Pascal
autogenerated on Sat Nov 9 2019 03:49:13