#include <bounding_box_display_common.h>
Public Types | |
typedef std::shared_ptr < rviz::Arrow > | ArrowPtr |
typedef std::shared_ptr < rviz::BillboardLine > | BillboardLinePtr |
typedef std::shared_ptr < rviz::Shape > | ShapePtr |
Public Member Functions | |
BoundingBoxDisplayCommon () | |
~BoundingBoxDisplayCommon () | |
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) |
void | hideCoords () |
bool | isValidBoundingBox (const jsk_recognition_msgs::BoundingBox box_msg) |
void | showBoxes (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg) |
void | showCoords (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg) |
void | showEdges (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &msg) |
Protected Attributes | |
double | alpha_ |
QColor | color_ |
std::string | coloring_method_ |
std::vector< Ogre::SceneNode * > | coords_nodes_ |
std::vector< std::vector < ArrowPtr > > | coords_objects_ |
std::vector< BillboardLinePtr > | edges_ |
double | line_width_ |
std::vector< ShapePtr > | shapes_ |
Definition at line 57 of file bounding_box_display_common.h.
typedef std::shared_ptr<rviz::Arrow> jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::ArrowPtr |
Definition at line 64 of file bounding_box_display_common.h.
typedef std::shared_ptr<rviz::BillboardLine> jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::BillboardLinePtr |
Definition at line 63 of file bounding_box_display_common.h.
typedef std::shared_ptr<rviz::Shape> jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::ShapePtr |
Definition at line 61 of file bounding_box_display_common.h.
jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::BoundingBoxDisplayCommon | ( | ) | [inline] |
Definition at line 60 of file bounding_box_display_common.h.
jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::~BoundingBoxDisplayCommon | ( | ) | [inline] |
Definition at line 61 of file bounding_box_display_common.h.
void jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::allocateBillboardLines | ( | int | num | ) | [inline, protected] |
Definition at line 145 of file bounding_box_display_common.h.
void jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::allocateCoords | ( | int | num | ) | [inline, protected] |
Definition at line 160 of file bounding_box_display_common.h.
void jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::allocateShapes | ( | int | num | ) | [inline, protected] |
Definition at line 129 of file bounding_box_display_common.h.
QColor jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::getColor | ( | size_t | index, |
const jsk_recognition_msgs::BoundingBox & | box, | ||
double | min_value, | ||
double | max_value | ||
) | [inline, protected] |
Definition at line 77 of file bounding_box_display_common.h.
void jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::hideCoords | ( | ) | [inline, protected] |
Definition at line 403 of file bounding_box_display_common.h.
bool jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::isValidBoundingBox | ( | const jsk_recognition_msgs::BoundingBox | box_msg | ) | [inline, protected] |
Definition at line 114 of file bounding_box_display_common.h.
void jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::showBoxes | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | msg | ) | [inline, protected] |
Definition at line 187 of file bounding_box_display_common.h.
void jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::showCoords | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | msg | ) | [inline, protected] |
Definition at line 333 of file bounding_box_display_common.h.
void jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::showEdges | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | msg | ) | [inline, protected] |
Definition at line 242 of file bounding_box_display_common.h.
double jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::alpha_ [protected] |
Definition at line 69 of file bounding_box_display_common.h.
QColor jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::color_ [protected] |
Definition at line 67 of file bounding_box_display_common.h.
std::string jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::coloring_method_ [protected] |
Definition at line 68 of file bounding_box_display_common.h.
std::vector<Ogre::SceneNode*> jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::coords_nodes_ [protected] |
Definition at line 73 of file bounding_box_display_common.h.
std::vector<std::vector<ArrowPtr> > jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::coords_objects_ [protected] |
Definition at line 72 of file bounding_box_display_common.h.
std::vector<BillboardLinePtr> jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::edges_ [protected] |
Definition at line 74 of file bounding_box_display_common.h.
double jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::line_width_ [protected] |
Definition at line 70 of file bounding_box_display_common.h.
std::vector<ShapePtr> jsk_rviz_plugins::BoundingBoxDisplayCommon< MessageType >::shapes_ [protected] |
Definition at line 75 of file bounding_box_display_common.h.