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 std::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 bool getTransform (const std_msgs::Header &header, Ogre::Vector3 &position, Ogre::Quaternion &orientation)
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_
bool enable_lighting_
rviz::BoolPropertyenable_lighting_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 updateEnableLighting ()
void updateNormalLength ()
void updateOnlyBorder ()
void updateShowNormal ()

Detailed Description

Definition at line 59 of file polygon_array_display.h.


Member Typedef Documentation

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

Definition at line 64 of file polygon_array_display.h.


Constructor & Destructor Documentation

Definition at line 46 of file polygon_array_display.cpp.

Definition at line 86 of file polygon_array_display.cpp.


Member Function Documentation

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

Definition at line 118 of file polygon_array_display.cpp.

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

Definition at line 220 of file polygon_array_display.cpp.

bool jsk_rviz_plugins::PolygonArrayDisplay::getTransform ( const std_msgs::Header header,
Ogre::Vector3 position,
Ogre::Quaternion &  orientation 
) [protected, virtual]

Definition at line 463 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 269 of file polygon_array_display.cpp.

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

Definition at line 414 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 371 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 322 of file polygon_array_display.cpp.

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

Definition at line 302 of file polygon_array_display.cpp.

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

Definition at line 482 of file polygon_array_display.cpp.

Definition at line 521 of file polygon_array_display.cpp.

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

Definition at line 203 of file polygon_array_display.cpp.

Definition at line 526 of file polygon_array_display.cpp.

Definition at line 502 of file polygon_array_display.cpp.

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

Definition at line 158 of file polygon_array_display.cpp.

Definition at line 507 of file polygon_array_display.cpp.


Member Data Documentation

Definition at line 88 of file polygon_array_display.h.

std::vector<Ogre::SceneNode*> jsk_rviz_plugins::PolygonArrayDisplay::arrow_nodes_ [protected]

Definition at line 103 of file polygon_array_display.h.

Definition at line 104 of file polygon_array_display.h.

Definition at line 87 of file polygon_array_display.h.

Definition at line 97 of file polygon_array_display.h.

Definition at line 91 of file polygon_array_display.h.

Definition at line 96 of file polygon_array_display.h.

Definition at line 93 of file polygon_array_display.h.

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

Definition at line 100 of file polygon_array_display.h.

Definition at line 106 of file polygon_array_display.h.

std::vector<Ogre::ManualObject*> jsk_rviz_plugins::PolygonArrayDisplay::manual_objects_ [protected]

Definition at line 101 of file polygon_array_display.h.

std::vector<Ogre::MaterialPtr> jsk_rviz_plugins::PolygonArrayDisplay::materials_ [protected]

Definition at line 105 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 95 of file polygon_array_display.h.

Definition at line 89 of file polygon_array_display.h.

std::vector<Ogre::SceneNode*> jsk_rviz_plugins::PolygonArrayDisplay::scene_nodes_ [protected]

Definition at line 102 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.


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 Wed May 1 2019 02:40:22