 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
34 #include <QTreeWidget>
35 #include <QTreeWidgetItem>
72 static Explorer* getInstance();
77 unsigned int numberOfViewedComponent()
override;
82 void refresh(Viewer* whoIsAsking =
nullptr)
override;
85 QWidget* getWidget(QWidget* parent)
override;
88 QMenu* getMenu()
override;
91 virtual QWidget* getPreferenceWidget(QWidget* parent);
100 void refreshInterfaceNode(
Component* comp)
override;
111 void selectionChanged();
114 void doubleClicked(QTreeWidgetItem*,
int);
124 QMap<QTreeWidgetItem*, Component*> itemComponentMap;
127 QMap<Component*, QTreeWidgetItem*> itemCompMap;
136 QTreeWidgetItem* getNewItem(QTreeWidgetItem* parent,
Component*);
139 QTreeWidgetItem* add(QTreeWidgetItem*,
Component*);
147 void remove(QTreeWidgetItem*);
156 QTreeWidget* explorerTree;
virtual bool isSelected() const
Check if this data component is selected.
Definition: sdk/libraries/core/component/Component.h:833
#define CAMITK_INFO(MSG)
Log for info verbosity (the second most verbose one) The msg will appear only if the user asked for I...
Definition: Log.h:258
void rightButtonPressed()
send when the mouse right button is clicked
const std::string getName() const
get the name of the component
Definition: modeling/libraries/pml/Component.h:147
virtual void setVisibility(Viewer *, bool)
set the visibility for a viewer
Definition: sdk/libraries/core/component/Component.cpp:276
QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:89
const ComponentList & getChildren() override
get the list of the InterfaceNode children (sub items in the hierarchy)
Definition: sdk/libraries/core/component/Component.h:844
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
Explorer()
Construtor.
Definition: Explorer.cpp:69
void setName(const std::string)
set the name of the component
Definition: modeling/libraries/pml/Component.h:150
InterfaceNode * getParent() override
get the parent Component
Definition: sdk/libraries/core/component/Component.h:854
void refresh()
refresh the display
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:298
#define CAMITK_API
Definition: CamiTKAPI.h:49
Definition: Action.cpp:36