SampleVisualizer.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 #include <visualization_msgs/Marker.h>
27 #include <visualization_msgs/MarkerArray.h>
28 
29 #include <Eigen/Core>
30 #include <Eigen/Geometry>
31 #include <Eigen/Eigenvalues>
32 
33 #include <tf/LinearMath/Vector3.h>
36 #include <tf/transform_datatypes.h>
37 
38 #include <opencv2/core/core.hpp>
39 #include <opencv2/highgui/highgui.hpp>
40 
41 #include <Pose.h>
42 #include <ISM/common_type/Pose.hpp>
43 
44 // Local includes3
46 
47 namespace Visualization
48 {
52  static const unsigned int VISUALIZATION_OFFSET = 1;
53 
61  {
62  public:
63 
68 
73 
80 
89  unsigned int& pMarkerId,
90  const std::vector<Eigen::Vector3d>& pSamples);
91 
100  unsigned int& pMarkerId,
101  const std::vector<Eigen::Vector3d>& pAbsoluteSample,
102  const std::vector<Eigen::Vector3d>& pAbsoluteParentSample);
103  private:
104 
112  visualization_msgs::Marker generateTrajectoryMarker(unsigned int& pMarkerId, const std::vector<Eigen::Vector3d>& pSamples);
113 
121  visualization_msgs::Marker generateArrowMessage(unsigned int& pMarkerId, Eigen::Vector3d pFrom, Eigen::Vector3d pTo);
122 
123  private:
124 
129  };
130 }
visualization_msgs::Marker generateTrajectoryMarker(unsigned int &pMarkerId, const std::vector< Eigen::Vector3d > &pSamples)
static const unsigned int VISUALIZATION_OFFSET
visualization_msgs::Marker generateArrowMessage(unsigned int &pMarkerId, Eigen::Vector3d pFrom, Eigen::Vector3d pTo)
boost::shared_ptr< ISM::Pose > mParentPose
void publishTrajectory(boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const std::vector< Eigen::Vector3d > &pSamples)
void setParentPose(boost::shared_ptr< ISM::Pose > pPose)


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