#include <bounding_box_array_display.h>
Public Types | |
typedef boost::shared_ptr < rviz::BillboardLine > | BillboardLinePtr |
typedef boost::shared_ptr < rviz::Shape > | ShapePtr |
Public Member Functions | |
BoundingBoxArrayDisplay () | |
virtual | ~BoundingBoxArrayDisplay () |
Protected Member Functions | |
void | allocateBillboardLines (int num) |
void | allocateShapes (int num) |
QColor | getColor (size_t index) |
virtual void | onInitialize () |
virtual void | reset () |
Protected Attributes | |
double | alpha_ |
rviz::FloatProperty * | alpha_property_ |
bool | auto_color_ |
rviz::BoolProperty * | auto_color_property_ |
QColor | color_ |
rviz::ColorProperty * | color_property_ |
std::vector< BillboardLinePtr > | edges_ |
double | line_width_ |
rviz::FloatProperty * | line_width_property_ |
bool | only_edge_ |
rviz::BoolProperty * | only_edge_property_ |
std::vector< ShapePtr > | shapes_ |
Private Slots | |
void | updateAlpha () |
void | updateAutoColor () |
void | updateColor () |
void | updateLineWidth () |
void | updateOnlyEdge () |
Private Member Functions | |
void | processMessage (const jsk_pcl_ros::BoundingBoxArray::ConstPtr &msg) |
Definition at line 50 of file bounding_box_array_display.h.
typedef boost::shared_ptr<rviz::BillboardLine> jsk_rviz_plugin::BoundingBoxArrayDisplay::BillboardLinePtr |
Definition at line 55 of file bounding_box_array_display.h.
typedef boost::shared_ptr<rviz::Shape> jsk_rviz_plugin::BoundingBoxArrayDisplay::ShapePtr |
Definition at line 54 of file bounding_box_array_display.h.
Definition at line 39 of file bounding_box_array_display.cpp.
Definition at line 58 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::allocateBillboardLines | ( | int | num | ) | [protected] |
Definition at line 136 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::allocateShapes | ( | int | num | ) | [protected] |
Definition at line 121 of file bounding_box_array_display.cpp.
QColor jsk_rviz_plugin::BoundingBoxArrayDisplay::getColor | ( | size_t | index | ) | [protected] |
Definition at line 66 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_pcl_ros::BoundingBoxArray >.
Definition at line 78 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::processMessage | ( | const jsk_pcl_ros::BoundingBoxArray::ConstPtr & | msg | ) | [private] |
Definition at line 150 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::reset | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_pcl_ros::BoundingBoxArray >.
Definition at line 115 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::updateAlpha | ( | ) | [private, slot] |
Definition at line 100 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::updateAutoColor | ( | ) | [private, slot] |
Definition at line 110 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::updateColor | ( | ) | [private, slot] |
Definition at line 95 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::updateLineWidth | ( | ) | [private, slot] |
Definition at line 90 of file bounding_box_array_display.cpp.
void jsk_rviz_plugin::BoundingBoxArrayDisplay::updateOnlyEdge | ( | ) | [private, slot] |
Definition at line 105 of file bounding_box_array_display.cpp.
double jsk_rviz_plugin::BoundingBoxArrayDisplay::alpha_ [protected] |
Definition at line 70 of file bounding_box_array_display.h.
Definition at line 65 of file bounding_box_array_display.h.
bool jsk_rviz_plugin::BoundingBoxArrayDisplay::auto_color_ [protected] |
Definition at line 72 of file bounding_box_array_display.h.
Definition at line 68 of file bounding_box_array_display.h.
QColor jsk_rviz_plugin::BoundingBoxArrayDisplay::color_ [protected] |
Definition at line 69 of file bounding_box_array_display.h.
Definition at line 64 of file bounding_box_array_display.h.
Definition at line 75 of file bounding_box_array_display.h.
double jsk_rviz_plugin::BoundingBoxArrayDisplay::line_width_ [protected] |
Definition at line 73 of file bounding_box_array_display.h.
Definition at line 67 of file bounding_box_array_display.h.
bool jsk_rviz_plugin::BoundingBoxArrayDisplay::only_edge_ [protected] |
Definition at line 71 of file bounding_box_array_display.h.
Definition at line 66 of file bounding_box_array_display.h.
Definition at line 74 of file bounding_box_array_display.h.