BayesVisualization.h
Go to the documentation of this file.
1 
18 #include <vector>
19 
20 #include <ros/ros.h>
21 
22 #include <Eigen/Core>
23 #include <Eigen/Geometry>
24 #include <Eigen/Eigenvalues>
25 
26 #include <tf/transform_listener.h>
27 
28 #include <visualization_msgs/Marker.h>
29 #include <visualization_msgs/MarkerArray.h>
30 
31 namespace Visualization {
32  static const int ID_GAUSSIAN = 10;
33 
35  private:
39 
40  public:
43 
44  // visualizes a point cloud
45  void drawSamples(std::vector<Eigen::Vector3d> samples);
46 
47  // draws a 3D gaussian distribution with given mean and covariance
48  void drawDistribution(Eigen::Vector3d mean, Eigen::Matrix3d covariance);
49 
50  // draws a 3D gaussian distribution over the given points
51  void drawDistribution(std::vector<Eigen::Vector3d> samples);
52 
53  // draws an arrow between two points
54  visualization_msgs::Marker createArrowMarker(const Eigen::Vector3d a, const Eigen::Vector3d b);
55 
56  // creates a geometry message for the given point
57  geometry_msgs::Point createPointMessage(Eigen::Vector3d point);
58  };
59 }
geometry_msgs::Point createPointMessage(Eigen::Vector3d point)
void drawSamples(std::vector< Eigen::Vector3d > samples)
visualization_msgs::Marker createArrowMarker(const Eigen::Vector3d a, const Eigen::Vector3d b)
static const int ID_GAUSSIAN
void drawDistribution(Eigen::Vector3d mean, Eigen::Matrix3d covariance)


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