![]() |
ProtoTracer
1.0
Real-time 3D rendering and animation engine
|
Manages multiple CameraBase objects. More...
#include <CameraManager.h>
Public Member Functions | |
CameraManager (CameraBase **cameras, uint8_t count) | |
Constructs a CameraManager object. | |
CameraBase ** | GetCameras () |
Retrieves the array of CameraBase objects. | |
uint8_t | GetCameraCount () |
Retrieves the count of cameras managed by the CameraManager. | |
Protected Attributes | |
CameraBase ** | cameras |
Array of pointers to CameraBase objects. | |
uint8_t | count |
Number of CameraBase objects managed. | |
Manages multiple CameraBase objects.
The CameraManager class provides a centralized interface for handling multiple camera instances, including retrieval of camera data and count.
Definition at line 23 of file CameraManager.h.
CameraManager | ( | CameraBase ** | cameras, |
uint8_t | count | ||
) |
Constructs a CameraManager object.
cameras | Pointer to an array of CameraBase objects. |
count | The number of cameras in the array. |
Definition at line 3 of file CameraManager.cpp.
uint8_t GetCameraCount | ( | ) |
Retrieves the count of cameras managed by the CameraManager.
Definition at line 12 of file CameraManager.cpp.
References count.
Referenced by RenderingEngine::DisplayWhite(), and RenderingEngine::Rasterize().
CameraBase ** GetCameras | ( | ) |
Retrieves the array of CameraBase objects.
Definition at line 8 of file CameraManager.cpp.
References cameras.
Referenced by APA102Controller::Display(), HUB75Controller::Display(), HUB75ControllerSplit::Display(), HUB75ControllerSquare::Display(), WS35BetaController::Display(), WS35Controller::Display(), RenderingEngine::DisplayWhite(), and RenderingEngine::Rasterize().
|
protected |
Array of pointers to CameraBase objects.
Definition at line 25 of file CameraManager.h.
Referenced by CameraManager(), and GetCameras().
|
protected |
Number of CameraBase objects managed.
Definition at line 26 of file CameraManager.h.
Referenced by CameraManager(), and GetCameraCount().