|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef PMLEXPLORERWIDGET_H
27 #define PMLEXPLORERWIDGET_H
32 class QTreeWidgetItem;
36 class ui_PmlExplorerWidget;
103 Ui::ui_PmlExplorerWidget*
ui;
203 #endif // PMLEXPLORERWIDGET_H
void selectSC(StructuralComponent *sc, bool showAtomGlyph)
Select the given structural component in the 3D structure by highlighting all its atoms and cells.
Definition: PMLComponent.cpp:473
vtkIdType getPointId(const Atom *a)
get the point Id from the corresponding atom, this is the opposite of pml->getAtom(id)
Definition: PMLComponent.h:290
unsigned int getNumberOfStructures() const
get the number of structures
Definition: StructuralComponent.h:252
Definition: objectcontroller.h:47
Component * getSubComponent(const unsigned int) const
get a subcomponent by its order number (index in the list of subcomponents)
Definition: MultiComponent.h:114
This class holds a list of CamiTK Properties and can be used as an editable QObject for the ObjectCon...
Definition: CamiTKPropertyList.h:35
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:49
PhysicalModel * getPhysicalModel()
Definition: PMLComponent.cpp:104
std::string getField(unsigned int) const
get the name of field of given index
Definition: Properties.cpp:68
virtual bool addProperty(camitk::Property *)
Add a new CamiTK property to the component.
Definition: CamiTKPropertyList.cpp:48
CellProperties * getProperties()
return the property
Definition: Cell.cpp:226
void selectAtom(const Atom *atom)
Select the given atom in the 3D structure.
Definition: PMLComponent.cpp:441
unsigned int getIndex() const
get the structure unique index (stored in its property)
Definition: Structure.cpp:30
virtual void setModified(bool modified=true)
set the modified flag
Definition: sdk/libraries/core/component/Component.h:943
unsigned int getNumberOfSubComponents() const
return the number of subcomponents
Definition: MultiComponent.h:111
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:52
Pure virtual class that represent an element of the structure. This implies that every structure coul...
Definition: Structure.h:43
void updateSelection()
Update the POINTS and CELLS selection for the whole 3D structure by telling the corresponding extract...
Definition: PMLComponent.cpp:513
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:303
virtual vtkSmartPointer< vtkPointSet > getPointSet()=0
This is the main class of this project. Following a nice concept, a physical model is able to represe...
Definition: PhysicalModel.h:86
void setObject(QObject *object)
mutatorMethod of the object at unroll in the property browser
Definition: ObjectController.cpp:576
The object controller class.
Definition: ObjectController.h:185
Properties * getProperties()
get the component structural properties (guarantied to be non NULL)
Definition: modeling/libraries/pml/Component.h:188
Definition: SettingsDialog.h:31
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:46
const std::string getName() const
get the name of the component
Definition: modeling/libraries/pml/Component.h:147
std::string getString(std::string attName) const
field accessor: get the field attName as a string value, if field does not exist, empty string is ret...
Definition: Properties.h:178
This class manages a physical model (PML) CamiTK component.
Definition: PMLComponent.h:103
double * getColor() const
Get the color.
Definition: StructuralComponent.cpp:116
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:907
virtual ComposedBy composedBy()
return the type of structure composing the structural component: a structural component is either a l...
Definition: StructuralComponent.cpp:296
@ CELLS
the structural component is made of cells
Definition: StructuralComponent.h:175
void selectCell(Cell *cell, bool showAtomGlyph)
Select the given cell in the 3D structure.
Definition: PMLComponent.cpp:447
Structure * getStructure(const unsigned int) const
get a structure by its index (fisrt structure is at index 0)
Definition: StructuralComponent.h:220
@ BUTTON
It is like the GROUPBOX but the buttons allow the user to control the comput display of arborescence.
Definition: ObjectController.h:197
virtual QPixmap getIcon()
get the pixmap for physical model component
Definition: PMLComponent.cpp:584
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
void setName(const std::string)
set the name of the component
Definition: modeling/libraries/pml/Component.h:150
void setReadOnly(bool)
set this property as read-only
Definition: Property.cpp:82
void setGroupName(QString groupName)
Set the group name.
Definition: Property.cpp:163
bool hasIndex
indicate if the Structure has an index (which is not the case all the time)
Definition: Structure.h:61
static std::string toString(const GeometricType)
return the string equivalent to this geometric type
Definition: StructureProperties.cpp:72
StructuralComponentProperties * getProperties()
get the structural component properties of this SC
Definition: StructuralComponent.h:274
void set(std::string attName, double val)
field modificator: set field attName using a double value
Definition: Properties.h:200
virtual void refresh()
refresh all the viewer that are currently displaying this Component At the end the InterfaceNode modi...
Definition: sdk/libraries/core/component/Component.cpp:286
bool addProperty(Property *) override
Add a new CamiTK property to the component.
Definition: sdk/libraries/core/component/Component.cpp:517
@ ATOMS
the structural component is made of atoms
Definition: StructuralComponent.h:176
void setName(std::string)
set the name of the structure
Definition: Structure.cpp:44
void selectMC(MultiComponent *mc, bool showAtomGlyph)
Select the given multi component in the 3D structure by highlighting all its structural components.
Definition: PMLComponent.cpp:500
void unselectItems()
Unselect all the SC, MC, Atoms and Cells previously selected on the 3D structure.
Definition: PMLComponent.cpp:551
A multi-component stores other components, hence providing a way to have an tree representation of co...
Definition: MultiComponent.h:44
GeometricType getType() const
Return the type of force.
Definition: StructureProperties.h:160
void refreshDisplay()
Refresh the display of the component according to the selected 3D items by the user.
Definition: PMLComponent.cpp:349
Definition: Action.cpp:35