$search

nxt_rviz_plugin::NXTColorDisplay Class Reference

Displays a nxt_msgs::Color message. More...

#include <nxt_color_display.h>

Inheritance diagram for nxt_rviz_plugin::NXTColorDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void createProperties ()
virtual void fixedFrameChanged ()
float getAlpha ()
float getDisplayLength ()
const std::string & getTopic ()
virtual const char * getType () const
 NXTColorDisplay (const std::string &name, rviz::VisualizationManager *manager)
virtual void reset ()
void setAlpha (float alpha)
void setDisplayLength (float displayLength)
void setTopic (const std::string &topic)
virtual void targetFrameChanged ()
virtual void update (float wall_dt, float ros_dt)
virtual ~NXTColorDisplay ()

Static Public Member Functions

static const char * getDescription ()
static const char * getTypeStatic ()

Protected Member Functions

void clear ()
void incomingMessage (const nxt_msgs::Color::ConstPtr &msg)
virtual void onDisable ()
virtual void onEnable ()
void processMessage (const nxt_msgs::Color::ConstPtr &msg)
void subscribe ()
void unsubscribe ()

Protected Attributes

float alpha_
rviz::FloatPropertyWPtr alpha_property_
nxt_msgs::Color::ConstPtr current_message_
ogre_tools::Shapecylinder_
 Handles actually drawing the cone.
rviz::FloatPropertyWPtr display_property_
float displayLength_
uint32_t messages_received_
Ogre::SceneNode * scene_node_
message_filters::Subscriber
< nxt_msgs::Color
sub_
tf::MessageFilter
< nxt_msgs::Color
tf_filter_
std::string topic_
rviz::ROSTopicStringPropertyWPtr topic_property_

Detailed Description

Displays a nxt_msgs::Color message.

Definition at line 33 of file nxt_color_display.h.


Constructor & Destructor Documentation

nxt_rviz_plugin::NXTColorDisplay::NXTColorDisplay ( const std::string &  name,
rviz::VisualizationManager manager 
)

Definition at line 18 of file nxt_color_display.cpp.

nxt_rviz_plugin::NXTColorDisplay::~NXTColorDisplay (  )  [virtual]

Definition at line 41 of file nxt_color_display.cpp.


Member Function Documentation

void nxt_rviz_plugin::NXTColorDisplay::clear (  )  [protected]

Definition at line 48 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::createProperties (  )  [virtual]

Reimplemented from rviz::Display.

Definition at line 177 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::fixedFrameChanged (  )  [virtual]

Implements rviz::Display.

Definition at line 117 of file nxt_color_display.cpp.

float nxt_rviz_plugin::NXTColorDisplay::getAlpha (  )  [inline]

Definition at line 43 of file nxt_color_display.h.

const char * nxt_rviz_plugin::NXTColorDisplay::getDescription (  )  [static]

Definition at line 195 of file nxt_color_display.cpp.

float nxt_rviz_plugin::NXTColorDisplay::getDisplayLength (  )  [inline]

Definition at line 46 of file nxt_color_display.h.

const std::string& nxt_rviz_plugin::NXTColorDisplay::getTopic (  )  [inline]

Definition at line 40 of file nxt_color_display.h.

virtual const char* nxt_rviz_plugin::NXTColorDisplay::getType (  )  const [inline, virtual]

Definition at line 56 of file nxt_color_display.h.

static const char* nxt_rviz_plugin::NXTColorDisplay::getTypeStatic (  )  [inline, static]

Definition at line 55 of file nxt_color_display.h.

void nxt_rviz_plugin::NXTColorDisplay::incomingMessage ( const nxt_msgs::Color::ConstPtr msg  )  [protected]

Definition at line 166 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::onDisable (  )  [protected, virtual]

Implements rviz::Display.

Definition at line 110 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::onEnable (  )  [protected, virtual]

Implements rviz::Display.

Definition at line 104 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::processMessage ( const nxt_msgs::Color::ConstPtr msg  )  [protected]

Definition at line 129 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::reset (  )  [virtual]

Reimplemented from rviz::Display.

Definition at line 171 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::setAlpha ( float  alpha  ) 

Definition at line 68 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::setDisplayLength ( float  displayLength  ) 

Definition at line 78 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::setTopic ( const std::string &  topic  ) 

Definition at line 55 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::subscribe (  )  [protected]

Definition at line 89 of file nxt_color_display.cpp.

virtual void nxt_rviz_plugin::NXTColorDisplay::targetFrameChanged (  )  [inline, virtual]

Implements rviz::Display.

Definition at line 49 of file nxt_color_display.h.

void nxt_rviz_plugin::NXTColorDisplay::unsubscribe (  )  [protected]

Definition at line 99 of file nxt_color_display.cpp.

void nxt_rviz_plugin::NXTColorDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Reimplemented from rviz::Display.

Definition at line 124 of file nxt_color_display.cpp.


Member Data Documentation

Definition at line 71 of file nxt_color_display.h.

rviz::FloatPropertyWPtr nxt_rviz_plugin::NXTColorDisplay::alpha_property_ [protected]

Definition at line 84 of file nxt_color_display.h.

Definition at line 81 of file nxt_color_display.h.

Handles actually drawing the cone.

Definition at line 77 of file nxt_color_display.h.

rviz::FloatPropertyWPtr nxt_rviz_plugin::NXTColorDisplay::display_property_ [protected]

Definition at line 85 of file nxt_color_display.h.

Definition at line 72 of file nxt_color_display.h.

Definition at line 74 of file nxt_color_display.h.

Ogre::SceneNode* nxt_rviz_plugin::NXTColorDisplay::scene_node_ [protected]

Definition at line 76 of file nxt_color_display.h.

Definition at line 79 of file nxt_color_display.h.

Definition at line 80 of file nxt_color_display.h.

Definition at line 70 of file nxt_color_display.h.

rviz::ROSTopicStringPropertyWPtr nxt_rviz_plugin::NXTColorDisplay::topic_property_ [protected]

Definition at line 83 of file nxt_color_display.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


nxt_rviz_plugin
Author(s): Melonee Wise
autogenerated on Fri Mar 1 16:12:28 2013