33#include <NDEVR/QTModelManager.h>
34#include <NDEVR/OrientationEditor.h>
35#include <NDEVR/SnapLocation.h>
The equivelent of std::vector but with a bit more control.
void makeRequest(uint01 axis)
Issues a capture request for the given axis orientation view.
void objectsUpdatedSlot(Buffer< UUID > id)
Slot called when scene objects are updated, refreshing affected orientation views.
Vector< 3, UUID > m_target_objects
Target object UUIDs per axis.
UUID getUUID(uint01 axis) const
Returns the target object UUID for the given axis.
void setIncludedObject(uint01 axis, const Buffer< UUID > &objects)
Sets the included objects for a specific orientation axis.
void setTargetObject(const UUID &object)
Sets the target object for all orientation axes.
Vector< 3, SnapLocation > target_snaps
Snap locations for each axis orientation view.
QTModelManager * m_manager
The model manager providing scene data.
void setIncludedObjects(const Buffer< UUID > &objects)
Sets the included objects for all orientation axes.
void updateFromModel()
Updates the orientation preview images from the current model state.
Buffer< UUID > m_included_objects
Shared included objects for all axis views.
Buffer< DynamicPointer< CaptureRequest > > m_pending_requests
Outstanding capture requests for orientation previews.
virtual ~ModelOrientationEditor()
Destroys the model orientation editor and releases resources.
void setTargetObject(uint01 axis, const UUID &object)
Sets the target object for a specific orientation axis.
ModelOrientationEditor(QWidget *parent=nullptr)
Constructs the model orientation editor.
void setManager(QTModelManager *manager)
Sets the model manager used for querying and updating models.
Vector< 3, Buffer< UUID > > m_unique_included_objects
Per-axis included object UUIDs.
OrientationEditor(QWidget *parent=nullptr)
Constructs an OrientationEditor widget.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
A fixed-size array with N dimensions used as the basis for geometric and mathematical types.
The primary namespace for the NDEVR SDK.
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
@ e_right_wo_yaw
Right-side view with yaw locked (no yaw rotation).
@ e_front_wo_pitch_yaw
Front-facing view with both pitch and yaw locked.
@ e_top_down_snap
Top-down (plan) view looking straight down.