39 namespace visualization {
47 void SetProjection(
double fov,
51 FovType fov_type)
override;
61 double GetNear()
const override;
62 double GetFar()
const override;
64 double GetFieldOfView()
const override;
66 FovType GetFieldOfViewType()
const override;
68 void SetModelMatrix(
const Transform& view)
override;
69 void SetModelMatrix(
const Eigen::Vector3f& forward,
70 const Eigen::Vector3f& left,
71 const Eigen::Vector3f& up)
override;
73 void LookAt(
const Eigen::Vector3f& center,
74 const Eigen::Vector3f& eye,
75 const Eigen::Vector3f& up)
override;
77 Eigen::Vector3f GetPosition()
const override;
78 Eigen::Vector3f GetForwardVector()
const override;
79 Eigen::Vector3f GetLeftVector()
const override;
80 Eigen::Vector3f GetUpVector()
const override;
81 Transform GetModelMatrix()
const override;
83 Transform GetProjectionMatrix()
const override;
88 filament::Camera* camera_ =
nullptr;
89 filament::Engine& engine_;
Projection
Definition: Camera.h:38
Definition: FilamentCamera.h:42
GLMatrix4f LookAt(const Eigen::Vector3d &eye, const Eigen::Vector3d &lookat, const Eigen::Vector3d &up)
Definition: GLHelper.cpp:36
filament::Camera * GetNativeCamera() const
Definition: FilamentCamera.h:85
Eigen::Transform< float, 3, Eigen::Affine > Transform
Definition: Camera.h:39
Definition: PinholeCameraIntrinsic.cpp:35
Definition: FilamentEngine.h:31