Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
jsk_rviz_plugins::OverlayCameraDisplay Class Reference

#include <overlay_camera_display.h>

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

Public Member Functions

virtual void fixedFrameChanged ()
 
virtual void onInitialize ()
 
 OverlayCameraDisplay ()
 
virtual void postRenderTargetUpdate (const Ogre::RenderTargetEvent &evt)
 
virtual void preRenderTargetUpdate (const Ogre::RenderTargetEvent &evt)
 
virtual void reset ()
 
virtual void update (float wall_dt, float ros_dt)
 
virtual ~OverlayCameraDisplay ()
 
- Public Member Functions inherited from rviz::ImageDisplayBase
 ImageDisplayBase ()
 
virtual void setTopic (const QString &topic, const QString &datatype)
 
virtual ~ImageDisplayBase ()
 
- 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 ()
 

Static Public Attributes

static const QString BACKGROUND
 
static const QString BOTH
 
static const QString OVERLAY
 

Protected Member Functions

virtual void onDisable ()
 
virtual void onEnable ()
 
void redraw ()
 
- Protected Member Functions inherited from rviz::ImageDisplayBase
void enableTFFilter (std::string &targetFrame)
 
void incomingMessage (const sensor_msgs::Image::ConstPtr &msg)
 
void scanForTransportSubscriberPlugins ()
 
- 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

int height_
 
rviz::IntPropertyheight_property_
 
bool initializedp_
 
int left_
 
rviz::IntPropertyleft_property_
 
OverlayObject::Ptr overlay_
 
RenderPanelrender_panel_
 
ROSImageTexture texture_
 
float texture_alpha_
 
rviz::FloatPropertytexture_alpha_property_
 
int top_
 
rviz::IntPropertytop_property_
 
int width_
 
rviz::IntPropertywidth_property_
 
- Protected Attributes inherited from rviz::ImageDisplayBase
boost::scoped_ptr< image_transport::ImageTransportit_
 
uint32_t messages_received_
 
IntPropertyqueue_size_property_
 
boost::shared_ptr< image_transport::SubscriberFiltersub_
 
std::string targetFrame_
 
boost::shared_ptr< tf::MessageFilter< sensor_msgs::Image > > tf_filter_
 
RosTopicPropertytopic_property_
 
std::string transport_
 
std::set< std::string > transport_plugin_types_
 
EnumPropertytransport_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_
 

Private Slots

void forceRender ()
 
void updateAlpha ()
 
void updateHeight ()
 
void updateLeft ()
 
virtual void updateQueueSize ()
 
void updateTextureAlpha ()
 
void updateTop ()
 
void updateWidth ()
 

Private Member Functions

void caminfoCallback (const sensor_msgs::CameraInfo::ConstPtr &msg)
 
void clear ()
 
virtual void processMessage (const sensor_msgs::Image::ConstPtr &msg)
 
void subscribe ()
 
void unsubscribe ()
 
bool updateCamera ()
 
void updateStatus ()
 

Private Attributes

FloatPropertyalpha_property_
 
Ogre::MaterialPtr bg_material_
 
Ogre::SceneNode * bg_scene_node_
 
Ogre::Rectangle2D * bg_screen_rect_
 
boost::mutex caminfo_mutex_
 
bool caminfo_ok_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > caminfo_sub_
 
tf::MessageFilter< sensor_msgs::CameraInfo > * caminfo_tf_filter_
 
sensor_msgs::CameraInfo::ConstPtr current_caminfo_
 
Ogre::MaterialPtr fg_material_
 
Ogre::SceneNode * fg_scene_node_
 
Ogre::Rectangle2D * fg_screen_rect_
 
bool force_render_
 
EnumPropertyimage_position_property_
 
bool new_caminfo_
 
uint32_t vis_bit_
 
DisplayGroupVisibilityPropertyvisibility_property_
 
FloatPropertyzoom_property_
 

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)
 
- Protected Slots inherited from rviz::ImageDisplayBase
void fillTransportOptionList (EnumProperty *property)
 
virtual void updateQueueSize ()
 
virtual void updateTopic ()
 

Detailed Description

Definition at line 89 of file overlay_camera_display.h.

Constructor & Destructor Documentation

jsk_rviz_plugins::OverlayCameraDisplay::OverlayCameraDisplay ( )

Definition at line 88 of file overlay_camera_display.cpp.

jsk_rviz_plugins::OverlayCameraDisplay::~OverlayCameraDisplay ( )
virtual

Definition at line 136 of file overlay_camera_display.cpp.

Member Function Documentation

void jsk_rviz_plugins::OverlayCameraDisplay::caminfoCallback ( const sensor_msgs::CameraInfo::ConstPtr &  msg)
private

Definition at line 592 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::clear ( )
private

Definition at line 366 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::fixedFrameChanged ( )
virtual

Reimplemented from rviz::ImageDisplayBase.

Definition at line 599 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::forceRender ( )
privateslot

Definition at line 354 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::onDisable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 292 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::onEnable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 283 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::onInitialize ( )
virtual

Reimplemented from rviz::ImageDisplayBase.

Definition at line 162 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::postRenderTargetUpdate ( const Ogre::RenderTargetEvent &  evt)
virtual

Definition at line 277 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::preRenderTargetUpdate ( const Ogre::RenderTargetEvent &  evt)
virtual

Definition at line 267 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::processMessage ( const sensor_msgs::Image::ConstPtr &  msg)
privatevirtual

Implements rviz::ImageDisplayBase.

Definition at line 587 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::redraw ( )
protected

Definition at line 412 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::reset ( )
virtual

Reimplemented from rviz::ImageDisplayBase.

Definition at line 606 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::subscribe ( )
privatevirtual

Reimplemented from rviz::ImageDisplayBase.

Definition at line 302 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::unsubscribe ( )
privatevirtual

Reimplemented from rviz::ImageDisplayBase.

Definition at line 328 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::update ( float  wall_dt,
float  ros_dt 
)
virtual

Reimplemented from rviz::Display.

Definition at line 382 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::updateAlpha ( )
privateslot

Definition at line 334 of file overlay_camera_display.cpp.

bool jsk_rviz_plugins::OverlayCameraDisplay::updateCamera ( )
private

Definition at line 434 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::updateHeight ( )
privateslot

Definition at line 617 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::updateLeft ( )
privateslot

Definition at line 622 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::updateQueueSize ( )
privatevirtualslot

Definition at line 360 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::updateStatus ( )
private
void jsk_rviz_plugins::OverlayCameraDisplay::updateTextureAlpha ( )
privateslot

Definition at line 632 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::updateTop ( )
privateslot

Definition at line 627 of file overlay_camera_display.cpp.

void jsk_rviz_plugins::OverlayCameraDisplay::updateWidth ( )
privateslot

Definition at line 612 of file overlay_camera_display.cpp.

Member Data Documentation

FloatProperty* jsk_rviz_plugins::OverlayCameraDisplay::alpha_property_
private

Definition at line 152 of file overlay_camera_display.h.

const QString jsk_rviz_plugins::OverlayCameraDisplay::BACKGROUND
static

Definition at line 106 of file overlay_camera_display.h.

Ogre::MaterialPtr jsk_rviz_plugins::OverlayCameraDisplay::bg_material_
private

Definition at line 140 of file overlay_camera_display.h.

Ogre::SceneNode* jsk_rviz_plugins::OverlayCameraDisplay::bg_scene_node_
private

Definition at line 136 of file overlay_camera_display.h.

Ogre::Rectangle2D* jsk_rviz_plugins::OverlayCameraDisplay::bg_screen_rect_
private

Definition at line 139 of file overlay_camera_display.h.

const QString jsk_rviz_plugins::OverlayCameraDisplay::BOTH
static

Definition at line 108 of file overlay_camera_display.h.

boost::mutex jsk_rviz_plugins::OverlayCameraDisplay::caminfo_mutex_
private

Definition at line 158 of file overlay_camera_display.h.

bool jsk_rviz_plugins::OverlayCameraDisplay::caminfo_ok_
private

Definition at line 162 of file overlay_camera_display.h.

message_filters::Subscriber<sensor_msgs::CameraInfo> jsk_rviz_plugins::OverlayCameraDisplay::caminfo_sub_
private

Definition at line 145 of file overlay_camera_display.h.

tf::MessageFilter<sensor_msgs::CameraInfo>* jsk_rviz_plugins::OverlayCameraDisplay::caminfo_tf_filter_
private

Definition at line 149 of file overlay_camera_display.h.

sensor_msgs::CameraInfo::ConstPtr jsk_rviz_plugins::OverlayCameraDisplay::current_caminfo_
private

Definition at line 157 of file overlay_camera_display.h.

Ogre::MaterialPtr jsk_rviz_plugins::OverlayCameraDisplay::fg_material_
private

Definition at line 143 of file overlay_camera_display.h.

Ogre::SceneNode* jsk_rviz_plugins::OverlayCameraDisplay::fg_scene_node_
private

Definition at line 137 of file overlay_camera_display.h.

Ogre::Rectangle2D* jsk_rviz_plugins::OverlayCameraDisplay::fg_screen_rect_
private

Definition at line 142 of file overlay_camera_display.h.

bool jsk_rviz_plugins::OverlayCameraDisplay::force_render_
private

Definition at line 164 of file overlay_camera_display.h.

int jsk_rviz_plugins::OverlayCameraDisplay::height_
protected

Definition at line 175 of file overlay_camera_display.h.

rviz::IntProperty* jsk_rviz_plugins::OverlayCameraDisplay::height_property_
protected

Definition at line 171 of file overlay_camera_display.h.

EnumProperty* jsk_rviz_plugins::OverlayCameraDisplay::image_position_property_
private

Definition at line 153 of file overlay_camera_display.h.

bool jsk_rviz_plugins::OverlayCameraDisplay::initializedp_
protected

Definition at line 178 of file overlay_camera_display.h.

int jsk_rviz_plugins::OverlayCameraDisplay::left_
protected

Definition at line 176 of file overlay_camera_display.h.

rviz::IntProperty* jsk_rviz_plugins::OverlayCameraDisplay::left_property_
protected

Definition at line 172 of file overlay_camera_display.h.

bool jsk_rviz_plugins::OverlayCameraDisplay::new_caminfo_
private

Definition at line 160 of file overlay_camera_display.h.

const QString jsk_rviz_plugins::OverlayCameraDisplay::OVERLAY
static

Definition at line 107 of file overlay_camera_display.h.

OverlayObject::Ptr jsk_rviz_plugins::OverlayCameraDisplay::overlay_
protected

Definition at line 168 of file overlay_camera_display.h.

RenderPanel* jsk_rviz_plugins::OverlayCameraDisplay::render_panel_
protected

Definition at line 116 of file overlay_camera_display.h.

ROSImageTexture jsk_rviz_plugins::OverlayCameraDisplay::texture_
protected

Definition at line 115 of file overlay_camera_display.h.

float jsk_rviz_plugins::OverlayCameraDisplay::texture_alpha_
protected

Definition at line 177 of file overlay_camera_display.h.

rviz::FloatProperty* jsk_rviz_plugins::OverlayCameraDisplay::texture_alpha_property_
protected

Definition at line 174 of file overlay_camera_display.h.

int jsk_rviz_plugins::OverlayCameraDisplay::top_
protected

Definition at line 176 of file overlay_camera_display.h.

rviz::IntProperty* jsk_rviz_plugins::OverlayCameraDisplay::top_property_
protected

Definition at line 173 of file overlay_camera_display.h.

uint32_t jsk_rviz_plugins::OverlayCameraDisplay::vis_bit_
private

Definition at line 166 of file overlay_camera_display.h.

DisplayGroupVisibilityProperty* jsk_rviz_plugins::OverlayCameraDisplay::visibility_property_
private

Definition at line 155 of file overlay_camera_display.h.

int jsk_rviz_plugins::OverlayCameraDisplay::width_
protected

Definition at line 175 of file overlay_camera_display.h.

rviz::IntProperty* jsk_rviz_plugins::OverlayCameraDisplay::width_property_
protected

Definition at line 170 of file overlay_camera_display.h.

FloatProperty* jsk_rviz_plugins::OverlayCameraDisplay::zoom_property_
private

Definition at line 154 of file overlay_camera_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