#include <camera_info_display.h>
Public Types | |
typedef boost::shared_ptr < rviz::BillboardLine > | BillboardLinePtr |
typedef boost::shared_ptr < rviz::Shape > | ShapePtr |
Public Member Functions | |
CameraInfoDisplay () | |
virtual | ~CameraInfoDisplay () |
Protected Slots | |
void | updateAlpha () |
void | updateColor () |
void | updateEdgeColor () |
void | updateFarClipDistance () |
void | updateShowPolygons () |
Protected Member Functions | |
virtual void | addPointToEdge (const cv::Point3d &point) |
virtual void | addPolygon (const cv::Point3d &O, const cv::Point3d &A, const cv::Point3d &B) |
virtual void | createCameraInfoShapes (const sensor_msgs::CameraInfo::ConstPtr &camera_info) |
virtual bool | isSameCameraInfo (const sensor_msgs::CameraInfo::ConstPtr &camera_info) |
virtual void | onInitialize () |
virtual void | prepareMaterial () |
virtual void | processMessage (const sensor_msgs::CameraInfo::ConstPtr &msg) |
virtual void | reset () |
Protected Attributes | |
double | alpha_ |
rviz::FloatProperty * | alpha_property_ |
sensor_msgs::CameraInfo::ConstPtr | camera_info_ |
QColor | color_ |
rviz::ColorProperty * | color_property_ |
QColor | edge_color_ |
rviz::ColorProperty * | edge_color_property_ |
BillboardLinePtr | edges_ |
double | far_clip_distance_ |
rviz::FloatProperty * | far_clip_distance_property_ |
Ogre::MaterialPtr | material_ |
std::vector< TrianglePolygon::Ptr > | polygons_ |
bool | show_polygons_ |
rviz::BoolProperty * | show_polygons_property_ |
Ogre::TexturePtr | texture_ |
Definition at line 74 of file camera_info_display.h.
typedef boost::shared_ptr<rviz::BillboardLine> jsk_rviz_plugin::CameraInfoDisplay::BillboardLinePtr |
Definition at line 80 of file camera_info_display.h.
typedef boost::shared_ptr<rviz::Shape> jsk_rviz_plugin::CameraInfoDisplay::ShapePtr |
Definition at line 79 of file camera_info_display.h.
Definition at line 77 of file camera_info_display.cpp.
jsk_rviz_plugin::CameraInfoDisplay::~CameraInfoDisplay | ( | ) | [virtual] |
Definition at line 109 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::addPointToEdge | ( | const cv::Point3d & | point | ) | [protected, virtual] |
Definition at line 191 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::addPolygon | ( | const cv::Point3d & | O, |
const cv::Point3d & | A, | ||
const cv::Point3d & | B | ||
) | [protected, virtual] |
Definition at line 201 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::createCameraInfoShapes | ( | const sensor_msgs::CameraInfo::ConstPtr & | camera_info | ) | [protected, virtual] |
Definition at line 248 of file camera_info_display.cpp.
bool jsk_rviz_plugin::CameraInfoDisplay::isSameCameraInfo | ( | const sensor_msgs::CameraInfo::ConstPtr & | camera_info | ) | [protected, virtual] |
Definition at line 165 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::CameraInfo >.
Definition at line 132 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::prepareMaterial | ( | ) | [protected, virtual] |
Definition at line 214 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::processMessage | ( | const sensor_msgs::CameraInfo::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 143 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::reset | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< sensor_msgs::CameraInfo >.
Definition at line 122 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::updateAlpha | ( | ) | [protected, slot] |
Definition at line 351 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::updateColor | ( | ) | [protected, slot] |
Definition at line 335 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::updateEdgeColor | ( | ) | [protected, slot] |
Definition at line 343 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::updateFarClipDistance | ( | ) | [protected, slot] |
Definition at line 359 of file camera_info_display.cpp.
void jsk_rviz_plugin::CameraInfoDisplay::updateShowPolygons | ( | ) | [protected, slot] |
Definition at line 367 of file camera_info_display.cpp.
double jsk_rviz_plugin::CameraInfoDisplay::alpha_ [protected] |
Definition at line 115 of file camera_info_display.h.
Definition at line 125 of file camera_info_display.h.
sensor_msgs::CameraInfo::ConstPtr jsk_rviz_plugin::CameraInfoDisplay::camera_info_ [protected] |
Definition at line 108 of file camera_info_display.h.
QColor jsk_rviz_plugin::CameraInfoDisplay::color_ [protected] |
Definition at line 117 of file camera_info_display.h.
Definition at line 126 of file camera_info_display.h.
QColor jsk_rviz_plugin::CameraInfoDisplay::edge_color_ [protected] |
Definition at line 118 of file camera_info_display.h.
Definition at line 127 of file camera_info_display.h.
Definition at line 107 of file camera_info_display.h.
double jsk_rviz_plugin::CameraInfoDisplay::far_clip_distance_ [protected] |
Definition at line 116 of file camera_info_display.h.
Definition at line 124 of file camera_info_display.h.
Ogre::MaterialPtr jsk_rviz_plugin::CameraInfoDisplay::material_ [protected] |
Definition at line 109 of file camera_info_display.h.
Definition at line 106 of file camera_info_display.h.
bool jsk_rviz_plugin::CameraInfoDisplay::show_polygons_ [protected] |
Definition at line 119 of file camera_info_display.h.
Definition at line 128 of file camera_info_display.h.
Ogre::TexturePtr jsk_rviz_plugin::CameraInfoDisplay::texture_ [protected] |
Definition at line 110 of file camera_info_display.h.