#include <segment_array_display.h>
Public Types | |
typedef std::shared_ptr < rviz::BillboardLine > | BillboardLinePtr |
Public Member Functions | |
SegmentArrayDisplay () | |
virtual | ~SegmentArrayDisplay () |
Protected Member Functions | |
void | allocateBillboardLines (int num) |
QColor | getColor (size_t index) |
virtual void | onInitialize () |
virtual void | reset () |
virtual void | showEdges (const jsk_recognition_msgs::SegmentArray::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< BillboardLinePtr > | edges_ |
jsk_recognition_msgs::SegmentArray::ConstPtr | latest_msg_ |
double | line_width_ |
rviz::FloatProperty * | line_width_property_ |
Private Slots | |
void | updateAlpha () |
void | updateColor () |
void | updateColoring () |
void | updateLineWidth () |
Private Member Functions | |
void | processMessage (const jsk_recognition_msgs::SegmentArray::ConstPtr &msg) |
Definition at line 54 of file segment_array_display.h.
typedef std::shared_ptr<rviz::BillboardLine> jsk_rviz_plugins::SegmentArrayDisplay::BillboardLinePtr |
Definition at line 59 of file segment_array_display.h.
Definition at line 39 of file segment_array_display.cpp.
Definition at line 62 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::allocateBillboardLines | ( | int | num | ) | [protected] |
Definition at line 141 of file segment_array_display.cpp.
QColor jsk_rviz_plugins::SegmentArrayDisplay::getColor | ( | size_t | index | ) | [protected] |
Definition at line 69 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::onInitialize | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_recognition_msgs::SegmentArray >.
Definition at line 83 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::processMessage | ( | const jsk_recognition_msgs::SegmentArray::ConstPtr & | msg | ) | [private] |
Definition at line 198 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::reset | ( | ) | [protected, virtual] |
Reimplemented from rviz::MessageFilterDisplay< jsk_recognition_msgs::SegmentArray >.
Definition at line 134 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::showEdges | ( | const jsk_recognition_msgs::SegmentArray::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 156 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::updateAlpha | ( | ) | [private, slot] |
Definition at line 110 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::updateColor | ( | ) | [private, slot] |
Definition at line 102 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::updateColoring | ( | ) | [private, slot] |
Definition at line 118 of file segment_array_display.cpp.
void jsk_rviz_plugins::SegmentArrayDisplay::updateLineWidth | ( | ) | [private, slot] |
Definition at line 94 of file segment_array_display.cpp.
double jsk_rviz_plugins::SegmentArrayDisplay::alpha_ [protected] |
Definition at line 75 of file segment_array_display.h.
Definition at line 72 of file segment_array_display.h.
QColor jsk_rviz_plugins::SegmentArrayDisplay::color_ [protected] |
Definition at line 74 of file segment_array_display.h.
Definition at line 71 of file segment_array_display.h.
std::string jsk_rviz_plugins::SegmentArrayDisplay::coloring_method_ [protected] |
Definition at line 76 of file segment_array_display.h.
Definition at line 70 of file segment_array_display.h.
std::vector<BillboardLinePtr> jsk_rviz_plugins::SegmentArrayDisplay::edges_ [protected] |
Definition at line 78 of file segment_array_display.h.
jsk_recognition_msgs::SegmentArray::ConstPtr jsk_rviz_plugins::SegmentArrayDisplay::latest_msg_ [protected] |
Definition at line 80 of file segment_array_display.h.
double jsk_rviz_plugins::SegmentArrayDisplay::line_width_ [protected] |
Definition at line 77 of file segment_array_display.h.
Definition at line 73 of file segment_array_display.h.