1#ifndef GUIK_STATIC_CAMERA_CONTROL_HPP
2#define GUIK_STATIC_CAMERA_CONTROL_HPP
5#include <Eigen/Geometry>
12 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
16 StaticCameraControl(
const Eigen::Vector3f& eye,
const Eigen::Vector3f& center,
const Eigen::Vector3f& up,
const Eigen::Vector2f&
depth = Eigen::Vector2f(1e-3, 1e3));
22 virtual std::string
name()
const override {
return "StaticCameraControl"; }
23 virtual void load(std::istream& ist)
override;
24 virtual void save(std::ostream& ost)
const override;
Base class for camera control. This class defines the interface for controlling the camera in the vie...
Definition camera_control.hpp:19
EIGEN_MAKE_ALIGNED_OPERATOR_NEW StaticCameraControl()
StaticCameraControl(const Eigen::Vector3f &eye, const Eigen::Vector3f ¢er, const Eigen::Vector3f &up, const Eigen::Vector2f &depth=Eigen::Vector2f(1e-3, 1e3))
virtual std::string name() const override
Definition static_camera_control.hpp:22
virtual Eigen::Matrix4f view_matrix() const override
Get the view matrix of the camera. This method must be implemented by derived classes to return the c...
virtual Eigen::Vector2f depth_range() const override
Get the depth range of the camera. This method can be overridden by derived classes to specify a cust...
Eigen::Matrix4f matrix
Definition static_camera_control.hpp:28
virtual void save(std::ostream &ost) const override
virtual void load(std::istream &ist) override
Eigen::Vector2f depth
Definition static_camera_control.hpp:27
StaticCameraControl(const Eigen::Isometry3f &T_world_camera, const Eigen::Vector2f &depth=Eigen::Vector2f(1e-3, 1e3))
virtual ~StaticCameraControl() override
Definition drawable_container.hpp:9