37 namespace visualization {
44 void SetProjection(
double fov,
58 double GetNear()
const override;
59 double GetFar()
const override;
61 double GetFieldOfView()
const override;
63 FovType GetFieldOfViewType()
const override;
65 void SetModelMatrix(
const Transform& view)
override;
66 void SetModelMatrix(
const Eigen::Vector3f& forward,
67 const Eigen::Vector3f& left,
68 const Eigen::Vector3f& up)
override;
70 void LookAt(
const Eigen::Vector3f& center,
71 const Eigen::Vector3f& eye,
72 const Eigen::Vector3f& up)
override;
74 Eigen::Vector3f GetPosition()
const override;
75 Eigen::Vector3f GetForwardVector()
const override;
76 Eigen::Vector3f GetLeftVector()
const override;
77 Eigen::Vector3f GetUpVector()
const override;
78 Transform GetModelMatrix()
const override;
80 Transform GetProjectionMatrix()
const override;
85 filament::Camera* camera_ =
nullptr;
86 filament::Engine& engine_;
Definition: FilamentCamera.h:39
filament::Camera * GetNativeCamera() const
Definition: FilamentCamera.h:82
Projection
Definition: Camera.h:37
GLMatrix4f LookAt(const Eigen::Vector3d &eye, const Eigen::Vector3d &lookat, const Eigen::Vector3d &up)
Definition: GLHelper.cpp:36
Definition: Open3DViewer.h:29
FovType
Definition: Camera.h:36
Definition: FilamentCamera.h:31
Eigen::Transform< float, 3, Eigen::Affine > Transform
Definition: Camera.h:38