Go to the documentation of this file.
30 #ifndef MAPVIZ_PLUGINS_DISPARITY_PLUGIN_H_
31 #define MAPVIZ_PLUGINS_DISPARITY_PLUGIN_H_
48 #include <opencv2/highgui.hpp>
50 #include <stereo_msgs/DisparityImage.h>
56 #include "ui_disparity_config.h"
84 void Draw(
double x,
double y,
double scale);
88 void LoadConfig(
const YAML::Node& node,
const std::string& path);
89 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
95 void PrintInfo(
const std::string& message);
146 #endif // MAPVIZ_PLUGINS_DISPARITY_PLUGIN_H_
void disparityCallback(const stereo_msgs::DisparityImageConstPtr &image)
void PrintInfo(const std::string &message)
void SetSubscription(bool visible)
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
void SetAnchor(QString anchor)
void LoadConfig(const YAML::Node &node, const std::string &path)
std::string UnitsToString(Units units)
const static unsigned char COLOR_MAP[]
ros::Subscriber disparity_sub_
void SetUnits(QString units)
cv::Mat_< cv::Vec3b > disparity_color_
void SetOffsetY(int offset)
QWidget * GetConfigWidget(QWidget *parent)
void ScaleImage(double width, double height)
stereo_msgs::DisparityImage disparity_
virtual ~DisparityPlugin()
void PrintError(const std::string &message)
void Draw(double x, double y, double scale)
std::string AnchorToString(Anchor anchor)
void SetHeight(int height)
bool Initialize(QGLWidget *canvas)
void PrintWarning(const std::string &message)
void SetOffsetX(int offset)
void DrawIplImage(cv::Mat *image)
mapviz_plugins
Author(s): Marc Alban
autogenerated on Sun Sep 8 2024 02:27:14