API Documentation
Loading...
Searching...
No Matches
QModelViewCapture Class Reference

#include <ModelViewCapture.h>

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

Public Member Functions

 QModelViewCapture (const DynamicPointer< GraphicsDevice > &device, QTModelManager *manager)
 
virtual ~QModelViewCapture ()
 
virtual void initialize ()
 
void setCamera (const UUID &camera) override
 
void setSize (const Vector< 2, uint04 > &size) final override
 
virtual void * getSurface () override
 
void update ()
 
uint04 getGrabImageSize () final override
 
virtual bool shouldExit () const override
 
void setupMaterialModel ()
 
void addRequest (const ConstPointer< CaptureRequest > &request)
 
void executeRequest (const ConstPointer< CaptureRequest > &request)
 
void removeRequest (const ConstPointer< CaptureRequest > &request)
 
uint04 requestSize () const
 
void setCacheCallback (const std::function< void(const CaptureCache &)> &function)
 
QImage getModelImage (const CaptureInfo &info)
 
void requestModelImage (const ConstPointer< CaptureRequest > &request)
 
void finishFrame (GraphicsUpdateArguments &args) override
 

Public Attributes

Resource< bool > is_running
 

Protected Member Functions

RenderergetRenderer ()
 

Friends

class QModelViewCaptureThread
 

Constructor & Destructor Documentation

◆ QModelViewCapture()

QModelViewCapture ( const DynamicPointer< GraphicsDevice > & device,
QTModelManager * manager )
explicit

◆ ~QModelViewCapture()

~QModelViewCapture ( )
virtual

Member Function Documentation

◆ addRequest()

void addRequest ( const ConstPointer< CaptureRequest > & request)

◆ executeRequest()

void executeRequest ( const ConstPointer< CaptureRequest > & request)

◆ finishFrame()

void finishFrame ( GraphicsUpdateArguments & args)
override

◆ getGrabImageSize()

uint04 getGrabImageSize ( )
inlinefinaloverride

◆ getModelImage()

QImage getModelImage ( const CaptureInfo & info)

◆ getRenderer()

Renderer * getRenderer ( )
inlineprotected

◆ getSurface()

virtual void * getSurface ( )
inlineoverridevirtual

◆ initialize()

void initialize ( )
virtual

◆ removeRequest()

void removeRequest ( const ConstPointer< CaptureRequest > & request)

◆ requestModelImage()

void requestModelImage ( const ConstPointer< CaptureRequest > & request)

◆ requestSize()

uint04 requestSize ( ) const
inline

◆ setCacheCallback()

void setCacheCallback ( const std::function< void(const CaptureCache &)> & function)
inline

◆ setCamera()

void setCamera ( const UUID & camera)
override

◆ setSize()

void setSize ( const Vector< 2, uint04 > & size)
inlinefinaloverride

◆ setupMaterialModel()

void setupMaterialModel ( )

◆ shouldExit()

bool shouldExit ( ) const
overridevirtual

◆ update()

void update ( )

Friends And Related Symbol Documentation

◆ QModelViewCaptureThread

friend class QModelViewCaptureThread
friend

Member Data Documentation

◆ is_running

Resource<bool> is_running

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