Avara3D 0.2.0
C++ API reference
a3d::Camera Class Referenceabstract

Base class for camera projection models used by VisualWorld. More...

#include <a3d/visual/camera/Camera.h>

Inheritance diagram for a3d::Camera:
[legend]

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...
 

Detailed Description

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.

Definition at line 26 of file Camera.h.

Constructor & Destructor Documentation

◆ Camera() [1/2]

a3d::Camera::Camera ( )

Creates an unnamed Camera.

◆ Camera() [2/2]

a3d::Camera::Camera ( const std::string &  name)
explicit

Creates a Camera with name.

Member Function Documentation

◆ name() [1/2]

const std::optional< std::string > & a3d::Camera::name ( ) const

Returns the optional camera name.

◆ name() [2/2]

void a3d::Camera::name ( const std::string &  name)

Sets the camera name.


The documentation for this class was generated from the following file: