 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
27 #ifndef FRAMEEXPLORER_H
28 #define FRAMEEXPLORER_H
34 #include <QTreeWidget>
35 #include <QTreeWidgetItem>
55 class CAMITK_API FrameExplorer :
public Viewer {
66 ~FrameExplorer()
override =
default;
69 static FrameExplorer* getInstance();
74 unsigned int numberOfViewedComponent()
override;
79 void refresh(Viewer* whoIsAsking =
nullptr)
override;
82 QWidget* getWidget(QWidget* parent)
override;
85 virtual QWidget* getPreferenceWidget(QWidget* parent);
92 void selectionChanged();
99 QTreeWidgetItem* getNewItem(QTreeWidgetItem* parent,
Component*);
102 QTreeWidgetItem* add(QTreeWidgetItem*,
Component*);
114 QTreeWidget* explorerTree;
virtual const QVector< InterfaceFrame * > & getChildrenFrame() const =0
Get the Children Frames from the current Frame in the Frame Hierarchy The Frame hierarchy may not be ...
virtual const QString & getFrameName() const =0
Hierarchy accessors / Modifyers.
virtual void setVisibility(Viewer *, bool)
set the visibility for a viewer
Definition: sdk/libraries/core/component/Component.cpp:276
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:849
This class describes what are the methods to implement in order to manage a Component position in spa...
Definition: InterfaceFrame.h:64
FrameExplorer()
Construtor.
Definition: FrameExplorer.cpp:59
QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:89
virtual InterfaceFrame * getParentFrame() const =0
Get the parent frame.
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
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
virtual InterfaceFrame * getFrame()
get the associated frame
Definition: sdk/libraries/core/component/Component.h:859