Agrarsense
Public Member Functions | Protected Attributes | List of all members
UCameraWidgetBase Class Reference

#include <CameraWidgetBase.h>

Inheritance diagram for UCameraWidgetBase:
Inheritance graph
[legend]
Collaboration diagram for UCameraWidgetBase:
Collaboration graph
[legend]

Public Member Functions

virtual ACameraGetCameraReference ()
 
virtual void SetCameraReference (ACamera *CameraRef)
 
virtual void Setup (ACamera *CameraRef, bool ShowOnStartup=true)
 
void UpdateUI ()
 

Protected Attributes

TObjectPtr< ACameraCameraReference
 
bool ShowGuideOnStartup = true
 

Detailed Description

Base class for camera widget

Definition at line 18 of file CameraWidgetBase.h.

Member Function Documentation

◆ GetCameraReference()

virtual ACamera * UCameraWidgetBase::GetCameraReference ( )
inlinevirtual

Get reference to camera which this widget controls

Returns

Definition at line 29 of file CameraWidgetBase.h.

29{ return CameraReference; }
TObjectPtr< ACamera > CameraReference

◆ SetCameraReference()

virtual void UCameraWidgetBase::SetCameraReference ( ACamera CameraRef)
inlinevirtual

Set reference to camera which this widget controls

Parameters
CameraRef

Definition at line 36 of file CameraWidgetBase.h.

36{ CameraReference = CameraRef; }

◆ Setup()

virtual void UCameraWidgetBase::Setup ( ACamera CameraRef,
bool  ShowOnStartup = true 
)
inlinevirtual

Definition at line 39 of file CameraWidgetBase.h.

40 {
41 SetCameraReference(CameraRef);
42 ShowGuideOnStartup = ShowOnStartup;
43 }
virtual void SetCameraReference(ACamera *CameraRef)

Referenced by ACamera::SetupCamera().

◆ UpdateUI()

void UCameraWidgetBase::UpdateUI ( )

Member Data Documentation

◆ CameraReference

TObjectPtr<ACamera> UCameraWidgetBase::CameraReference
protected

Reference to camera which this widget controls

Definition at line 54 of file CameraWidgetBase.h.

◆ ShowGuideOnStartup

bool UCameraWidgetBase::ShowGuideOnStartup = true
protected

Definition at line 57 of file CameraWidgetBase.h.


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