Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots
jsk_rviz_plugins::PolygonArrayDisplay Class Reference

#include <polygon_array_display.h>

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

List of all members.

Public Types

typedef boost::shared_ptr
< rviz::Arrow > 
ArrowPtr

Public Member Functions

 PolygonArrayDisplay ()
virtual ~PolygonArrayDisplay ()

Protected Member Functions

virtual void allocateMaterials (int num)
virtual Ogre::ColourValue getColor (size_t index)
virtual void onInitialize ()
virtual void processLine (const size_t i, const geometry_msgs::PolygonStamped &polygon)
virtual void processMessage (const jsk_recognition_msgs::PolygonArray::ConstPtr &msg)
virtual void processNormal (const size_t i, const geometry_msgs::PolygonStamped &polygon)
virtual void processPolygon (const size_t i, const geometry_msgs::PolygonStamped &polygon)
virtual void processPolygonMaterial (const size_t i)
virtual void reset ()
virtual void updateLines (int num)
virtual void updateSceneNodes (const jsk_recognition_msgs::PolygonArray::ConstPtr &msg)

Protected Attributes

rviz::FloatPropertyalpha_property_
std::vector< Ogre::SceneNode * > arrow_nodes_
std::vector< ArrowPtrarrow_objects_
rviz::ColorPropertycolor_property_
std::string coloring_method_
rviz::EnumPropertycoloring_property_
jsk_recognition_msgs::PolygonArray::ConstPtr latest_msg_
std::vector
< rviz::BillboardLine * > 
lines_
std::vector< Ogre::ManualObject * > manual_objects_
std::vector< Ogre::MaterialPtr > materials_
double normal_length_
rviz::FloatPropertynormal_length_property_
bool only_border_
rviz::BoolPropertyonly_border_property_
std::vector< Ogre::SceneNode * > scene_nodes_
bool show_normal_
rviz::BoolPropertyshow_normal_property_

Private Slots

void updateColoring ()
void updateNormalLength ()
void updateOnlyBorder ()
void updateShowNormal ()

Detailed Description

Definition at line 57 of file polygon_array_display.h.


Member Typedef Documentation

typedef boost::shared_ptr<rviz::Arrow> jsk_rviz_plugins::PolygonArrayDisplay::ArrowPtr

Definition at line 62 of file polygon_array_display.h.


Constructor & Destructor Documentation

Definition at line 46 of file polygon_array_display.cpp.

Definition at line 82 of file polygon_array_display.cpp.


Member Function Documentation

void jsk_rviz_plugins::PolygonArrayDisplay::allocateMaterials ( int  num) [protected, virtual]

Definition at line 114 of file polygon_array_display.cpp.

Ogre::ColourValue jsk_rviz_plugins::PolygonArrayDisplay::getColor ( size_t  index) [protected, virtual]

Definition at line 214 of file polygon_array_display.cpp.

void jsk_rviz_plugins::PolygonArrayDisplay::processLine ( const size_t  i,
const geometry_msgs::PolygonStamped &  polygon 
) [protected, virtual]

Definition at line 261 of file polygon_array_display.cpp.

void jsk_rviz_plugins::PolygonArrayDisplay::processMessage ( const jsk_recognition_msgs::PolygonArray::ConstPtr &  msg) [protected, virtual]

Definition at line 413 of file polygon_array_display.cpp.

void jsk_rviz_plugins::PolygonArrayDisplay::processNormal ( const size_t  i,
const geometry_msgs::PolygonStamped &  polygon 
) [protected, virtual]

Definition at line 366 of file polygon_array_display.cpp.

void jsk_rviz_plugins::PolygonArrayDisplay::processPolygon ( const size_t  i,
const geometry_msgs::PolygonStamped &  polygon 
) [protected, virtual]

Definition at line 316 of file polygon_array_display.cpp.

void jsk_rviz_plugins::PolygonArrayDisplay::processPolygonMaterial ( const size_t  i) [protected, virtual]

Definition at line 297 of file polygon_array_display.cpp.

void jsk_rviz_plugins::PolygonArrayDisplay::reset ( ) [protected, virtual]

Definition at line 462 of file polygon_array_display.cpp.

void jsk_rviz_plugins::PolygonArrayDisplay::updateLines ( int  num) [protected, virtual]

Definition at line 197 of file polygon_array_display.cpp.

Definition at line 501 of file polygon_array_display.cpp.

Definition at line 482 of file polygon_array_display.cpp.

void jsk_rviz_plugins::PolygonArrayDisplay::updateSceneNodes ( const jsk_recognition_msgs::PolygonArray::ConstPtr &  msg) [protected, virtual]

Definition at line 152 of file polygon_array_display.cpp.

Definition at line 487 of file polygon_array_display.cpp.


Member Data Documentation

Definition at line 83 of file polygon_array_display.h.

Definition at line 96 of file polygon_array_display.h.

Definition at line 97 of file polygon_array_display.h.

Definition at line 82 of file polygon_array_display.h.

Definition at line 90 of file polygon_array_display.h.

Definition at line 86 of file polygon_array_display.h.

jsk_recognition_msgs::PolygonArray::ConstPtr jsk_rviz_plugins::PolygonArrayDisplay::latest_msg_ [protected]

Definition at line 93 of file polygon_array_display.h.

Definition at line 99 of file polygon_array_display.h.

Definition at line 94 of file polygon_array_display.h.

Definition at line 98 of file polygon_array_display.h.

Definition at line 92 of file polygon_array_display.h.

Definition at line 88 of file polygon_array_display.h.

Definition at line 89 of file polygon_array_display.h.

Definition at line 84 of file polygon_array_display.h.

Definition at line 95 of file polygon_array_display.h.

Definition at line 91 of file polygon_array_display.h.

Definition at line 87 of file polygon_array_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 Sun Sep 13 2015 22:29:04