3#include <NDEVR/ContextMenuManager.h>
4#include <NDEVR/QTModelManager.h>
5#include <NDEVR/DesignObjectDialog.h>
6#include <NDEVR/Pointer.h>
8#include <NDEVR/String.h>
13 class CustomTreeWidgets;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
An easy interface for adding common SoftwareInterfaces relating to a Model to the program logic....
Definition CustomModelLogic.h:20
const String & typeName() const
virtual void executeMenuItems(Model &, QTModelManager *, QAction *, const Buffer< UUID > &, const SelectionInfo &, PopupInfo)
Definition CustomModelLogic.h:26
ContextMenuCallback * contextMenuCallback()
friend class CustomModelTreeWidgets
Definition CustomModelLogic.h:35
ContextMenuCallback * m_custom_context_menu
Definition CustomModelLogic.h:46
friend class CustomModelContextMenu
Definition CustomModelLogic.h:34
virtual void addMenuItems(Model &, QTModelManager *, QMenu &, const Buffer< UUID > &, const SelectionInfo &)
Definition CustomModelLogic.h:24
std::function< void(Model &)> ndvFileReadLogic()
String m_type_name
Definition CustomModelLogic.h:47
virtual void setTreeWidgetsForSelection(const Model &, Buffer< QWidget * > &, SceneTree *)
Definition CustomModelLogic.h:32
CustomTreeWidgets * m_tree_button_menu
Definition CustomModelLogic.h:45
CustomTreeWidgets * treeWidgetCallback()
virtual void setupPropertiesDialog(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)
Definition CustomModelLogic.h:28
CustomModelLogic(const String &type_name)
virtual void registerAll(QTModelManager *manager)
virtual void setupModel(Model &)
Definition CustomModelLogic.h:30
A popup dialog for showing options or information to the user for a particular DesignObject....
Definition DesignObjectDialog.h:75
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Definition QTModelManager.h:105
Definition SceneTree.h:50
Responsible for turning a user interaction into a selection within a DesignObjectLookup.
Definition Selector.h:50
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