33#include <NDEVR/QTModelManager.h>
35#include <NDEVR/Editor.h>
36#include <NDEVR/Camera.h>
37#include <NDEVR/Pointer.h>
102 Ui::CameraEditorUI* ui;
void updateNear(double value)
Slot invoked when the near clipping plane distance is changed.
void updateName()
Slot invoked when the camera name is changed by the user.
CameraEditor(QTModelManager *manager, const DynamicPointer< Camera > &camera, QWidget *parent=Q_NULLPTR)
Constructs a CameraEditor for the given camera.
void updateValues() override
Updates all displayed values from the current camera state.
void showEvent(QShowEvent *event) override
Handles the show event to refresh the editor when it becomes visible.
virtual ~CameraEditor()
Destructor.
void setHorizontal(bool horizontal) override
Switches the editor layout between horizontal and vertical orientation.
void updateFar(double value)
Slot invoked when the far clipping plane distance is changed.
void updateOrientation()
Slot invoked when the camera orientation is changed by the user.
Sets up a button to be a combobox with the various snap locations of a camera.
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Editor(QWidget *parent=nullptr)
Constructs an Editor with no design object target.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
The primary namespace for the NDEVR SDK.