ProtoTracer  1.0
Real-time 3D rendering and animation engine
Loading...
Searching...
No Matches
DisplayTest.h
Go to the documentation of this file.
1/**
2 * @file DisplayTest.h
3 * @brief Defines the DisplayTest class for testing camera displays with various patterns.
4 *
5 * The DisplayTest class provides static methods for generating test patterns such as
6 * filling the display with white or alternating white and black pixels.
7 *
8 * @date 22/12/2024
9 * @version 1.0
10 * @author Coela Can't
11 */
12
13#pragma once
14
15#include "../../Camera/Camera.h"
16#include "../../Scene/Scene.h"
17
18/**
19 * @class DisplayTest
20 * @brief Provides static methods for testing and verifying camera displays.
21 */
23public:
24 /**
25 * @brief Fills the camera display entirely with white pixels.
26 * @param camera Pointer to the CameraBase object representing the camera.
27 */
28 static void FillWhite(CameraBase* camera);
29
30 /**
31 * @brief Fills the camera display with an alternating pattern of white and black pixels.
32 * @param camera Pointer to the CameraBase object representing the camera.
33 */
34 static void FillAltWhiteBlack(CameraBase* camera);
35};
Base class for managing camera properties and transformations.
Definition CameraBase.h:26
Provides static methods for testing and verifying camera displays.
Definition DisplayTest.h:22
static void FillWhite(CameraBase *camera)
Fills the camera display entirely with white pixels.
static void FillAltWhiteBlack(CameraBase *camera)
Fills the camera display with an alternating pattern of white and black pixels.