Class FixedOrientationOrthoViewController

Inheritance Relationships

Base Type

  • public rviz_common::FramePositionTrackingViewController

Class Documentation

class FixedOrientationOrthoViewController : public rviz_common::FramePositionTrackingViewController

Public Functions

FixedOrientationOrthoViewController()
~FixedOrientationOrthoViewController() override = default
void onInitialize() override
void handleMouseEvent(rviz_common::ViewportMouseEvent &evt) override
void lookAt(const Ogre::Vector3 &point_rel_world) override
void reset() override
void mimic(ViewController *source_view) override

Configure the settings of this view controller to give, as much as possible, a similar view as that given by the source_view.

source_view must return a valid Ogre::Camera* from getCamera().

void move(float x, float y)
void update(float dt, float ros_dt) override

Protected Functions

void onTargetFrameChanged(const Ogre::Vector3 &old_reference_position, const Ogre::Quaternion &old_reference_orientation) override
void orientCamera()

Set the camera orientation based on angle_.

void setPosition(const Ogre::Vector3 &pos_rel_target)
void updateCamera()
Ogre::SceneNode *getCameraParent(Ogre::Camera *camera)
void renderOnMove()

Protected Attributes

rviz_common::properties::FloatProperty *scale_property_
rviz_common::properties::FloatProperty *angle_property_
rviz_common::properties::FloatProperty *x_property_
rviz_common::properties::FloatProperty *y_property_
bool dragging_