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

A simple frame for displaying Viewport data to a user. Data is rendered by a given Rendering engine based on the nature of the Camera stream. More...

#include <CameraView.h>

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

Public Types

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

Signals

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

Public Member Functions

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

Detailed Description

A simple frame for displaying Viewport data to a user. Data is rendered by a given Rendering engine based on the nature of the Camera stream.


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()

virtual 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 file: