36 #ifndef JSK_RVIZ_PLUGINS_HUMAN_SKELETON_ARRAY_DISPLAY_H_ 37 #define JSK_RVIZ_PLUGINS_HUMAN_SKELETON_ARRAY_DISPLAY_H_ 40 #include <jsk_recognition_msgs/HumanSkeletonArray.h> 49 #include <OGRE/OgreSceneNode.h> 50 #include <OGRE/OgreSceneManager.h> 60 #if ROS_VERSION_MINIMUM(1,12,0) 62 typedef std::shared_ptr<rviz::Shape>
ShapePtr;
76 const jsk_recognition_msgs::HumanSkeletonArray::ConstPtr& msg);
86 std::vector<BillboardLinePtr>
edges_;
89 jsk_recognition_msgs::HumanSkeletonArray::ConstPtr
latest_msg_;
97 const jsk_recognition_msgs::HumanSkeletonArray::ConstPtr& msg);
std::vector< BillboardLinePtr > edges_
HumanSkeletonArrayDisplay()
std::vector< ShapePtr > shapes_
jsk_recognition_msgs::HumanSkeletonArray::ConstPtr latest_msg_
rviz::ColorProperty * color_property_
virtual void showEdges(const jsk_recognition_msgs::HumanSkeletonArray::ConstPtr &msg)
void allocateBillboardLines(int num)
void allocateSpheres(int num)
void processMessage(const jsk_recognition_msgs::HumanSkeletonArray::ConstPtr &msg)
boost::shared_ptr< rviz::Shape > ShapePtr
rviz::FloatProperty * line_width_property_
virtual void onInitialize()
QColor getColor(size_t index)
rviz::FloatProperty * alpha_property_
rviz::EnumProperty * coloring_property_
std::string coloring_method_
virtual ~HumanSkeletonArrayDisplay()
boost::shared_ptr< rviz::BillboardLine > BillboardLinePtr