26 #include <visualization_msgs/Marker.h> 27 #include <visualization_msgs/MarkerArray.h> 30 #include <Eigen/Geometry> 31 #include <Eigen/Eigenvalues> 38 #include <opencv2/core/core.hpp> 39 #include <opencv2/highgui/highgui.hpp> 42 #include <ISM/common_type/Pose.hpp> 92 unsigned int& pMarkerId,
93 const Eigen::Vector3d& pMean,
94 const Eigen::Matrix3d& pCovariance);
114 visualization_msgs::Marker
generateAxis(
const unsigned int pMarkerId,
115 const unsigned int pAxis,
116 const Eigen::Vector3d& pMean,
117 const Eigen::Matrix3d& pCovariance);
126 void calculateCoordinatePlaneEllipses(
const std::vector<int>& pEllipsoidHalfAxes,
const int pDiscretizationResolution, std::vector<std::vector<std::vector<int> > >& pEllipsePolygons);
140 const int pMarkerShape,
141 const std::vector<std::vector<float> >& pWireFramePolygons,
142 const std_msgs::ColorRGBA& pColor,
143 const Eigen::Vector3d& pMean,
144 const Eigen::Matrix3d& pCovariance);
162 visualization_msgs::Marker
generateArrowMessage(
unsigned int& pMarkerId, Eigen::Vector3d pFrom, Eigen::Vector3d pTo);
179 template <
class T>
void stlVectorToPointMsg(
const std::vector<T> pPositionVector, geometry_msgs::Point& pROSPositionMsg);
float mSigmaMultiplicator
void calculateCoordinatePlaneEllipses(const std::vector< int > &pEllipsoidHalfAxes, const int pDiscretizationResolution, std::vector< std::vector< std::vector< int > > > &pEllipsePolygons)
visualization_msgs::Marker generateArrowMessage(unsigned int &pMarkerId, Eigen::Vector3d pFrom, Eigen::Vector3d pTo)
void setSigmaMultiplicator(const float pSigmaMultiplicator)
void setParentPose(boost::shared_ptr< ISM::Pose > pPose)
GaussianKernelVisualizer()
float getSigmaMultiplicator()
~GaussianKernelVisualizer()
visualization_msgs::MarkerArray generateSamplesMarker(const unsigned int pMarkerId, const std::vector< boost::shared_ptr< Eigen::Quaternion< double > > > &pSamples)
boost::shared_ptr< ISM::Pose > mParentPose
visualization_msgs::Marker generateSphereMessage(unsigned int &pMarkerId, Eigen::Vector3d pPos)
void publishKernel(boost::shared_ptr< ros::Publisher > pPublisher, unsigned int &pMarkerId, const Eigen::Vector3d &pMean, const Eigen::Matrix3d &pCovariance)
visualization_msgs::Marker generateAxis(const unsigned int pMarkerId, const unsigned int pAxis, const Eigen::Vector3d &pMean, const Eigen::Matrix3d &pCovariance)
visualization_msgs::Marker generateCovarianceEllipsoidMarker(const unsigned int pMarkerId, const int pMarkerShape, const std::vector< std::vector< float > > &pWireFramePolygons, const std_msgs::ColorRGBA &pColor, const Eigen::Vector3d &pMean, const Eigen::Matrix3d &pCovariance)
void stlVectorToPointMsg(const std::vector< T > pPositionVector, geometry_msgs::Point &pROSPositionMsg)