MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
fsannotationtreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
35#ifndef DISP3DLIB_FSANNOTATIONTREEITEM_H
36#define DISP3DLIB_FSANNOTATIONTREEITEM_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "../../../../disp3D_global.h"
43#include "../common/abstracttreeitem.h"
44#include "../common/types.h"
45
46//=============================================================================================================
47// QT INCLUDES
48//=============================================================================================================
49
50//=============================================================================================================
51// EIGEN INCLUDES
52//=============================================================================================================
53
54#include <Eigen/Core>
55
56//=============================================================================================================
57// FORWARD DECLARATIONS
58//=============================================================================================================
59
60namespace FSLIB {
61 class Label;
62 class Surface;
63 class Annotation;
64}
65
66//=============================================================================================================
67// DEFINE NAMESPACE DISP3DLIB
68//=============================================================================================================
69
70namespace DISP3DLIB
71{
72
73//=============================================================================================================
74// DISP3DLIB FORWARD DECLARATIONS
75//=============================================================================================================
76
77//=============================================================================================================
84{
85 Q_OBJECT
86
87public:
88 typedef QSharedPointer<FsAnnotationTreeItem> SPtr;
89 typedef QSharedPointer<const FsAnnotationTreeItem> ConstSPtr;
91 //=========================================================================================================
98 explicit FsAnnotationTreeItem(int iType = Data3DTreeModelItemTypes::AnnotationItem, const QString& text = "Annotation" );
99
100 //=========================================================================================================
107 void addData(const FSLIB::Surface& tSurface, const FSLIB::Annotation& tAnnotation);
108
109protected:
110 //=========================================================================================================
114 void initItem();
115
116 //=========================================================================================================
122 virtual void onCheckStateChanged(const Qt::CheckState& checkState);
123
124signals:
125 //=========================================================================================================
131 void annotationVisibiltyChanged(bool isVisible);
132};
133} //NAMESPACE DISP3DLIB
134
135#endif // DISP3DLIB_FSANNOTATIONTREEITEM_H
#define DISP3DSHARED_EXPORT
Provides the basic tree item.
Provides a generic brain tree item.
QSharedPointer< const FsAnnotationTreeItem > ConstSPtr
void annotationVisibiltyChanged(bool isVisible)
QSharedPointer< FsAnnotationTreeItem > SPtr
Free surfer annotation.
Definition annotation.h:81
FreeSurfer surface mesh.
Definition surface.h:76