26 #ifndef PMLEXPLORERWIDGET_H
27 #define PMLEXPLORERWIDGET_H
32 class QTreeWidgetItem;
36 class ui_PmlExplorerWidget;
103 Ui::ui_PmlExplorerWidget* ui;
107 QMap<QTreeWidgetItem*, Component*> widgetComponentMap;
111 QMap<QTreeWidgetItem*, Atom*> widgetAtomMap;
119 QMap<QTreeWidgetItem*, QObject*> widgetPropertiesMap;
123 QMap<Atom*, QObject*> atomPropertiesMap;
126 void updateProperty(QTreeWidgetItem*);
132 QTreeWidgetItem* editedItem;
144 QTreeWidgetItem* physicalModelItem;
147 QTreeWidgetItem* atomsItem;
150 QTreeWidgetItem* exclusiveComponentItem;
153 QTreeWidgetItem* informativeComponentItem;
158 void buildPhysicalModelTreeWidgetItem();
164 QTreeWidgetItem* buildMultiComponentTreeWidgetItem(
MultiComponent* multiComponent, QTreeWidgetItem* parent);
170 QTreeWidgetItem* buildStructuralComponentTreeWidgetItem(
StructuralComponent* sc, QTreeWidgetItem* parent);
176 QTreeWidgetItem* buildCellTreeWidgetItem(
Cell* cell, QTreeWidgetItem* parent);
182 QTreeWidgetItem* buildAtomTreeWidgetItem(
Atom* atom, QTreeWidgetItem* parent);
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:49
This class holds a list of CamiTK Properties and can be used as an editable QObject for the ObjectCon...
Definition: CamiTKPropertyList.h:35
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:46
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
A multi-component stores other components, hence providing a way to have an tree representation of co...
Definition: MultiComponent.h:44
Definition: objectcontroller.h:47
This class manages a physical model (PML) CamiTK component.
Definition: PMLComponent.h:103
This is the main class of this project.
Definition: PhysicalModel.h:86
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:52
The object controller class.
Definition: ObjectController.h:162
Definition: SettingsDialog.h:31
Definition: Action.cpp:36