Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes
rviz::AwesomeCameraDisplay Class Reference

#include <awesome_camera_display.h>

Inheritance diagram for rviz::AwesomeCameraDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AwesomeCameraDisplay ()
virtual void fixedFrameChanged ()
virtual void onInitialize ()
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 ~AwesomeCameraDisplay ()

Static Public Attributes

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

Protected Member Functions

virtual void onDisable ()
virtual void onEnable ()

Protected Attributes

RenderPanelrender_panel_
PanelDockWidgetrender_panel_dock_widget_
ROSImageTexture texture_

Private Slots

void forceRender ()
void panelVisibilityChanged (bool)
void showPanelPropertyChanged ()
void updateAlpha ()
virtual void updateQueueSize ()

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 ()
void updateCamera ()
void updateStatus ()

Private Attributes

FloatPropertyalpha_property_
Ogre::MaterialPtr bg_material_
Ogre::SceneNode * bg_scene_node_
Ogre::ManualObject * bg_screen_rect_
boost::mutex caminfo_mutex_
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::ManualObject * fg_screen_rect_
bool force_render_
EnumPropertyimage_position_property_
FloatPropertynear_clip_property_
bool new_caminfo_
BoolPropertyshow_panel_property_
uint32_t vis_bit_
DisplayGroupVisibilityPropertyvisibility_property_
FloatPropertyzoom_property_

Detailed Description

This is a modified copy of the RViz camera display.

When you're sitting close to the camera frame in the main view, the camera image will be displayed there as well.

Definition at line 72 of file awesome_camera_display.h.


Constructor & Destructor Documentation

Definition at line 105 of file awesome_camera_display.cpp.

Definition at line 143 of file awesome_camera_display.cpp.


Member Function Documentation

void rviz::AwesomeCameraDisplay::caminfoCallback ( const sensor_msgs::CameraInfo::ConstPtr &  msg) [private]

Definition at line 549 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::clear ( void  ) [private]

Definition at line 375 of file awesome_camera_display.cpp.

Reimplemented from rviz::ImageDisplayBase.

Definition at line 556 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::forceRender ( ) [private, slot]

Definition at line 363 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::onDisable ( ) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 304 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::onEnable ( ) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 298 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::panelVisibilityChanged ( bool  visible) [private, slot]

Definition at line 251 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::postRenderTargetUpdate ( const Ogre::RenderTargetEvent &  evt) [virtual]

Definition at line 290 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::preRenderTargetUpdate ( const Ogre::RenderTargetEvent &  evt) [virtual]

Definition at line 264 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::processMessage ( const sensor_msgs::Image::ConstPtr &  msg) [private, virtual]

Implements rviz::ImageDisplayBase.

Definition at line 544 of file awesome_camera_display.cpp.

Reimplemented from rviz::ImageDisplayBase.

Definition at line 563 of file awesome_camera_display.cpp.

Definition at line 256 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::subscribe ( ) [private, virtual]

Reimplemented from rviz::ImageDisplayBase.

Definition at line 311 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::unsubscribe ( ) [private, virtual]

Reimplemented from rviz::ImageDisplayBase.

Definition at line 337 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Reimplemented from rviz::Display.

Reimplemented in pr2_interactive_manipulation::PublishClickCameraDisplay.

Definition at line 391 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::updateAlpha ( ) [private, slot]

Definition at line 343 of file awesome_camera_display.cpp.

Definition at line 409 of file awesome_camera_display.cpp.

void rviz::AwesomeCameraDisplay::updateQueueSize ( ) [private, virtual, slot]

Reimplemented from rviz::ImageDisplayBase.

Definition at line 369 of file awesome_camera_display.cpp.


Member Data Documentation

Definition at line 135 of file awesome_camera_display.h.

Definition at line 89 of file awesome_camera_display.h.

Ogre::MaterialPtr rviz::AwesomeCameraDisplay::bg_material_ [private]

Definition at line 127 of file awesome_camera_display.h.

Ogre::SceneNode* rviz::AwesomeCameraDisplay::bg_scene_node_ [private]

Definition at line 123 of file awesome_camera_display.h.

Ogre::ManualObject* rviz::AwesomeCameraDisplay::bg_screen_rect_ [private]

Definition at line 126 of file awesome_camera_display.h.

const QString rviz::AwesomeCameraDisplay::BOTH [static]

Definition at line 91 of file awesome_camera_display.h.

Definition at line 143 of file awesome_camera_display.h.

Definition at line 132 of file awesome_camera_display.h.

Definition at line 133 of file awesome_camera_display.h.

sensor_msgs::CameraInfo::ConstPtr rviz::AwesomeCameraDisplay::current_caminfo_ [private]

Definition at line 142 of file awesome_camera_display.h.

Ogre::MaterialPtr rviz::AwesomeCameraDisplay::fg_material_ [private]

Definition at line 130 of file awesome_camera_display.h.

Ogre::SceneNode* rviz::AwesomeCameraDisplay::fg_scene_node_ [private]

Definition at line 124 of file awesome_camera_display.h.

Ogre::ManualObject* rviz::AwesomeCameraDisplay::fg_screen_rect_ [private]

Definition at line 129 of file awesome_camera_display.h.

Definition at line 147 of file awesome_camera_display.h.

Definition at line 136 of file awesome_camera_display.h.

Definition at line 138 of file awesome_camera_display.h.

Definition at line 145 of file awesome_camera_display.h.

const QString rviz::AwesomeCameraDisplay::OVERLAY [static]

Definition at line 90 of file awesome_camera_display.h.

Definition at line 99 of file awesome_camera_display.h.

Definition at line 100 of file awesome_camera_display.h.

Definition at line 140 of file awesome_camera_display.h.

Definition at line 98 of file awesome_camera_display.h.

Definition at line 149 of file awesome_camera_display.h.

Definition at line 139 of file awesome_camera_display.h.

Definition at line 137 of file awesome_camera_display.h.


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


pr2_interactive_manipulation_frontend
Author(s): Jonathan Binney
autogenerated on Mon Oct 6 2014 12:06:29