Class AIAC::LayerCameraCalib¶
ClassList > AIAC > LayerCameraCalib
Inherits the following classes: AIAC::Layer
Public Attributes¶
Type | Name |
---|---|
bool | AutoCapture = = true |
int | Delay = = 1500 |
bool | JustCaptured = = false |
int | NumOfFrame = = 100 |
std::string | SaveFilename = = "assets/tslam/calibration.yml" |
Public Functions¶
Type | Name |
---|---|
void | Clear () |
CameraCalibrator & | GetCameraCalibrator () |
bool | IsCalibrating () const |
bool | IsCapturing () const |
LayerCameraCalib () = default | |
virtual void | OnAttach () override Is called when the layer is attached to the application. |
virtual void | OnFrameStart () override Is called when frame starts. |
void | SetSaveFilename (const std::string & filename) |
void | StartCalibration () |
void | StartCapturing () |
void | StopCalibration () |
~LayerCameraCalib () override |
Public Functions inherited from AIAC::Layer¶
See AIAC::Layer
Type | Name |
---|---|
virtual void | OnAttach () Is called when the layer is attached to the application. |
virtual void | OnDetach () Is called when the layer is detached from the application (~app). |
virtual void | OnFrameAwake () Is calle before GLFW poll events, GL frame and Imgui Frame. |
virtual void | OnFrameEnd () Is called when frame ends. |
virtual void | OnFrameFall () Is called when the GLFW, GL and Imgui frame is updated and rendered. |
virtual void | OnFrameStart () Is called when frame starts. |
virtual | ~Layer () = default |
Public Attributes Documentation¶
variable AutoCapture¶
variable Delay¶
variable JustCaptured¶
variable NumOfFrame¶
variable SaveFilename¶
Public Functions Documentation¶
function Clear¶
function GetCameraCalibrator¶
function IsCalibrating¶
function IsCapturing¶
function LayerCameraCalib¶
function OnAttach¶
Is called when the layer is attached to the application.
Implements AIAC::Layer::OnAttach
function OnFrameStart¶
Is called when frame starts.
Implements AIAC::Layer::OnFrameStart
function SetSaveFilename¶
function StartCalibration¶
function StartCapturing¶
function StopCalibration¶
function ~LayerCameraCalib¶
The documentation for this class was generated from the following file src/AIAC/LayerCameraCalib.h