Public Member Functions | Protected Member Functions | Protected Attributes
rviz::PoseArrayDisplay Class Reference

Displays a std_msgs::ParticleCloud2D message. More...

#include <pose_array_display.h>

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

List of all members.

Public Member Functions

virtual void createProperties ()
 Called from setPropertyManager, gives the display a chance to create some properties immediately.
virtual void fixedFrameChanged ()
 Override to handle changes to fixed_frame_. This base class implementation does nothing.
const ColorgetColor ()
float getLength () const
const std::string & getTopic ()
virtual void onInitialize ()
 Override this function to do subclass-specific initialization.
 PoseArrayDisplay ()
virtual void reset ()
 Called to tell the display to clear its state.
void setColor (const Color &color)
void setLength (float length)
void setTopic (const std::string &topic)
virtual void update (float wall_dt, float ros_dt)
 Called periodically by the visualization panel.
virtual ~PoseArrayDisplay ()

Protected Member Functions

void clear ()
void incomingMessage (const geometry_msgs::PoseArray::ConstPtr &msg)
virtual void onDisable ()
 Derived classes override this to do the actual work of disabling themselves.
virtual void onEnable ()
 Derived classes override this to do the actual work of enabling themselves.
void processMessage (const geometry_msgs::PoseArray::ConstPtr &msg)
void subscribe ()
void unsubscribe ()

Protected Attributes

Color color_
ColorPropertyWPtr color_property_
float length_
FloatPropertyWPtr length_property_
Ogre::ManualObject * manual_object_
uint32_t messages_received_
Ogre::SceneNode * scene_node_
message_filters::Subscriber
< geometry_msgs::PoseArray > 
sub_
tf::MessageFilter
< geometry_msgs::PoseArray > * 
tf_filter_
std::string topic_
ROSTopicStringPropertyWPtr topic_property_

Detailed Description

Displays a std_msgs::ParticleCloud2D message.

Definition at line 63 of file pose_array_display.h.


Constructor & Destructor Documentation

Definition at line 50 of file pose_array_display.cpp.

Definition at line 58 of file pose_array_display.cpp.


Member Function Documentation

void rviz::PoseArrayDisplay::clear ( void  ) [protected]

Definition at line 84 of file pose_array_display.cpp.

Called from setPropertyManager, gives the display a chance to create some properties immediately.

When this function is called, the property_manager_ member is valid and will stay valid

Reimplemented from rviz::Display.

Definition at line 157 of file pose_array_display.cpp.

Override to handle changes to fixed_frame_. This base class implementation does nothing.

Reimplemented from rviz::Display.

Definition at line 174 of file pose_array_display.cpp.

Definition at line 75 of file pose_array_display.h.

float rviz::PoseArrayDisplay::getLength ( ) const [inline]

Definition at line 78 of file pose_array_display.h.

const std::string& rviz::PoseArrayDisplay::getTopic ( ) [inline]

Definition at line 72 of file pose_array_display.h.

void rviz::PoseArrayDisplay::incomingMessage ( const geometry_msgs::PoseArray::ConstPtr &  msg) [protected]

Definition at line 251 of file pose_array_display.cpp.

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

Derived classes override this to do the actual work of disabling themselves.

Implements rviz::Display.

Definition at line 150 of file pose_array_display.cpp.

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

Derived classes override this to do the actual work of enabling themselves.

Implements rviz::Display.

Definition at line 144 of file pose_array_display.cpp.

Override this function to do subclass-specific initialization.

This is called after vis_manager_ and scene_manager_ are set.

Reimplemented from rviz::Display.

Definition at line 67 of file pose_array_display.cpp.

void rviz::PoseArrayDisplay::processMessage ( const geometry_msgs::PoseArray::ConstPtr &  msg) [protected]

Definition at line 189 of file pose_array_display.cpp.

void rviz::PoseArrayDisplay::reset ( ) [virtual]

Called to tell the display to clear its state.

Reimplemented from rviz::Display.

Definition at line 256 of file pose_array_display.cpp.

void rviz::PoseArrayDisplay::setColor ( const Color color)

Definition at line 105 of file pose_array_display.cpp.

void rviz::PoseArrayDisplay::setLength ( float  length)

Definition at line 114 of file pose_array_display.cpp.

void rviz::PoseArrayDisplay::setTopic ( const std::string &  topic)

Definition at line 92 of file pose_array_display.cpp.

void rviz::PoseArrayDisplay::subscribe ( ) [protected]

Definition at line 121 of file pose_array_display.cpp.

Definition at line 139 of file pose_array_display.cpp.

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

Called periodically by the visualization panel.

Parameters:
dtWall-clock time, in seconds, since the last time the update list was run through.

Reimplemented from rviz::Display.

Definition at line 180 of file pose_array_display.cpp.


Member Data Documentation

Definition at line 98 of file pose_array_display.h.

ColorPropertyWPtr rviz::PoseArrayDisplay::color_property_ [protected]

Definition at line 115 of file pose_array_display.h.

Definition at line 99 of file pose_array_display.h.

FloatPropertyWPtr rviz::PoseArrayDisplay::length_property_ [protected]

Definition at line 117 of file pose_array_display.h.

Ogre::ManualObject* rviz::PoseArrayDisplay::manual_object_ [protected]

Definition at line 110 of file pose_array_display.h.

Definition at line 101 of file pose_array_display.h.

Ogre::SceneNode* rviz::PoseArrayDisplay::scene_node_ [protected]

Definition at line 109 of file pose_array_display.h.

message_filters::Subscriber<geometry_msgs::PoseArray> rviz::PoseArrayDisplay::sub_ [protected]

Definition at line 112 of file pose_array_display.h.

tf::MessageFilter<geometry_msgs::PoseArray>* rviz::PoseArrayDisplay::tf_filter_ [protected]

Definition at line 113 of file pose_array_display.h.

std::string rviz::PoseArrayDisplay::topic_ [protected]

Definition at line 97 of file pose_array_display.h.

ROSTopicStringPropertyWPtr rviz::PoseArrayDisplay::topic_property_ [protected]

Definition at line 116 of file pose_array_display.h.


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


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Mon Jan 6 2014 11:54:33