#include <FilamentCamera.h>
|
| FilamentCamera (filament::Engine &engine) |
|
| ~FilamentCamera () |
|
void | SetProjection (double fov, double aspect, double near, double far, FovType fov_type) override |
|
void | SetProjection (Projection projection, double left, double right, double bottom, double top, double near, double far) override |
|
double | GetNear () const override |
|
double | GetFar () const override |
|
double | GetFieldOfView () const override |
| only valid if fov was passed to SetProjection() More...
|
|
FovType | GetFieldOfViewType () const override |
| only valid if fov was passed to SetProjection() More...
|
|
void | SetModelMatrix (const Transform &view) override |
|
void | SetModelMatrix (const Eigen::Vector3f &forward, const Eigen::Vector3f &left, const Eigen::Vector3f &up) override |
|
void | LookAt (const Eigen::Vector3f ¢er, const Eigen::Vector3f &eye, const Eigen::Vector3f &up) override |
|
Eigen::Vector3f | GetPosition () const override |
|
Eigen::Vector3f | GetForwardVector () const override |
|
Eigen::Vector3f | GetLeftVector () const override |
|
Eigen::Vector3f | GetUpVector () const override |
|
Transform | GetModelMatrix () const override |
|
Transform | GetViewMatrix () const override |
|
Transform | GetProjectionMatrix () const override |
|
filament::Camera * | GetNativeCamera () const |
|
virtual | ~Camera ()=default |
|
virtual void | SetProjection (double fov, double aspect, double near, double far, FovType fov_type)=0 |
|
◆ FilamentCamera()
open3d::visualization::rendering::FilamentCamera::FilamentCamera |
( |
filament::Engine & |
engine | ) |
|
|
explicit |
◆ ~FilamentCamera()
open3d::visualization::rendering::FilamentCamera::~FilamentCamera |
( |
| ) |
|
◆ GetFar()
double open3d::visualization::rendering::FilamentCamera::GetFar |
( |
| ) |
const |
|
overridevirtual |
◆ GetFieldOfView()
double open3d::visualization::rendering::FilamentCamera::GetFieldOfView |
( |
| ) |
const |
|
overridevirtual |
◆ GetFieldOfViewType()
Camera::FovType open3d::visualization::rendering::FilamentCamera::GetFieldOfViewType |
( |
| ) |
const |
|
overridevirtual |
◆ GetForwardVector()
Eigen::Vector3f open3d::visualization::rendering::FilamentCamera::GetForwardVector |
( |
| ) |
const |
|
overridevirtual |
◆ GetLeftVector()
Eigen::Vector3f open3d::visualization::rendering::FilamentCamera::GetLeftVector |
( |
| ) |
const |
|
overridevirtual |
◆ GetModelMatrix()
◆ GetNativeCamera()
filament::Camera* open3d::visualization::rendering::FilamentCamera::GetNativeCamera |
( |
| ) |
const |
|
inline |
◆ GetNear()
double open3d::visualization::rendering::FilamentCamera::GetNear |
( |
| ) |
const |
|
overridevirtual |
◆ GetPosition()
Eigen::Vector3f open3d::visualization::rendering::FilamentCamera::GetPosition |
( |
| ) |
const |
|
overridevirtual |
◆ GetProjectionMatrix()
◆ GetUpVector()
Eigen::Vector3f open3d::visualization::rendering::FilamentCamera::GetUpVector |
( |
| ) |
const |
|
overridevirtual |
◆ GetViewMatrix()
◆ LookAt()
void open3d::visualization::rendering::FilamentCamera::LookAt |
( |
const Eigen::Vector3f & |
center, |
|
|
const Eigen::Vector3f & |
eye, |
|
|
const Eigen::Vector3f & |
up |
|
) |
| |
|
overridevirtual |
◆ SetModelMatrix() [1/2]
void open3d::visualization::rendering::FilamentCamera::SetModelMatrix |
( |
const Transform & |
view | ) |
|
|
overridevirtual |
◆ SetModelMatrix() [2/2]
void open3d::visualization::rendering::FilamentCamera::SetModelMatrix |
( |
const Eigen::Vector3f & |
forward, |
|
|
const Eigen::Vector3f & |
left, |
|
|
const Eigen::Vector3f & |
up |
|
) |
| |
|
overridevirtual |
◆ SetProjection() [1/2]
void open3d::visualization::rendering::FilamentCamera::SetProjection |
( |
double |
fov, |
|
|
double |
aspect, |
|
|
double |
near, |
|
|
double |
far, |
|
|
FovType |
fov_type |
|
) |
| |
|
override |
◆ SetProjection() [2/2]
void open3d::visualization::rendering::FilamentCamera::SetProjection |
( |
Projection |
projection, |
|
|
double |
left, |
|
|
double |
right, |
|
|
double |
bottom, |
|
|
double |
top, |
|
|
double |
near, |
|
|
double |
far |
|
) |
| |
|
overridevirtual |
Sets the projection matrix from a frustum defined by six planes.
- Parameters
-
projection | type of Projection to use. |
left | distance in world units from the camera to the left plane, at the near plane. |
right | distance in world units from the camera to the right plane, at the near plane. |
bottom | distance in world units from the camera to the bottom plane, at the near plane. |
top | distance in world units from the camera to the top plane, at the near plane. |
near | distance in world units from the camera to the near plane. The near plane's |
far | distance in world units from the camera to the far plane. The far plane's |
Implements open3d::visualization::rendering::Camera.
The documentation for this class was generated from the following files: