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 ()
 
void onInitialize () override
 
void reset () override
 
void setTopic (const QString &topic, const QString &) override
 
 ~MessageFilterDisplay () override
 
- 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
 
QVariant getViewData (int column, int role) const override
 
Qt::ItemFlags getViewFlags (int column) const override
 
uint32_t getVisibilityBits ()
 
void initialize (DisplayContext *context)
 
bool isEnabled () const
 
void load (const Config &config) override
 
void save (Config config) const override
 
void setAssociatedWidget (QWidget *widget)
 
virtual void setClassId (const QString &class_id)
 
void setFixedFrame (const QString &fixed_frame)
 
void setName (const QString &name) override
 
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)
 
 ~Display () override
 
- Public Member Functions inherited from rviz::BoolProperty
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
 
virtual bool getBool () const
 
bool getDisableChildren () override
 
bool getDisableChildrenIfFalse ()
 
void setDisableChildrenIfFalse (bool disable)
 
 ~BoolProperty () override
 
- 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 ()
 
void insertChildSorted (Property *child)
 
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=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
 
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)
 
 ~Property () override
 

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 >
void fixedFrameChanged () override
 
void incomingMessage (const typename sensor_msgs::CameraInfo ::ConstPtr &msg)
 
void onDisable () override
 
void onEnable () override
 
virtual void processMessage (const typename sensor_msgs::CameraInfo ::ConstPtr &msg)=0
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
void updateTopic () override
 
- 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_
 
tf2_ros::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)
 
void setIcon (const QIcon &icon) override
 
- Public Slots inherited from rviz::BoolProperty
bool setBool (bool value)
 
- Signals inherited from rviz::Display
void timeSignal (ros::Time time, QPrivateSignal)
 
- 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

◆ BillboardLinePtr

Definition at line 100 of file camera_info_display.h.

◆ ShapePtr

Definition at line 99 of file camera_info_display.h.

Constructor & Destructor Documentation

◆ CameraInfoDisplay()

jsk_rviz_plugins::CameraInfoDisplay::CameraInfoDisplay ( )

Definition at line 107 of file camera_info_display.cpp.

◆ ~CameraInfoDisplay()

jsk_rviz_plugins::CameraInfoDisplay::~CameraInfoDisplay ( )
virtual

Definition at line 166 of file camera_info_display.cpp.

Member Function Documentation

◆ addPointToEdge()

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

Definition at line 272 of file camera_info_display.cpp.

◆ addPolygon()

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 282 of file camera_info_display.cpp.

◆ createCameraInfoShapes()

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

Definition at line 496 of file camera_info_display.cpp.

◆ createTextureForBottom()

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

Definition at line 297 of file camera_info_display.cpp.

◆ drawImageTexture()

void jsk_rviz_plugins::CameraInfoDisplay::drawImageTexture ( )
protectedvirtual

Definition at line 376 of file camera_info_display.cpp.

◆ imageCallback()

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

Definition at line 414 of file camera_info_display.cpp.

◆ isSameCameraInfo()

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

Definition at line 242 of file camera_info_display.cpp.

◆ onInitialize()

void jsk_rviz_plugins::CameraInfoDisplay::onInitialize ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 189 of file camera_info_display.cpp.

◆ prepareMaterial()

void jsk_rviz_plugins::CameraInfoDisplay::prepareMaterial ( )
protectedvirtual

Definition at line 330 of file camera_info_display.cpp.

◆ processMessage()

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

Definition at line 204 of file camera_info_display.cpp.

◆ reset()

void jsk_rviz_plugins::CameraInfoDisplay::reset ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 179 of file camera_info_display.cpp.

◆ subscribeImage()

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

Definition at line 363 of file camera_info_display.cpp.

◆ update()

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

Reimplemented from rviz::Display.

Definition at line 230 of file camera_info_display.cpp.

◆ updateAlpha

void jsk_rviz_plugins::CameraInfoDisplay::updateAlpha ( )
protectedslot

Definition at line 625 of file camera_info_display.cpp.

◆ updateColor

void jsk_rviz_plugins::CameraInfoDisplay::updateColor ( )
protectedslot

Definition at line 609 of file camera_info_display.cpp.

◆ updateEdgeColor

void jsk_rviz_plugins::CameraInfoDisplay::updateEdgeColor ( )
protectedslot

Definition at line 617 of file camera_info_display.cpp.

◆ updateFarClipDistance

void jsk_rviz_plugins::CameraInfoDisplay::updateFarClipDistance ( )
protectedslot

Definition at line 633 of file camera_info_display.cpp.

◆ updateImageTopic

void jsk_rviz_plugins::CameraInfoDisplay::updateImageTopic ( )
protectedslot

Definition at line 663 of file camera_info_display.cpp.

◆ updateNotShowSidePolygons

void jsk_rviz_plugins::CameraInfoDisplay::updateNotShowSidePolygons ( )
protectedslot

Definition at line 688 of file camera_info_display.cpp.

◆ updateShowEdges

void jsk_rviz_plugins::CameraInfoDisplay::updateShowEdges ( )
protectedslot

Definition at line 655 of file camera_info_display.cpp.

◆ updateShowPolygons

void jsk_rviz_plugins::CameraInfoDisplay::updateShowPolygons ( )
protectedslot

Definition at line 641 of file camera_info_display.cpp.

◆ updateUseImage

void jsk_rviz_plugins::CameraInfoDisplay::updateUseImage ( )
protectedslot

Definition at line 675 of file camera_info_display.cpp.

Member Data Documentation

◆ alpha_

double jsk_rviz_plugins::CameraInfoDisplay::alpha_
protected

Definition at line 145 of file camera_info_display.h.

◆ alpha_property_

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

Definition at line 160 of file camera_info_display.h.

◆ bottom_texture_

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

Definition at line 139 of file camera_info_display.h.

◆ camera_info_

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

Definition at line 135 of file camera_info_display.h.

◆ color_

QColor jsk_rviz_plugins::CameraInfoDisplay::color_
protected

Definition at line 147 of file camera_info_display.h.

◆ color_property_

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

Definition at line 161 of file camera_info_display.h.

◆ edge_color_

QColor jsk_rviz_plugins::CameraInfoDisplay::edge_color_
protected

Definition at line 148 of file camera_info_display.h.

◆ edge_color_property_

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

Definition at line 162 of file camera_info_display.h.

◆ edges_

BillboardLinePtr jsk_rviz_plugins::CameraInfoDisplay::edges_
protected

Definition at line 134 of file camera_info_display.h.

◆ far_clip_distance_

double jsk_rviz_plugins::CameraInfoDisplay::far_clip_distance_
protected

Definition at line 146 of file camera_info_display.h.

◆ far_clip_distance_property_

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

Definition at line 159 of file camera_info_display.h.

◆ image_

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

Definition at line 154 of file camera_info_display.h.

◆ image_sub_

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

Definition at line 140 of file camera_info_display.h.

◆ image_topic_property_

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

Definition at line 166 of file camera_info_display.h.

◆ image_transport_hints_property_

ImageTransportHintsProperty* jsk_rviz_plugins::CameraInfoDisplay::image_transport_hints_property_
protected

Definition at line 158 of file camera_info_display.h.

◆ image_updated_

bool jsk_rviz_plugins::CameraInfoDisplay::image_updated_
protected

Definition at line 152 of file camera_info_display.h.

◆ material_

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

Definition at line 136 of file camera_info_display.h.

◆ material_bottom_

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

Definition at line 138 of file camera_info_display.h.

◆ mutex_

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

Definition at line 141 of file camera_info_display.h.

◆ not_show_side_polygons_

bool jsk_rviz_plugins::CameraInfoDisplay::not_show_side_polygons_
protected

Definition at line 153 of file camera_info_display.h.

◆ not_show_side_polygons_property_

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

Definition at line 164 of file camera_info_display.h.

◆ polygons_

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

Definition at line 133 of file camera_info_display.h.

◆ show_edges_

bool jsk_rviz_plugins::CameraInfoDisplay::show_edges_
protected

Definition at line 150 of file camera_info_display.h.

◆ show_edges_property_

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

Definition at line 167 of file camera_info_display.h.

◆ show_polygons_

bool jsk_rviz_plugins::CameraInfoDisplay::show_polygons_
protected

Definition at line 149 of file camera_info_display.h.

◆ show_polygons_property_

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

Definition at line 163 of file camera_info_display.h.

◆ texture_

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

Definition at line 137 of file camera_info_display.h.

◆ use_image_

bool jsk_rviz_plugins::CameraInfoDisplay::use_image_
protected

Definition at line 151 of file camera_info_display.h.

◆ use_image_property_

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 Thu Jun 1 2023 02:45:58