Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
jsk_rviz_plugins::CameraInfoDisplay Class Reference

#include <camera_info_display.h>

Inheritance diagram for jsk_rviz_plugins::CameraInfoDisplay:
Inheritance graph
[legend]

List of all members.

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 updateImageTopic ()
void updateNotShowSidePolygons ()
void updateShowEdges ()
void updateShowPolygons ()
void updateUseImage ()

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, std::string name, bool use_color, bool upper_triangle)
virtual void createCameraInfoShapes (const sensor_msgs::CameraInfo::ConstPtr &camera_info)
virtual void createTextureForBottom (int width, int height)
virtual void drawImageTexture ()
virtual void imageCallback (const sensor_msgs::Image::ConstPtr &msg)
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 ()
virtual void subscribeImage (std::string topic)
virtual void update (float wall_dt, float ros_dt)

Protected Attributes

double alpha_
rviz::FloatPropertyalpha_property_
Ogre::TexturePtr bottom_texture_
sensor_msgs::CameraInfo::ConstPtr camera_info_
QColor color_
rviz::ColorPropertycolor_property_
QColor edge_color_
rviz::ColorPropertyedge_color_property_
BillboardLinePtr edges_
double far_clip_distance_
rviz::FloatPropertyfar_clip_distance_property_
cv::Mat image_
ros::Subscriber image_sub_
rviz::RosTopicPropertyimage_topic_property_
bool image_updated_
Ogre::MaterialPtr material_
Ogre::MaterialPtr material_bottom_
boost::mutex mutex_
bool not_show_side_polygons_
rviz::BoolPropertynot_show_side_polygons_property_
std::vector< TrianglePolygon::Ptrpolygons_
bool show_edges_
rviz::BoolPropertyshow_edges_property_
bool show_polygons_
rviz::BoolPropertyshow_polygons_property_
Ogre::TexturePtr texture_
bool use_image_
rviz::BoolPropertyuse_image_property_

Detailed Description

Definition at line 80 of file camera_info_display.h.


Member Typedef Documentation

Definition at line 86 of file camera_info_display.h.

Definition at line 85 of file camera_info_display.h.


Constructor & Destructor Documentation

Definition at line 103 of file camera_info_display.cpp.

Definition at line 155 of file camera_info_display.cpp.


Member Function Documentation

void jsk_rviz_plugins::CameraInfoDisplay::addPointToEdge ( const cv::Point3d &  point) [protected, virtual]

Definition at line 253 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::addPolygon ( const cv::Point3d &  O,
const cv::Point3d &  A,
const cv::Point3d &  B,
std::string  name,
bool  use_color,
bool  upper_triangle 
) [protected, virtual]

Definition at line 263 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::createCameraInfoShapes ( const sensor_msgs::CameraInfo::ConstPtr &  camera_info) [protected, virtual]

Definition at line 415 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::createTextureForBottom ( int  width,
int  height 
) [protected, virtual]

Definition at line 278 of file camera_info_display.cpp.

Definition at line 357 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::imageCallback ( const sensor_msgs::Image::ConstPtr &  msg) [protected, virtual]

Definition at line 389 of file camera_info_display.cpp.

bool jsk_rviz_plugins::CameraInfoDisplay::isSameCameraInfo ( const sensor_msgs::CameraInfo::ConstPtr &  camera_info) [protected, virtual]

Definition at line 227 of file camera_info_display.cpp.

Definition at line 312 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::processMessage ( const sensor_msgs::CameraInfo::ConstPtr &  msg) [protected, virtual]

Definition at line 193 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::reset ( ) [protected, virtual]

Definition at line 345 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::update ( float  wall_dt,
float  ros_dt 
) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 215 of file camera_info_display.cpp.

Definition at line 527 of file camera_info_display.cpp.

Definition at line 511 of file camera_info_display.cpp.

Definition at line 519 of file camera_info_display.cpp.

Definition at line 535 of file camera_info_display.cpp.

Definition at line 559 of file camera_info_display.cpp.

Definition at line 572 of file camera_info_display.cpp.

Definition at line 551 of file camera_info_display.cpp.

Definition at line 543 of file camera_info_display.cpp.

Definition at line 567 of file camera_info_display.cpp.


Member Data Documentation

Definition at line 130 of file camera_info_display.h.

Definition at line 144 of file camera_info_display.h.

Definition at line 124 of file camera_info_display.h.

sensor_msgs::CameraInfo::ConstPtr jsk_rviz_plugins::CameraInfoDisplay::camera_info_ [protected]

Definition at line 120 of file camera_info_display.h.

Definition at line 132 of file camera_info_display.h.

Definition at line 145 of file camera_info_display.h.

Definition at line 133 of file camera_info_display.h.

Definition at line 146 of file camera_info_display.h.

Definition at line 119 of file camera_info_display.h.

Definition at line 131 of file camera_info_display.h.

Definition at line 143 of file camera_info_display.h.

Definition at line 139 of file camera_info_display.h.

Definition at line 125 of file camera_info_display.h.

Definition at line 150 of file camera_info_display.h.

Definition at line 137 of file camera_info_display.h.

Ogre::MaterialPtr jsk_rviz_plugins::CameraInfoDisplay::material_ [protected]

Definition at line 121 of file camera_info_display.h.

Definition at line 123 of file camera_info_display.h.

Definition at line 126 of file camera_info_display.h.

Definition at line 138 of file camera_info_display.h.

Definition at line 148 of file camera_info_display.h.

Definition at line 118 of file camera_info_display.h.

Definition at line 135 of file camera_info_display.h.

Definition at line 151 of file camera_info_display.h.

Definition at line 134 of file camera_info_display.h.

Definition at line 147 of file camera_info_display.h.

Ogre::TexturePtr jsk_rviz_plugins::CameraInfoDisplay::texture_ [protected]

Definition at line 122 of file camera_info_display.h.

Definition at line 136 of file camera_info_display.h.

Definition at line 149 of file camera_info_display.h.


The documentation for this class was generated from the following files:


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Sun Sep 13 2015 22:29:03