41class QPropertyAnimation;
42class QParallelAnimationGroup;
45 class BackgroundandLightingEditor;
48 class QTGraphicsWindow;
49 class QTGraphicsWidget;
51 class CameraRulerMenu;
54 class QCustomDockWidget;
59 class QTResourceListener;
60 class ContextMenuCallback;
89 virtual void addWidget(
const QPointer<QWidget>& widget)
override;
90 virtual void removeWidget(
const QPointer<QWidget>& widget)
override;
95 void screenshotToObject(
bool include_background);
133 bool m_should_show_info =
true;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A simple frame for displaying Viewport data to a user. Data is rendered by a given Rendering engine b...
Definition CameraView.h:50
SwapMode
Definition CameraView.h:54
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object...
Definition GraphicsPipeline.h:42
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
A Window used to render 3D graphics. This container allows for a different graphics backend to be use...
Definition QtGraphicsWindow.h:58
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Definition QTModelManager.h:105
The core String class for the NDEVR API.
Definition String.h:69
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
A Viewport for rendering 3D objects in the scene with the NDEVR Graphics Engine. Users interact with ...
Definition VirtualCameraView.h:66
String getCursorID() const
CameraRulerMenu * m_ruler_combo
Definition VirtualCameraView.h:125
void showContextMenu(const QPoint &pos)
QTResourceListener * m_cursor_listener
Definition VirtualCameraView.h:118
VirtualCameraView(QTGraphicsWidget *widget, const DynamicPointer< Camera > &camera, QTModelManager *model_manager, QWidget *parent=nullptr)
void showToolRibbon(bool visible) override
void setModelManager(QTModelManager *manager, bool auto_add_models)
void editOverrideMaterial()
QTGraphicsWindow * graphicsWindow() const
Definition VirtualCameraView.h:80
void setSwapMode(SwapMode mode) override
Dictionary< UUID, ContextMenuCallback * > m_custom_context_callbacks
Definition VirtualCameraView.h:114
Ruler * m_top_ruler
Definition VirtualCameraView.h:123
virtual ConstPointer< Camera > camera() const override
bool m_show_toolbar
Definition VirtualCameraView.h:127
bool m_show_top_ruler_perspective
Definition VirtualCameraView.h:131
void clearModels() override
CameraToolbar * m_camera_toolbar
Definition VirtualCameraView.h:117
bool m_show_top_ruler_ortho
Definition VirtualCameraView.h:130
void onMaterialDeleted(UUID material)
void updateView() override
void screenshotToPrint(uint04 index=Constant< uint04 >::Invalid)
bool m_show_edge_ruler_ortho
Definition VirtualCameraView.h:128
void objectRefresh(UUID id)
bool m_show_edge_ruler_perspective
Definition VirtualCameraView.h:129
QTResourceListener * m_orientation_listener
Definition VirtualCameraView.h:121
QTResourceListener * m_orthograhic_listener
Definition VirtualCameraView.h:120
void dragEnterEvent(QDragEnterEvent *event) override
virtual void addWidget(const QPointer< QWidget > &widget) override
void requestCameraLink(bool selected)
bool event(QEvent *e) override
QWidget * cameraToolbar() override
void resetToolRibbon() override
QTResourceListener * m_selection_info_listener
Definition VirtualCameraView.h:119
void requestShowInfoDisplay(bool should_show) override
void screenshotToClipboard(bool include_background)
QTGraphicsWindow * m_graphics_window
Definition VirtualCameraView.h:115
void addModels(const Buffer< UUID > &ids) override
QTGraphicsWidget * m_graphics_widget
Definition VirtualCameraView.h:126
virtual void removeWidget(const QPointer< QWidget > &widget) override
void addContextCustomMenu(const UUID &id, ContextMenuCallback *callback) override
VirtualCameraView(QTGraphicsWidget *widget, QWidget *parent=nullptr)
virtual DynamicPointer< Camera > camera() override
void setTouchTheme(bool touch_theme) override
void dropEvent(QDropEvent *event) override
QTModelManager * m_model_manager
Definition VirtualCameraView.h:116
void setCamera(const DynamicPointer< Camera > &camera)
Button * m_ruler_button
Definition VirtualCameraView.h:124
bool m_touch_theme
Definition VirtualCameraView.h:132
void toPDF(const File &pdf_file)
void removeOverrideMaterial()
Ruler * m_side_ruler
Definition VirtualCameraView.h:122
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233