API Documentation
Loading...
Searching...
No Matches
DesignObjectWidgetInterface.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/QTDesignObject.h>
3#include <NDEVR/Pointer.h>
4namespace NDEVR
5{
6 class DesignObjectInterface;
7 /**--------------------------------------------------------------------------------------------------
8 \brief A base class for interacting with one or more DesignObjects
9 **/
32 /**--------------------------------------------------------------------------------------------------
33 \brief Base level class providing convenience functions for intefacing with one or more DesignObjects.
34 **/
57}
#define NDEVR_API
Definition DLLInfo.h:50
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:52
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Base level class providing convenience functions for intefacing with one or more DesignObjects.
Definition DesignObjectWidgetInterface.h:36
Buffer< Model > models() const
Dictionary< UUID, DynamicPointer< QTDesignObject > > m_targets
Definition DesignObjectWidgetInterface.h:54
void onTargetDeletedSlot(UUID id)
virtual Bounds< 3, fltp08 > bounds() const
QTModelManager * manager() const
Buffer< UUID > targetIDs() const
Definition DesignObjectWidgetInterface.h:43
void onTargetUpdatedSlot(UUID id)
Definition DesignObjectWidgetInterface.h:48
const Dictionary< UUID, DynamicPointer< QTDesignObject > > & targets() const
Definition DesignObjectWidgetInterface.h:46
virtual void removeTarget(const DynamicPointer< QTDesignObject > &object)
virtual void addTarget(const DynamicPointer< QTDesignObject > &object)
DesignObjectWidgetInterface * m_widget_interface
Definition DesignObjectWidgetInterface.h:55
DesignObjectInterface(DesignObjectWidgetInterface *widget_interface)
A base class for interacting with one or more DesignObjects.
Definition DesignObjectWidgetInterface.h:11
Buffer< Model > models() const
virtual Bounds< 3, fltp08 > bounds() const
DesignObjectInterface * m_interface
Definition DesignObjectWidgetInterface.h:29
QTModelManager * manager() const
void setTargets(const Buffer< DynamicPointer< QTDesignObject > > &objects)
Buffer< UUID > targetIDs() const
const Dictionary< UUID, DynamicPointer< QTDesignObject > > & targets() const
virtual void onTargetUpdated(UUID)
Definition DesignObjectWidgetInterface.h:23
virtual void removeTarget(const DynamicPointer< QTDesignObject > &object)
void setTargetIDs(const Buffer< UUID > &objects)
virtual void addTarget(const DynamicPointer< QTDesignObject > &object)
void setTargetID(const UUID &object)
void setTarget(const DynamicPointer< QTDesignObject > &object)
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
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Definition QTModelManager.h:105
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
Definition ACIColor.h:37