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();
51 public:
virtual void Init(
const ignition::math::Vector3d &_focalPoint,
52 const double _yaw = 0,
const double _pitch = 0);
56 public:
static std::string GetTypeString();
65 private:
void Zoom(
const float _amount,
66 const ignition::math::Vector2i &_point =
67 ignition::math::Vector2i(0, 0));
70 public:
virtual void Resize(
const unsigned int _width,
71 const unsigned int _height);
80 private: Ogre::Matrix4 BuildScaledOrthoMatrix(
81 const float _left,
const float _right,
82 const float _bottom,
const float _top,
83 const float _near,
const float _far)
const;
87 private: OrthoViewControllerPrivate *dataPtr;
Generic description of a mouse event.
Definition: MouseEvent.hh:35
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:94
Forward declarations for the common classes.
Definition: Animation.hh:26
Orbit view controller.
Definition: OrbitViewController.hh:37
Orthographic view controller.
Definition: OrthoViewController.hh:38
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:59