|
Avara3D 0.2.0
C++ API reference
|
Base class for camera projection models used by VisualWorld. More...
#include <a3d/visual/camera/Camera.h>
Public Member Functions | |
| Camera () | |
| Creates an unnamed Camera. More... | |
| Camera (const std::string &name) | |
Creates a Camera with name. More... | |
| const std::optional< std::string > & | name () const |
| Returns the optional camera name. More... | |
| void | name (const std::string &name) |
| Sets the camera name. More... | |
Base class for camera projection models used by VisualWorld.
A Camera is attached to a Node; the Node's world transform supplies the camera pose while the concrete Camera supplies the projection.
| a3d::Camera::Camera | ( | ) |
Creates an unnamed Camera.
|
explicit |
Creates a Camera with name.
| const std::optional< std::string > & a3d::Camera::name | ( | ) | const |
Returns the optional camera name.
| void a3d::Camera::name | ( | const std::string & | name | ) |
Sets the camera name.