36 #ifndef JSK_RVIZ_PLUGINS_SEGMENT_ARRAY_DISPLAY_H_ 37 #define JSK_RVIZ_PLUGINS_SEGMENT_ARRAY_DISPLAY_H_ 40 #include <jsk_recognition_msgs/SegmentArray.h> 49 #include <OGRE/OgreSceneManager.h> 50 #include <OGRE/OgreSceneNode.h> 60 #if ROS_VERSION_MINIMUM(1,12,0) 73 const jsk_recognition_msgs::SegmentArray::ConstPtr& msg);
83 std::vector<BillboardLinePtr>
edges_;
93 const jsk_recognition_msgs::SegmentArray::ConstPtr& msg);
rviz::ColorProperty * color_property_
void processMessage(const jsk_recognition_msgs::SegmentArray::ConstPtr &msg)
rviz::FloatProperty * alpha_property_
std::vector< BillboardLinePtr > edges_
rviz::EnumProperty * coloring_property_
virtual void onInitialize()
std::string coloring_method_
void allocateBillboardLines(int num)
jsk_recognition_msgs::SegmentArray::ConstPtr latest_msg_
virtual void showEdges(const jsk_recognition_msgs::SegmentArray::ConstPtr &msg)
rviz::FloatProperty * line_width_property_
virtual ~SegmentArrayDisplay()
QColor getColor(size_t index)
boost::shared_ptr< rviz::BillboardLine > BillboardLinePtr