#include <bounding_box_array_display.h>
Public Types | |
typedef boost::shared_ptr < rviz::Arrow > | ArrowPtr |
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 | allocateCoords (int num) |
void | allocateShapes (int num) |
QColor | getColor (size_t index, const jsk_recognition_msgs::BoundingBox &box, double min_value, double max_value) |
virtual void | hideCoords () |
virtual bool | isValid (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg) |
virtual void | onInitialize () |
virtual void | reset () |
virtual void | showBoxes (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg) |
virtual void | showCoords (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg) |
virtual void | showEdges (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg) |
Protected Attributes | |
double | alpha_ |
rviz::FloatProperty * | alpha_property_ |
QColor | color_ |
rviz::ColorProperty * | color_property_ |
std::string | coloring_method_ |
rviz::EnumProperty * | coloring_property_ |
std::vector< Ogre::SceneNode * > | coords_nodes_ |
std::vector< std::vector < ArrowPtr > > | coords_objects_ |
std::vector< BillboardLinePtr > | edges_ |
jsk_recognition_msgs::BoundingBoxArray::ConstPtr | latest_msg_ |
double | line_width_ |
rviz::FloatProperty * | line_width_property_ |
bool | only_edge_ |
rviz::BoolProperty * | only_edge_property_ |
std::vector< ShapePtr > | shapes_ |
bool | show_coords_ |
rviz::BoolProperty * | show_coords_property_ |
Private Slots | |
void | updateAlpha () |
void | updateColor () |
void | updateColoring () |
void | updateLineWidth () |
void | updateOnlyEdge () |
void | updateShowCoords () |
Private Member Functions | |
void | processMessage (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg) |
Definition at line 52 of file bounding_box_array_display.h.
typedef boost::shared_ptr<rviz::Arrow> jsk_rviz_plugins::BoundingBoxArrayDisplay::ArrowPtr |
Definition at line 59 of file bounding_box_array_display.h.
typedef boost::shared_ptr<rviz::BillboardLine> jsk_rviz_plugins::BoundingBoxArrayDisplay::BillboardLinePtr |
Definition at line 58 of file bounding_box_array_display.h.
typedef boost::shared_ptr<rviz::Shape> jsk_rviz_plugins::BoundingBoxArrayDisplay::ShapePtr |
Definition at line 57 of file bounding_box_array_display.h.
Definition at line 39 of file bounding_box_array_display.cpp.
Definition at line 72 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::allocateBillboardLines | ( | int | num | ) | [protected] |
Definition at line 237 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::allocateCoords | ( | int | num | ) | [protected] |
Definition at line 252 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::allocateShapes | ( | int | num | ) | [protected] |
Definition at line 221 of file bounding_box_array_display.cpp.
QColor jsk_rviz_plugins::BoundingBoxArrayDisplay::getColor | ( | size_t | index, |
const jsk_recognition_msgs::BoundingBox & | box, | ||
double | min_value, | ||
double | max_value | ||
) | [protected] |
Definition at line 81 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::hideCoords | ( | ) | [protected, virtual] |
Definition at line 488 of file bounding_box_array_display.cpp.
bool jsk_rviz_plugins::BoundingBoxArrayDisplay::isValid | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 271 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_recognition_msgs::BoundingBoxArray >.
Definition at line 118 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::processMessage | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | msg | ) | [private] |
Definition at line 495 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::reset | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_recognition_msgs::BoundingBoxArray >.
Definition at line 211 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::showBoxes | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 293 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::showCoords | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 418 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::showEdges | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 333 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::updateAlpha | ( | ) | [private, slot] |
Definition at line 147 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::updateColor | ( | ) | [private, slot] |
Definition at line 139 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::updateColoring | ( | ) | [private, slot] |
Definition at line 175 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::updateLineWidth | ( | ) | [private, slot] |
Definition at line 131 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::updateOnlyEdge | ( | ) | [private, slot] |
Definition at line 155 of file bounding_box_array_display.cpp.
void jsk_rviz_plugins::BoundingBoxArrayDisplay::updateShowCoords | ( | ) | [private, slot] |
Definition at line 199 of file bounding_box_array_display.cpp.
double jsk_rviz_plugins::BoundingBoxArrayDisplay::alpha_ [protected] |
Definition at line 88 of file bounding_box_array_display.h.
Definition at line 83 of file bounding_box_array_display.h.
QColor jsk_rviz_plugins::BoundingBoxArrayDisplay::color_ [protected] |
Definition at line 87 of file bounding_box_array_display.h.
Definition at line 82 of file bounding_box_array_display.h.
Definition at line 91 of file bounding_box_array_display.h.
Definition at line 81 of file bounding_box_array_display.h.
std::vector<Ogre::SceneNode*> jsk_rviz_plugins::BoundingBoxArrayDisplay::coords_nodes_ [protected] |
Definition at line 95 of file bounding_box_array_display.h.
std::vector<std::vector<ArrowPtr> > jsk_rviz_plugins::BoundingBoxArrayDisplay::coords_objects_ [protected] |
Definition at line 96 of file bounding_box_array_display.h.
Definition at line 94 of file bounding_box_array_display.h.
jsk_recognition_msgs::BoundingBoxArray::ConstPtr jsk_rviz_plugins::BoundingBoxArrayDisplay::latest_msg_ [protected] |
Definition at line 98 of file bounding_box_array_display.h.
double jsk_rviz_plugins::BoundingBoxArrayDisplay::line_width_ [protected] |
Definition at line 92 of file bounding_box_array_display.h.
Definition at line 85 of file bounding_box_array_display.h.
bool jsk_rviz_plugins::BoundingBoxArrayDisplay::only_edge_ [protected] |
Definition at line 89 of file bounding_box_array_display.h.
Definition at line 84 of file bounding_box_array_display.h.
Definition at line 93 of file bounding_box_array_display.h.
bool jsk_rviz_plugins::BoundingBoxArrayDisplay::show_coords_ [protected] |
Definition at line 90 of file bounding_box_array_display.h.
Definition at line 86 of file bounding_box_array_display.h.