30 #ifndef RVIZ_TF_DISPLAY_H 31 #define RVIZ_TF_DISPLAY_H 36 #include <OgreQuaternion.h> 37 #include <OgreVector3.h> 55 class QuaternionProperty;
71 virtual void update(
float wall_dt,
float ros_dt);
75 virtual void onInitialize();
77 virtual void fixedFrameChanged();
81 void updateShowAxes();
82 void updateShowArrows();
83 void updateShowNames();
84 void allEnabledChanged();
88 FrameInfo* createFrame(
const std::string& frame);
90 void deleteFrame(
FrameInfo* frame,
bool delete_properties);
92 FrameInfo* getFrameInfo(
const std::string& frame);
97 virtual void onEnable();
98 virtual void onDisable();
137 void setEnabled(
bool enabled );
141 void updateVisibilityFromFrame();
144 void updateVisibilityFromSelection();
175 #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_
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_
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