30 #ifndef RVIZ_FRAME_POSITION_TRACKING_VIEW_CONTROLLER_H 31 #define RVIZ_FRAME_POSITION_TRACKING_VIEW_CONTROLLER_H 33 #include <OgreQuaternion.h> 34 #include <OgreVector3.h> 37 #include "rviz/rviz_export.h" 41 class TfFrameProperty;
56 void onInitialize()
override;
62 void onActivate()
override;
64 void update(
float dt,
float ros_dt)
override;
81 virtual void updateTargetFrame();
88 const Ogre::Quaternion& )
92 bool getNewTransform();
96 virtual void updateTargetSceneNode();
106 #endif // RVIZ_FRAME_POSITION_TRACKING_VIEW_CONTROLLER_H Base class of ViewControllers which have a "Target Frame" which is a TF frame whose position they tra...
TfFrameProperty * target_frame_property_
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
virtual void onTargetFrameChanged(const Ogre::Vector3 &, const Ogre::Quaternion &)
Override to implement the change in properties which nullifies the change in target frame...
Ogre::Vector3 reference_position_
Ogre::Quaternion reference_orientation_
Ogre::SceneNode * target_scene_node_