Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
jsk_rviz_plugins::CameraInfoDisplay Class Reference

#include <camera_info_display.h>

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

Public Types

typedef boost::shared_ptr< rviz::BillboardLineBillboardLinePtr
 
typedef boost::shared_ptr< rviz::ShapeShapePtr
 
- Public Types inherited from rviz::MessageFilterDisplay< sensor_msgs::CameraInfo >
typedef MessageFilterDisplay< sensor_msgs::CameraInfo > MFDClass
 

Public Member Functions

 CameraInfoDisplay ()
 
virtual ~CameraInfoDisplay ()
 
- Public Member Functions inherited from rviz::MessageFilterDisplay< sensor_msgs::CameraInfo >
 MessageFilterDisplay ()
 
virtual void setTopic (const QString &topic, const QString &datatype)
 
virtual ~MessageFilterDisplay ()
 
- Public Member Functions inherited from rviz::_RosTopicDisplay
 _RosTopicDisplay ()
 
- Public Member Functions inherited from rviz::Display
virtual void deleteStatus (const QString &name)
 
void deleteStatusStd (const std::string &name)
 
 Display ()
 
void emitTimeSignal (ros::Time time)
 
QWidget * getAssociatedWidget () const
 
PanelDockWidgetgetAssociatedWidgetPanel ()
 
virtual QString getClassId () const
 
Ogre::SceneNode * getSceneNode () const
 
virtual QVariant getViewData (int column, int role) const
 
virtual Qt::ItemFlags getViewFlags (int column) const
 
uint32_t getVisibilityBits ()
 
void initialize (DisplayContext *context)
 
bool isEnabled () const
 
virtual void load (const Config &config)
 
virtual void save (Config config) const
 
void setAssociatedWidget (QWidget *widget)
 
virtual void setClassId (const QString &class_id)
 
void setFixedFrame (const QString &fixed_frame)
 
void setName (const QString &name)
 
virtual void setStatus (StatusProperty::Level level, const QString &name, const QString &text)
 
void setStatusStd (StatusProperty::Level level, const std::string &name, const std::string &text)
 
void setVisibilityBits (uint32_t bits)
 
void unsetVisibilityBits (uint32_t bits)
 
virtual ~Display ()
 
- Public Member Functions inherited from rviz::BoolProperty
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
 
virtual bool getBool () const
 
virtual bool getDisableChildren ()
 
bool getDisableChildrenIfFalse ()
 
void setDisableChildrenIfFalse (bool disable)
 
virtual ~BoolProperty ()
 
- Public Member Functions inherited from rviz::Property
virtual void addChild (Property *child, int index=-1)
 
PropertychildAt (int index) const
 
virtual PropertychildAtUnchecked (int index) const
 
virtual void collapse ()
 
bool contains (Property *possible_child) const
 
virtual QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option)
 
virtual void expand ()
 
virtual QString getDescription () const
 
virtual bool getHidden () const
 
virtual QIcon getIcon () const
 
PropertyTreeModelgetModel () const
 
virtual QString getName () const
 
std::string getNameStd () const
 
PropertygetParent () const
 
virtual bool getReadOnly ()
 
virtual QVariant getValue () const
 
void hide ()
 
bool isAncestorOf (Property *possible_child) const
 
virtual void moveChild (int from_index, int to_index)
 
virtual int numChildren () const
 
virtual bool paint (QPainter *painter, const QStyleOptionViewItem &option) const
 
 Property (const QString &name=QString(), const QVariant default_value=QVariant(), const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
 
virtual void removeChildren (int start_index=0, int count=-1)
 
int rowNumberInParent () const
 
virtual void setDescription (const QString &description)
 
virtual void setHidden (bool hidden)
 
virtual void setIcon (const QIcon &icon)
 
void setModel (PropertyTreeModel *model)
 
void setParent (Property *new_parent)
 
virtual void setReadOnly (bool read_only)
 
void setShouldBeSaved (bool save)
 
virtual bool setValue (const QVariant &new_value)
 
bool shouldBeSaved () const
 
void show ()
 
virtual PropertysubProp (const QString &sub_name)
 
PropertytakeChild (Property *child)
 
virtual PropertytakeChildAt (int index)
 
virtual ~Property ()
 

Protected Slots

void updateAlpha ()
 
void updateColor ()
 
void updateEdgeColor ()
 
void updateFarClipDistance ()
 
void updateImageTopic ()
 
void updateNotShowSidePolygons ()
 
void updateShowEdges ()
 
void updateShowPolygons ()
 
void updateUseImage ()
 
- Protected Slots inherited from rviz::_RosTopicDisplay

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 Member Functions inherited from rviz::MessageFilterDisplay< sensor_msgs::CameraInfo >
virtual void fixedFrameChanged ()
 
void incomingMessage (const typename sensor_msgs::CameraInfo::ConstPtr &msg)
 
virtual void onDisable ()
 
virtual void onEnable ()
 
virtual void processMessage (const typename sensor_msgs::CameraInfo::ConstPtr &msg)=0
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual void updateTopic ()
 
- Protected Member Functions inherited from rviz::Display
virtual void clearStatuses ()
 
bool initialized () const
 
- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 

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_
 
- Protected Attributes inherited from rviz::MessageFilterDisplay< sensor_msgs::CameraInfo >
uint32_t messages_received_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > sub_
 
tf::MessageFilter< sensor_msgs::CameraInfo > * tf_filter_
 
- Protected Attributes inherited from rviz::_RosTopicDisplay
RosTopicPropertytopic_property_
 
BoolPropertyunreliable_property_
 
- Protected Attributes inherited from rviz::Display
DisplayContextcontext_
 
QString fixed_frame_
 
Ogre::SceneManager * scene_manager_
 
Ogre::SceneNode * scene_node_
 
ros::NodeHandle threaded_nh_
 
ros::NodeHandle update_nh_
 
- Protected Attributes inherited from rviz::Property
bool child_indexes_valid_
 
QIcon icon_
 
PropertyTreeModelmodel_
 
QVariant value_
 

Additional Inherited Members

- Public Slots inherited from rviz::Display
virtual void onEnableChanged ()
 
void queueRender ()
 
void setEnabled (bool enabled)
 
virtual void setIcon (const QIcon &icon)
 
- Public Slots inherited from rviz::BoolProperty
bool setBool (bool value)
 
- Signals inherited from rviz::Display
void timeSignal (rviz::Display *display, ros::Time time)
 
- Signals inherited from rviz::Property
void aboutToChange ()
 
void changed ()
 
void childListChanged (Property *this_property)
 

Detailed Description

Definition at line 90 of file camera_info_display.h.

Member Typedef Documentation

Definition at line 100 of file camera_info_display.h.

Definition at line 99 of file camera_info_display.h.

Constructor & Destructor Documentation

jsk_rviz_plugins::CameraInfoDisplay::CameraInfoDisplay ( )

Definition at line 104 of file camera_info_display.cpp.

jsk_rviz_plugins::CameraInfoDisplay::~CameraInfoDisplay ( )
virtual

Definition at line 163 of file camera_info_display.cpp.

Member Function Documentation

void jsk_rviz_plugins::CameraInfoDisplay::addPointToEdge ( const cv::Point3d &  point)
protectedvirtual

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 
)
protectedvirtual

Definition at line 271 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::createCameraInfoShapes ( const sensor_msgs::CameraInfo::ConstPtr &  camera_info)
protectedvirtual

Definition at line 429 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::createTextureForBottom ( int  width,
int  height 
)
protectedvirtual

Definition at line 286 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::drawImageTexture ( )
protectedvirtual

Definition at line 365 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::imageCallback ( const sensor_msgs::Image::ConstPtr &  msg)
protectedvirtual

Definition at line 403 of file camera_info_display.cpp.

bool jsk_rviz_plugins::CameraInfoDisplay::isSameCameraInfo ( const sensor_msgs::CameraInfo::ConstPtr &  camera_info)
protectedvirtual

Definition at line 235 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::onInitialize ( )
protectedvirtual
void jsk_rviz_plugins::CameraInfoDisplay::prepareMaterial ( )
protectedvirtual

Definition at line 319 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::processMessage ( const sensor_msgs::CameraInfo::ConstPtr &  msg)
protectedvirtual

Definition at line 201 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::reset ( )
protectedvirtual
void jsk_rviz_plugins::CameraInfoDisplay::subscribeImage ( std::string  topic)
protectedvirtual

Definition at line 352 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::update ( float  wall_dt,
float  ros_dt 
)
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 223 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateAlpha ( )
protectedslot

Definition at line 549 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateColor ( )
protectedslot

Definition at line 533 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateEdgeColor ( )
protectedslot

Definition at line 541 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateFarClipDistance ( )
protectedslot

Definition at line 557 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateImageTopic ( )
protectedslot

Definition at line 587 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateNotShowSidePolygons ( )
protectedslot

Definition at line 612 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateShowEdges ( )
protectedslot

Definition at line 579 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateShowPolygons ( )
protectedslot

Definition at line 565 of file camera_info_display.cpp.

void jsk_rviz_plugins::CameraInfoDisplay::updateUseImage ( )
protectedslot

Definition at line 599 of file camera_info_display.cpp.

Member Data Documentation

double jsk_rviz_plugins::CameraInfoDisplay::alpha_
protected

Definition at line 145 of file camera_info_display.h.

rviz::FloatProperty* jsk_rviz_plugins::CameraInfoDisplay::alpha_property_
protected

Definition at line 160 of file camera_info_display.h.

Ogre::TexturePtr jsk_rviz_plugins::CameraInfoDisplay::bottom_texture_
protected

Definition at line 139 of file camera_info_display.h.

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

Definition at line 135 of file camera_info_display.h.

QColor jsk_rviz_plugins::CameraInfoDisplay::color_
protected

Definition at line 147 of file camera_info_display.h.

rviz::ColorProperty* jsk_rviz_plugins::CameraInfoDisplay::color_property_
protected

Definition at line 161 of file camera_info_display.h.

QColor jsk_rviz_plugins::CameraInfoDisplay::edge_color_
protected

Definition at line 148 of file camera_info_display.h.

rviz::ColorProperty* jsk_rviz_plugins::CameraInfoDisplay::edge_color_property_
protected

Definition at line 162 of file camera_info_display.h.

BillboardLinePtr jsk_rviz_plugins::CameraInfoDisplay::edges_
protected

Definition at line 134 of file camera_info_display.h.

double jsk_rviz_plugins::CameraInfoDisplay::far_clip_distance_
protected

Definition at line 146 of file camera_info_display.h.

rviz::FloatProperty* jsk_rviz_plugins::CameraInfoDisplay::far_clip_distance_property_
protected

Definition at line 159 of file camera_info_display.h.

cv::Mat jsk_rviz_plugins::CameraInfoDisplay::image_
protected

Definition at line 154 of file camera_info_display.h.

image_transport::Subscriber jsk_rviz_plugins::CameraInfoDisplay::image_sub_
protected

Definition at line 140 of file camera_info_display.h.

rviz::RosTopicProperty* jsk_rviz_plugins::CameraInfoDisplay::image_topic_property_
protected

Definition at line 166 of file camera_info_display.h.

ImageTransportHintsProperty* jsk_rviz_plugins::CameraInfoDisplay::image_transport_hints_property_
protected

Definition at line 158 of file camera_info_display.h.

bool jsk_rviz_plugins::CameraInfoDisplay::image_updated_
protected

Definition at line 152 of file camera_info_display.h.

Ogre::MaterialPtr jsk_rviz_plugins::CameraInfoDisplay::material_
protected

Definition at line 136 of file camera_info_display.h.

Ogre::MaterialPtr jsk_rviz_plugins::CameraInfoDisplay::material_bottom_
protected

Definition at line 138 of file camera_info_display.h.

boost::mutex jsk_rviz_plugins::CameraInfoDisplay::mutex_
protected

Definition at line 141 of file camera_info_display.h.

bool jsk_rviz_plugins::CameraInfoDisplay::not_show_side_polygons_
protected

Definition at line 153 of file camera_info_display.h.

rviz::BoolProperty* jsk_rviz_plugins::CameraInfoDisplay::not_show_side_polygons_property_
protected

Definition at line 164 of file camera_info_display.h.

std::vector<TrianglePolygon::Ptr> jsk_rviz_plugins::CameraInfoDisplay::polygons_
protected

Definition at line 133 of file camera_info_display.h.

bool jsk_rviz_plugins::CameraInfoDisplay::show_edges_
protected

Definition at line 150 of file camera_info_display.h.

rviz::BoolProperty* jsk_rviz_plugins::CameraInfoDisplay::show_edges_property_
protected

Definition at line 167 of file camera_info_display.h.

bool jsk_rviz_plugins::CameraInfoDisplay::show_polygons_
protected

Definition at line 149 of file camera_info_display.h.

rviz::BoolProperty* jsk_rviz_plugins::CameraInfoDisplay::show_polygons_property_
protected

Definition at line 163 of file camera_info_display.h.

Ogre::TexturePtr jsk_rviz_plugins::CameraInfoDisplay::texture_
protected

Definition at line 137 of file camera_info_display.h.

bool jsk_rviz_plugins::CameraInfoDisplay::use_image_
protected

Definition at line 151 of file camera_info_display.h.

rviz::BoolProperty* jsk_rviz_plugins::CameraInfoDisplay::use_image_property_
protected

Definition at line 165 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 Sat Mar 20 2021 03:03:18