17 #ifndef GAZEBO_RENDERING_ORTHOVIEWCONTROLLER_HH_
18 #define GAZEBO_RENDERING_ORTHOVIEWCONTROLLER_HH_
21 #include <ignition/math/Vector2.hh>
31 class OrthoViewControllerPrivate;
48 public:
virtual void Init();
56 public:
virtual void Init(
const ignition::math::Vector3d &_focalPoint,
57 const double _yaw = 0,
const double _pitch = 0);
61 public:
static std::string GetTypeString();
70 private:
void Zoom(
const float _amount,
71 const ignition::math::Vector2i &_point =
72 ignition::math::Vector2i(0, 0));
75 public:
virtual void Resize(
const unsigned int _width,
76 const unsigned int _height);
85 private: Ogre::Matrix4 BuildScaledOrthoMatrix(
86 const float _left,
const float _right,
87 const float _bottom,
const float _top,
88 const float _near,
const float _far)
const;
92 private: OrthoViewControllerPrivate *dataPtr;
Generic description of a mouse event.
Definition: MouseEvent.hh:35
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:93
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:44
Orbit view controller.
Definition: OrbitViewController.hh:38
Orthographic view controller.
Definition: OrthoViewController.hh:38
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:58