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 std::shared_ptr
< rviz::BillboardLine
BillboardLinePtr
typedef std::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_
image_transport::Subscriber image_sub_
rviz::RosTopicPropertyimage_topic_property_
ImageTransportHintsPropertyimage_transport_hints_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 85 of file camera_info_display.h.


Member Typedef Documentation

Definition at line 91 of file camera_info_display.h.

Definition at line 90 of file camera_info_display.h.


Constructor & Destructor Documentation

Definition at line 104 of file camera_info_display.cpp.

Definition at line 163 of file camera_info_display.cpp.


Member Function Documentation

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

Definition at line 261 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 271 of file camera_info_display.cpp.

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

Definition at line 429 of file camera_info_display.cpp.

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

Definition at line 286 of file camera_info_display.cpp.

Definition at line 365 of file camera_info_display.cpp.

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

Definition at line 403 of file camera_info_display.cpp.

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

Definition at line 235 of file camera_info_display.cpp.

Definition at line 319 of file camera_info_display.cpp.

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

Definition at line 201 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::reset ( ) [protected, virtual]
void jsk_rviz_plugins::CameraInfoDisplay::subscribeImage ( std::string  topic) [protected, virtual]

Definition at line 352 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 223 of file camera_info_display.cpp.

Definition at line 549 of file camera_info_display.cpp.

Definition at line 533 of file camera_info_display.cpp.

Definition at line 541 of file camera_info_display.cpp.

Definition at line 557 of file camera_info_display.cpp.

Definition at line 587 of file camera_info_display.cpp.

Definition at line 612 of file camera_info_display.cpp.

Definition at line 579 of file camera_info_display.cpp.

Definition at line 565 of file camera_info_display.cpp.

Definition at line 599 of file camera_info_display.cpp.


Member Data Documentation

Definition at line 135 of file camera_info_display.h.

Definition at line 150 of file camera_info_display.h.

Definition at line 129 of file camera_info_display.h.

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

Definition at line 125 of file camera_info_display.h.

Definition at line 137 of file camera_info_display.h.

Definition at line 151 of file camera_info_display.h.

Definition at line 138 of file camera_info_display.h.

Definition at line 152 of file camera_info_display.h.

Definition at line 124 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.

Definition at line 144 of file camera_info_display.h.

Definition at line 130 of file camera_info_display.h.

Definition at line 156 of file camera_info_display.h.

Definition at line 148 of file camera_info_display.h.

Definition at line 142 of file camera_info_display.h.

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

Definition at line 126 of file camera_info_display.h.

Definition at line 128 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 154 of file camera_info_display.h.

Definition at line 123 of file camera_info_display.h.

Definition at line 140 of file camera_info_display.h.

Definition at line 157 of file camera_info_display.h.

Definition at line 139 of file camera_info_display.h.

Definition at line 153 of file camera_info_display.h.

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

Definition at line 127 of file camera_info_display.h.

Definition at line 141 of file camera_info_display.h.

Definition at line 155 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 Wed May 1 2019 02:40:22