![]()  | 
  
    ProtoTracer
    1.0
    
   Real-time 3D rendering and animation engine 
   | 
 
#include <KaiborgV1Controller.h>


Public Member Functions | |
| KaiborgV1Controller (uint8_t maxBrightness) | |
| void | Initialize () override | 
| Initializes the controller.   | |
| void | Display () override | 
| Updates and displays content on the lighting system.   | |
  Public Member Functions inherited from Controller | |
| uint8_t | GetBrightness () | 
| Retrieves the current brightness level.   | |
| uint8_t | GetAccentBrightness () | 
| Retrieves the current accent brightness level.   | |
| virtual void | SetBrightness (uint8_t maxBrightness)=0 | 
| Sets the maximum brightness for the controller.   | |
| virtual void | SetAccentBrightness (uint8_t maxAccentBrightness)=0 | 
| Sets the maximum accent brightness for the controller.   | |
Private Attributes | |
| CameraLayout | cameraLayout = CameraLayout(CameraLayout::ZForward, CameraLayout::YUp) | 
| Transform | camRghtTransform = Transform(Vector3D(), Vector3D(0, 0, -500.0f), Vector3D(1, 1, 1)) | 
| Transform | camLeftTransform = Transform(Vector3D(), Vector3D(0, 0, -500.0f), Vector3D(1, 1, 1)) | 
| PixelGroup< 571 > | camRghtPixels = PixelGroup<571>(KaiborgV1Pixels, IPixelGroup::ZEROTOMAX) | 
| PixelGroup< 571 > | camLeftPixels = PixelGroup<571>(KaiborgV1Pixels, IPixelGroup::MAXTOZERO) | 
| Camera< 571 > | camRght = Camera<571>(&camRghtTransform, &cameraLayout, &camRghtPixels) | 
| Camera< 571 > | camLeft = Camera<571>(&camLeftTransform, &cameraLayout, &camLeftPixels) | 
| CameraBase * | cameras [2] = { &camRght, &camLeft } | 
Additional Inherited Members | |
  Protected Member Functions inherited from Controller | |
| Controller (CameraManager *cameras, uint8_t maxBrightness, uint8_t maxAccentBrightness) | |
| Constructs a Controller with specified parameters.   | |
| void | UpdateBrightness () | 
| Updates the brightness based on internal logic.   | |
  Protected Attributes inherited from Controller | |
| CameraManager * | cameras | 
| Pointer to the CameraManager for managing camera data.   | |
| uint8_t | brightness | 
| Current brightness level.   | |
| uint8_t | accentBrightness | 
| Current accent brightness level.   | |
| uint8_t | maxBrightness | 
| Maximum allowed brightness level.   | |
| uint8_t | maxAccentBrightness | 
| Maximum allowed accent brightness level.   | |
| bool | isOn = false | 
| Indicates if the controller is active.   | |
| bool | startTime = false | 
| Indicates if the start time has been recorded.   | |
Definition at line 15 of file KaiborgV1Controller.h.
      
  | 
  inline | 
Definition at line 31 of file KaiborgV1Controller.h.
      
  | 
  inlineoverridevirtual | 
Updates and displays content on the lighting system.
Implements Controller.
Definition at line 38 of file KaiborgV1Controller.h.
References RGBColor::B, Controller::brightness, camLeftPixels, camRghtPixels, RGBColor::G, PixelGroup< pixelCount >::GetColor(), leds(), RGBColor::R, and RGBColor::Scale().
      
  | 
  inlineoverridevirtual | 
Initializes the controller.
Implements Controller.
Definition at line 33 of file KaiborgV1Controller.h.
References leds().
      
  | 
  private | 
Definition at line 17 of file KaiborgV1Controller.h.
      
  | 
  private | 
Definition at line 28 of file KaiborgV1Controller.h.
      
  | 
  private | 
Definition at line 26 of file KaiborgV1Controller.h.
      
  | 
  private | 
Definition at line 23 of file KaiborgV1Controller.h.
Referenced by Display().
      
  | 
  private | 
Definition at line 20 of file KaiborgV1Controller.h.
      
  | 
  private | 
Definition at line 25 of file KaiborgV1Controller.h.
      
  | 
  private | 
Definition at line 22 of file KaiborgV1Controller.h.
Referenced by Display().
      
  | 
  private | 
Definition at line 19 of file KaiborgV1Controller.h.