39 namespace visualization {
47 void SetProjection(
double fov,
61 void SetProjection(
const Eigen::Matrix3d& intrinsics,
67 void LookAt(
const Eigen::Vector3f& center,
68 const Eigen::Vector3f& eye,
69 const Eigen::Vector3f& up)
override;
71 void SetModelMatrix(
const Transform& view)
override;
72 void SetModelMatrix(
const Eigen::Vector3f& forward,
73 const Eigen::Vector3f& left,
74 const Eigen::Vector3f& up)
override;
76 double GetNear()
const override;
77 double GetFar()
const override;
79 double GetFieldOfView()
const override;
81 FovType GetFieldOfViewType()
const override;
83 Eigen::Vector3f GetPosition()
const override;
84 Eigen::Vector3f GetForwardVector()
const override;
85 Eigen::Vector3f GetLeftVector()
const override;
86 Eigen::Vector3f GetUpVector()
const override;
87 Transform GetModelMatrix()
const override;
89 Transform GetProjectionMatrix()
const override;
92 Eigen::Vector2f GetNDC(
const Eigen::Vector3f& pt)
const override;
94 void CopyFrom(
const Camera* camera)
override;
99 filament::Camera* camera_ =
nullptr;
100 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:96
Eigen::Transform< float, 3, Eigen::Affine > Transform
Definition: Camera.h:39
FovType
Definition: Camera.h:37
Definition: PinholeCameraIntrinsic.cpp:35
int height
Definition: FilePCD.cpp:72
Definition: FilamentEngine.h:31
int width
Definition: FilePCD.cpp:71