#include <polygon_array_display.h>
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::FloatProperty * | alpha_property_ |
std::vector< Ogre::SceneNode * > | arrow_nodes_ |
std::vector< ArrowPtr > | arrow_objects_ |
rviz::ColorProperty * | color_property_ |
std::string | coloring_method_ |
rviz::EnumProperty * | coloring_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::FloatProperty * | normal_length_property_ |
bool | only_border_ |
rviz::BoolProperty * | only_border_property_ |
std::vector< Ogre::SceneNode * > | scene_nodes_ |
bool | show_normal_ |
rviz::BoolProperty * | show_normal_property_ |
Private Slots | |
void | updateColoring () |
void | updateNormalLength () |
void | updateOnlyBorder () |
void | updateShowNormal () |
Definition at line 57 of file polygon_array_display.h.
typedef boost::shared_ptr<rviz::Arrow> jsk_rviz_plugins::PolygonArrayDisplay::ArrowPtr |
Definition at line 62 of file polygon_array_display.h.
Definition at line 46 of file polygon_array_display.cpp.
Definition at line 82 of file polygon_array_display.cpp.
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::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_recognition_msgs::PolygonArray >.
Definition at line 105 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] |
Reimplemented from rviz::MessageFilterDisplay< jsk_recognition_msgs::PolygonArray >.
Definition at line 144 of file polygon_array_display.cpp.
void jsk_rviz_plugins::PolygonArrayDisplay::updateColoring | ( | ) | [private, slot] |
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.
void jsk_rviz_plugins::PolygonArrayDisplay::updateNormalLength | ( | ) | [private, slot] |
Definition at line 501 of file polygon_array_display.cpp.
void jsk_rviz_plugins::PolygonArrayDisplay::updateOnlyBorder | ( | ) | [private, slot] |
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.
void jsk_rviz_plugins::PolygonArrayDisplay::updateShowNormal | ( | ) | [private, slot] |
Definition at line 487 of file polygon_array_display.cpp.
Definition at line 83 of file polygon_array_display.h.
std::vector<Ogre::SceneNode*> jsk_rviz_plugins::PolygonArrayDisplay::arrow_nodes_ [protected] |
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.
std::vector<Ogre::ManualObject*> jsk_rviz_plugins::PolygonArrayDisplay::manual_objects_ [protected] |
Definition at line 94 of file polygon_array_display.h.
std::vector<Ogre::MaterialPtr> jsk_rviz_plugins::PolygonArrayDisplay::materials_ [protected] |
Definition at line 98 of file polygon_array_display.h.
double jsk_rviz_plugins::PolygonArrayDisplay::normal_length_ [protected] |
Definition at line 92 of file polygon_array_display.h.
Definition at line 88 of file polygon_array_display.h.
bool jsk_rviz_plugins::PolygonArrayDisplay::only_border_ [protected] |
Definition at line 89 of file polygon_array_display.h.
Definition at line 84 of file polygon_array_display.h.
std::vector<Ogre::SceneNode*> jsk_rviz_plugins::PolygonArrayDisplay::scene_nodes_ [protected] |
Definition at line 95 of file polygon_array_display.h.
bool jsk_rviz_plugins::PolygonArrayDisplay::show_normal_ [protected] |
Definition at line 91 of file polygon_array_display.h.
Definition at line 87 of file polygon_array_display.h.