API Documentation
Loading...
Searching...
No Matches
CameraView Class Referenceabstract

#include <CameraView.h>

Inheritance diagram for CameraView:
[legend]
Collaboration diagram for CameraView:
[legend]

Public Types

enum  SwapMode { e_no_swap , e_swap_normal , e_swap_resize }
 
enum  RecordingState { e_recording , e_paused , e_stopped }
 

Signals

void viewportSelectionSignal (UUID camera, Buffer< UUID > selection)
 
void viewportShowing ()
 
void requestCameraCopy (UUID signal, bool)
 
void requestSwapSignal (UUID signal)
 
void requestRedrawAllSignal ()
 
void viewHiddenSignal ()
 
void recordingStateChangedSignal (RecordingState state)
 
void onScreenshotSaved (const File &file)
 
void onVideoSaved (const File &file)
 
void requestSelectedSignal ()
 
void requestMoveable (bool moveable)
 

Public Member Functions

 CameraView (QWidget *parent=nullptr)
 
virtual ~CameraView ()
 
virtual void updateView ()=0
 
virtual void setTouchTheme (bool touch_theme)=0
 
virtual void setSwapMode (SwapMode mode)=0
 
virtual UUID id () const =0
 
virtual ConstPointer< Camera > camera () const =0
 
virtual DynamicPointer< Camera > camera ()=0
 
bool event (QEvent *event) override
 
virtual void setIconSizeMultiplier (fltp04)
 
virtual void addWidget (const QPointer< QWidget > &)
 
virtual void removeWidget (const QPointer< QWidget > &)
 
virtual void setCameraRotation (Angle< fltp08 >)
 
virtual void setCameraZoom (fltp08)
 
virtual Angle< fltp08cameraRotation ()
 
virtual void resetToolRibbon ()
 
virtual void showToolRibbon (bool)
 
virtual QSize sizeHint () const override
 
virtual QWidget * cameraToolbar ()
 
virtual void addModels (const Buffer< UUID > &)
 
virtual void clearModels ()
 
virtual RecordingState recordingState () const
 
virtual void addContextCustomMenu (const UUID &, ContextMenuCallback *)
 
virtual void requestShowInfoDisplay (bool)
 

Member Enumeration Documentation

◆ RecordingState

Enumerator
e_recording 
e_paused 
e_stopped 

◆ SwapMode

enum SwapMode
Enumerator
e_no_swap 
e_swap_normal 
e_swap_resize 

Constructor & Destructor Documentation

◆ CameraView()

CameraView ( QWidget * parent = nullptr)
inline

◆ ~CameraView()

virtual ~CameraView ( )
inlinevirtual

Member Function Documentation

◆ addContextCustomMenu()

virtual void addContextCustomMenu ( const UUID & ,
ContextMenuCallback *  )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ addModels()

virtual void addModels ( const Buffer< UUID > & )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ addWidget()

virtual void addWidget ( const QPointer< QWidget > & )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ camera() [1/2]

virtual ConstPointer< Camera > camera ( ) const
pure virtual

Implemented in VirtualCameraView.

◆ camera() [2/2]

virtual DynamicPointer< Camera > camera ( )
pure virtual

Implemented in VirtualCameraView.

◆ cameraRotation()

virtual Angle< fltp08 > cameraRotation ( )
inlinevirtual

◆ cameraToolbar()

virtual QWidget * cameraToolbar ( )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ clearModels()

virtual void clearModels ( )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ event()

bool event ( QEvent * event)
override

◆ id()

virtual UUID id ( ) const
pure virtual

Implemented in VirtualCameraView.

◆ onScreenshotSaved

void onScreenshotSaved ( const File & file)
signal

◆ onVideoSaved

void onVideoSaved ( const File & file)
signal

◆ recordingState()

virtual RecordingState recordingState ( ) const
inlinevirtual

◆ recordingStateChangedSignal

void recordingStateChangedSignal ( RecordingState state)
signal

◆ removeWidget()

virtual void removeWidget ( const QPointer< QWidget > & )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ requestCameraCopy

void requestCameraCopy ( UUID signal,
bool  )
signal

◆ requestMoveable

void requestMoveable ( bool moveable)
signal

◆ requestRedrawAllSignal

void requestRedrawAllSignal ( )
signal

◆ requestSelectedSignal

void requestSelectedSignal ( )
signal

◆ requestShowInfoDisplay()

virtual void requestShowInfoDisplay ( bool )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ requestSwapSignal

void requestSwapSignal ( UUID signal)
signal

◆ resetToolRibbon()

virtual void resetToolRibbon ( )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ setCameraRotation()

virtual void setCameraRotation ( Angle< fltp08 > )
inlinevirtual

◆ setCameraZoom()

virtual void setCameraZoom ( fltp08 )
inlinevirtual

◆ setIconSizeMultiplier()

virtual void setIconSizeMultiplier ( fltp04 )
inlinevirtual

◆ setSwapMode()

virtual void setSwapMode ( SwapMode mode)
pure virtual

Implemented in VirtualCameraView.

◆ setTouchTheme()

virtual void setTouchTheme ( bool touch_theme)
pure virtual

Implemented in VirtualCameraView.

◆ showToolRibbon()

virtual void showToolRibbon ( bool )
inlinevirtual

Reimplemented in VirtualCameraView.

◆ sizeHint()

QSize sizeHint ( ) const
overridevirtual

◆ updateView()

virtual void updateView ( )
pure virtual

Implemented in VirtualCameraView.

◆ viewHiddenSignal

void viewHiddenSignal ( )
signal

◆ viewportSelectionSignal

void viewportSelectionSignal ( UUID camera,
Buffer< UUID > selection )
signal

◆ viewportShowing

void viewportShowing ( )
signal

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