Camera interface.
More...
#include <ICamera.hpp>
|
| virtual | ~ICamera ()=default |
| | Destroy the ICamera object.
|
| |
| virtual float | getFov () const =0 |
| | Get the FOV.
|
| |
| virtual void | setFov (float fov)=0 |
| | Set the FOV.
|
| |
| virtual Mode | getMode () const =0 |
| | Get the mode.
|
| |
| virtual void | setMode (Mode mode)=0 |
| | Set the mode.
|
| |
| virtual Vector3f | getPosition () const =0 |
| | Get the position.
|
| |
| virtual void | setPosition (Vector3f position)=0 |
| | Set the position.
|
| |
| virtual Projection | getProjection () const =0 |
| | Get the Projection.
|
| |
| virtual void | setProjection (Projection projection)=0 |
| | Set the Projection.
|
| |
| virtual Vector3f | getTarget () const =0 |
| | Get the target.
|
| |
| virtual void | setTarget (Vector3f size)=0 |
| | Set the target.
|
| |
| virtual Vector3f | getUp () const =0 |
| | Get the up vector.
|
| |
| virtual void | setUp (Vector3f up)=0 |
| | Set the up vector.
|
| |
◆ Mode
| Enumerator |
|---|
| CUSTOM | |
| FREE | |
| ORBITAL | |
| FIRST_PERSON | |
| THIRD_PERSON | |
◆ Projection
| Enumerator |
|---|
| PERSPECTIVE | |
| ORTHOGRAPHIC | |
◆ ~ICamera()
| virtual graphic::ICamera::~ICamera |
( |
| ) |
|
|
virtualdefault |
◆ getFov()
| virtual float graphic::ICamera::getFov |
( |
| ) |
const |
|
pure virtual |
Get the FOV.
- Returns
- float
◆ getMode()
| virtual Mode graphic::ICamera::getMode |
( |
| ) |
const |
|
pure virtual |
Get the mode.
- Returns
- Mode
◆ getPosition()
| virtual Vector3f graphic::ICamera::getPosition |
( |
| ) |
const |
|
pure virtual |
Get the position.
- Returns
- Vector3f
◆ getProjection()
| virtual Projection graphic::ICamera::getProjection |
( |
| ) |
const |
|
pure virtual |
Get the Projection.
- Returns
- Vector3f
◆ getTarget()
| virtual Vector3f graphic::ICamera::getTarget |
( |
| ) |
const |
|
pure virtual |
Get the target.
- Returns
- Vector3f
◆ getUp()
| virtual Vector3f graphic::ICamera::getUp |
( |
| ) |
const |
|
pure virtual |
Get the up vector.
- Returns
- Vector3f
◆ setFov()
| virtual void graphic::ICamera::setFov |
( |
float |
fov | ) |
|
|
pure virtual |
◆ setMode()
| virtual void graphic::ICamera::setMode |
( |
Mode |
mode | ) |
|
|
pure virtual |
◆ setPosition()
| virtual void graphic::ICamera::setPosition |
( |
Vector3f |
position | ) |
|
|
pure virtual |
Set the position.
- Parameters
-
◆ setProjection()
| virtual void graphic::ICamera::setProjection |
( |
Projection |
projection | ) |
|
|
pure virtual |
Set the Projection.
- Parameters
-
◆ setTarget()
| virtual void graphic::ICamera::setTarget |
( |
Vector3f |
size | ) |
|
|
pure virtual |
Set the target.
- Parameters
-
◆ setUp()
| virtual void graphic::ICamera::setUp |
( |
Vector3f |
up | ) |
|
|
pure virtual |
Set the up vector.
- Parameters
-
The documentation for this interface was generated from the following file: