API Documentation
|
A service which can generate Viewports based on Camera data. More...
#include <ViewportFactory.h>
Public Member Functions | |
virtual Buffer< DynamicPointer< Camera > > | availableCameraStreams () const |
virtual bool | canCreateView (const DynamicPointer< Camera > &camera, DesignObjectLookup *model_manager)=0 |
virtual CameraView * | createView (const DynamicPointer< Camera > &camera, DesignObjectLookup *model_manager, bool auto_add_models=true, QWidget *parent=nullptr)=0 |
virtual void | resetToDefaults () |
Static Public Member Functions | |
static DESIGN_WIDGETS_API void | AddFactory (ViewportFactory *factory) |
static DESIGN_WIDGETS_API Buffer< DynamicPointer< Camera > > | AvailableCameraStreams () |
static DESIGN_WIDGETS_API CameraView * | CreateView (const DynamicPointer< Camera > &camera, DesignObjectLookup *model_manager, bool auto_add_models=true, QWidget *parent=nullptr) |
static DESIGN_WIDGETS_API Buffer< ViewportFactory * > | RegisteredFactories () |
Static Protected Attributes | |
static Buffer< ViewportFactory * > | s_camera_factories |
|
static |
|
static |
|
inlinevirtual |
|
pure virtual |
Implemented in GLESCameraViewFactory, and VulkanCameraViewFactory.
|
static |
|
pure virtual |
Implemented in GLESCameraViewFactory, and VulkanCameraViewFactory.
|
static |
|
inlinevirtual |
Reimplemented in GLESCameraViewFactory, and VulkanCameraViewFactory.
|
staticprotected |