API Documentation
|
#include <VirtualCameraView.h>
Public Member Functions | |
void | addContextCustomMenu (const UUID &id, ContextMenuCallback *callback) override |
void | addModels (const Buffer< UUID > &ids) override |
virtual void | addWidget (const QPointer< QWidget > &widget) override |
virtual ConstPointer< Camera > | camera () const override |
virtual DynamicPointer< Camera > | camera () override |
QWidget * | cameraToolbar () override |
void | clearModels () override |
void | dragEnterEvent (QDragEnterEvent *event) override |
void | dropEvent (QDropEvent *event) override |
bool | event (QEvent *e) override |
String | getCursorID () const |
QTGraphicsWindow * | graphicsWindow () const |
UUID | id () const override |
virtual void | removeWidget (const QPointer< QWidget > &widget) override |
void | requestShowInfoDisplay (bool should_show) override |
void | resetToolRibbon () override |
QImage | screenshot () |
void | screenshotToClipboard (bool include_background) |
void | screenshotToPrint (uint04 index=Constant< uint04 >::Invalid) |
void | setCamera (const DynamicPointer< Camera > &camera) |
void | setModelManager (QTModelManager *manager, bool auto_add_models) |
void | setSwapMode (SwapMode mode) override |
void | setTouchTheme (bool touch_theme) override |
void | setupRulers () |
void | showToolRibbon (bool visible) override |
void | toPDF (const File &pdf_file) |
void | updateView () override |
VirtualCameraView (QTGraphicsWidget *widget, const DynamicPointer< Camera > &camera, QTModelManager *model_manager, QWidget *parent=nullptr) | |
VirtualCameraView (QTGraphicsWidget *widget, QWidget *parent=nullptr) | |
~VirtualCameraView () | |
Public Member Functions inherited from CameraView | |
virtual Angle< fltp08 > | cameraRotation () |
CameraView (QWidget *parent=nullptr) | |
bool | event (QEvent *event) override |
virtual RecordingState | recordingState () const |
virtual void | setCameraRotation (Angle< fltp08 >) |
virtual void | setCameraZoom (fltp08) |
virtual void | setIconSizeMultiplier (fltp04) |
virtual QSize | sizeHint () const override |
virtual | ~CameraView () |
Protected Slots | |
void | editOverrideMaterial () |
void | objectRefresh (UUID id) |
void | onMaterialDeleted (UUID material) |
void | removeOverrideMaterial () |
void | requestCameraLink (bool selected) |
void | showContextMenu (const QPoint &pos) |
Protected Member Functions | |
void | init () |
void | updateCursor () |
Protected Attributes | |
CameraToolbar * | m_camera_toolbar |
QTResourceListener * | m_cursor_listener |
Dictionary< UUID, ContextMenuCallback * > | m_custom_context_callbacks |
QTGraphicsWidget * | m_graphics_widget |
QTGraphicsWindow * | m_graphics_window |
QTModelManager * | m_model_manager |
QTResourceListener * | m_orientation_listener |
QTResourceListener * | m_orthograhic_listener |
Button * | m_ruler_button |
CameraRulerMenu * | m_ruler_combo |
QTResourceListener * | m_selection_info_listener |
bool | m_should_show_info = true |
bool | m_show_edge_ruler_ortho |
bool | m_show_edge_ruler_perspective |
bool | m_show_toolbar |
bool | m_show_top_ruler_ortho |
bool | m_show_top_ruler_perspective |
Ruler * | m_side_ruler |
Ruler * | m_top_ruler |
bool | m_touch_theme |
Additional Inherited Members | |
Public Types inherited from CameraView | |
enum | RecordingState { e_recording , e_paused , e_stopped } |
enum | SwapMode { e_no_swap , e_swap_normal , e_swap_resize } |
Signals inherited from CameraView | |
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 () |
VirtualCameraView | ( | QTGraphicsWidget * | widget, |
const DynamicPointer< Camera > & | camera, | ||
QTModelManager * | model_manager, | ||
QWidget * | parent = nullptr ) |
VirtualCameraView | ( | QTGraphicsWidget * | widget, |
QWidget * | parent = nullptr ) |
~VirtualCameraView | ( | ) |
|
overridevirtual |
Reimplemented from CameraView.
Reimplemented from CameraView.
|
overridevirtual |
Reimplemented from CameraView.
|
overridevirtual |
Implements CameraView.
|
overridevirtual |
Implements CameraView.
|
overridevirtual |
Reimplemented from CameraView.
|
overridevirtual |
Reimplemented from CameraView.
|
override |
|
override |
|
protectedslot |
|
override |
String getCursorID | ( | ) | const |
|
inline |
|
overridevirtual |
Implements CameraView.
|
protected |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
overridevirtual |
Reimplemented from CameraView.
|
protectedslot |
|
overridevirtual |
Reimplemented from CameraView.
|
overridevirtual |
Reimplemented from CameraView.
QImage screenshot | ( | ) |
void screenshotToClipboard | ( | bool | include_background | ) |
void setCamera | ( | const DynamicPointer< Camera > & | camera | ) |
void setModelManager | ( | QTModelManager * | manager, |
bool | auto_add_models ) |
|
overridevirtual |
Implements CameraView.
|
overridevirtual |
Implements CameraView.
void setupRulers | ( | ) |
|
protectedslot |
|
overridevirtual |
Reimplemented from CameraView.
void toPDF | ( | const File & | pdf_file | ) |
|
protected |
|
overridevirtual |
Implements CameraView.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |