30 #ifndef RVIZ_TF_DISPLAY_H 31 #define RVIZ_TF_DISPLAY_H 36 #include <OgreQuaternion.h> 37 #include <OgreVector3.h> 55 class QuaternionProperty;
72 void update(
float wall_dt,
float ros_dt)
override;
76 void onInitialize()
override;
78 void fixedFrameChanged()
override;
79 void reset()
override;
82 void updateShowAxes();
83 void updateShowArrows();
84 void updateShowNames();
85 void allEnabledChanged();
91 FrameInfo* createFrame(
const std::string& frame);
93 M_FrameInfo::iterator deleteFrame(M_FrameInfo::iterator it,
bool delete_properties);
95 FrameInfo* getFrameInfo(
const std::string& frame);
100 void onEnable()
override;
101 void onDisable()
override;
140 void setEnabled(
bool enabled);
145 void updateVisibilityFromFrame();
149 void updateVisibilityFromSelection();
180 #endif // RVIZ_TF_DISPLAY_H Property * frames_category_
FloatProperty * scale_property_
boost::shared_ptr< FrameSelectionHandler > FrameSelectionHandlerPtr
bool changing_single_frame_enabled_state_
BoolProperty * show_arrows_property_
Ogre::SceneNode * root_node_
Ogre::Quaternion arrow_orientation_
Ogre::SceneNode * names_node_
StringProperty * parent_property_
Property * tree_category_
Ogre::SceneNode * arrows_node_
Displays a visual representation of the TF hierarchy.
A single element of a property tree, with a name, value, description, and possibly children...
float distance_to_parent_
M_EnabledState frame_config_enabled_state_
std::map< std::string, bool > M_EnabledState
Internal class needed only by TFDisplay.
Property specialized to enforce floating point max/min.
BoolProperty * show_names_property_
VectorProperty * rel_position_property_
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
Configuration data storage class.
VectorProperty * position_property_
QuaternionProperty * rel_orientation_property_
std::map< std::string, FrameInfo * > M_FrameInfo
CollObjectHandle axes_coll_
BoolProperty * all_enabled_property_
Ogre::SceneNode * axes_node_
BoolProperty * enabled_property_
RegexFilterProperty * filter_whitelist_property_
Ogre::SceneNode * name_node_
An object that displays a set of X/Y/Z axes, with X=Red, Y=Green, Z=Blue.
FrameSelectionHandlerPtr selection_handler_
RegexFilterProperty * filter_blacklist_property_
FloatProperty * update_rate_property_
Property specialized for string values.
BoolProperty * show_axes_property_
Property specialized to provide getter for booleans.
An arrow consisting of a cylinder and a cone.
Property * tree_property_
ros::Time last_time_to_fixed_
FloatProperty * frame_timeout_property_
QuaternionProperty * orientation_property_
uint32_t CollObjectHandle