Base level class providing convenience functions for interfacing with one or more DesignObjects.
More...
|
| void | onTargetDeletedSlot (UUID id) |
| | Slot called when a target design object is deleted, removing it from the targets.
|
| void | onTargetUpdatedSlot (UUID id) |
| | Slot called when a target design object is updated, forwarding to the widget interface.
|
Base level class providing convenience functions for interfacing with one or more DesignObjects.
Definition at line 96 of file DesignObjectWidgetInterface.h.
◆ DesignObjectInterface()
◆ addTarget()
Adds a design object to the set of targets and connects its signals.
- Parameters
-
| [in] | object | The design object to add. |
◆ bounds()
| virtual Bounds< 3, fltp08 > DesignObjectInterface::bounds |
( |
| ) |
const |
|
virtual |
Returns the combined 3D bounding box of all target design objects.
- Returns
- The axis-aligned bounding box encompassing all targets.
◆ manager()
◆ models()
| Buffer< Model > DesignObjectInterface::models |
( |
| ) |
const |
Returns all target objects as Models.
- Returns
- A buffer of Model instances.
◆ onTargetDeletedSlot()
| void DesignObjectInterface::onTargetDeletedSlot |
( |
UUID | id | ) |
|
|
protected |
Slot called when a target design object is deleted, removing it from the targets.
- Parameters
-
| [in] | id | The UUID of the deleted object. |
◆ onTargetUpdatedSlot()
| void DesignObjectInterface::onTargetUpdatedSlot |
( |
UUID | id | ) |
|
|
inlineprotected |
◆ removeTarget() [1/2]
Removes a specific target design object and disconnects its signals.
- Parameters
-
| [in] | object | The design object to remove. |
◆ removeTarget() [2/2]
| virtual void DesignObjectInterface::removeTarget |
( |
const UUID & | object | ) |
|
|
virtual |
Removes a specific target by UUID and disconnects its signals.
- Parameters
-
| [in] | object | The UUID of the design object to remove. |
◆ setManager()
◆ targetIDs()
| Buffer< UUID > DesignObjectInterface::targetIDs |
( |
| ) |
const |
|
inline |
◆ targets()
Returns a const reference to the dictionary of all targets.
- Returns
- The dictionary mapping UUIDs to design object pointers.
Definition at line 149 of file DesignObjectWidgetInterface.h.
References m_targets.
The documentation for this class was generated from the following file: