37 #ifndef DISP3DLIB_TYPES_H
38 #define DISP3DLIB_TYPES_H
52 #include <QStandardItem>
54 #include <QSharedPointer>
61 #include <Eigen/Sparse>
72 namespace Data3DTreeModelItemTypes
74 enum ItemType{UnknownItem = QStandardItem::UserType,
75 MeasurementItem = QStandardItem::UserType + 1,
76 HemisphereItem = QStandardItem::UserType + 2,
77 SurfaceItem = QStandardItem::UserType + 3,
78 AnnotationItem = QStandardItem::UserType + 4,
79 MNEDataItem = QStandardItem::UserType + 5,
80 SourceSpaceItem = QStandardItem::UserType + 6,
81 NetworkItem = QStandardItem::UserType + 7,
82 SubjectItem = QStandardItem::UserType + 8,
83 BemItem = QStandardItem::UserType + 9,
84 BemSurfaceItem = QStandardItem::UserType + 10,
85 DigitizerSetItem = QStandardItem::UserType + 11,
86 DigitizerItem = QStandardItem::UserType + 12,
87 ECDDataItem = QStandardItem::UserType + 13,
88 MriItem = QStandardItem::UserType + 14,
89 SensorSetItem = QStandardItem::UserType + 15,
90 SensorSurfaceItem = QStandardItem::UserType + 16,
91 SensorPositionItem = QStandardItem::UserType + 17,
92 AbstractMeshItem = QStandardItem::UserType + 18,
93 SensorDataItem = QStandardItem::UserType + 19,
94 GpuInterpolationItem = QStandardItem::UserType + 21};
97 namespace MetaTreeItemTypes
99 enum ItemType{FileName = QStandardItem::UserType + 100,
100 FilePath = QStandardItem::UserType + 101,
101 SurfaceColorGyri = QStandardItem::UserType + 102,
102 SurfaceColorSulci = QStandardItem::UserType + 103,
103 SurfaceColorVert = QStandardItem::UserType + 104,
104 AlphaValue = QStandardItem::UserType + 105,
105 StreamStatus = QStandardItem::UserType + 106,
106 SourceSpaceType = QStandardItem::UserType + 107,
107 ColormapType = QStandardItem::UserType + 108,
108 StreamingTimeInterval = QStandardItem::UserType + 109,
109 LoopedStreaming = QStandardItem::UserType + 110,
110 NumberAverages = QStandardItem::UserType + 111,
111 DataThreshold = QStandardItem::UserType + 112,
112 VisualizationType = QStandardItem::UserType + 113,
113 Color = QStandardItem::UserType + 114,
114 UnknownItem = QStandardItem::UserType + 115,
115 TranslateX = QStandardItem::UserType + 116,
116 TranslateY = QStandardItem::UserType + 117,
117 TranslateZ = QStandardItem::UserType + 118,
118 InterpolationFunction = QStandardItem::UserType + 119,
119 NetworkMatrix = QStandardItem::UserType + 120,
120 SurfaceTessInner = QStandardItem::UserType + 121,
121 SurfaceTessOuter = QStandardItem::UserType + 122,
122 SurfaceTriangleScale = QStandardItem::UserType + 123,
123 NumberDipoles = QStandardItem::UserType + 124,
124 MaterialType = QStandardItem::UserType + 125,
125 ShowNormals = QStandardItem::UserType + 126,
126 Scale = QStandardItem::UserType + 127,
127 CancelDistance = QStandardItem::UserType + 128};
131 namespace MetaTreeItemRoles
133 enum ItemRole{SurfaceFileName = Qt::UserRole,
134 SurfaceType = Qt::UserRole + 1,
135 SurfaceColorSulci = Qt::UserRole + 2,
136 SurfaceColorGyri = Qt::UserRole + 3,
137 SurfaceFilePath = Qt::UserRole + 4,
138 AnnotName = Qt::UserRole + 5,
139 AnnotFilePath = Qt::UserRole + 6,
140 AlphaValue = Qt::UserRole + 7,
141 StreamStatus = Qt::UserRole + 8,
142 SourceSpaceType = Qt::UserRole + 9,
143 ColormapType = Qt::UserRole + 10,
144 StreamingTimeInterval = Qt::UserRole + 11,
145 LoopedStreaming = Qt::UserRole + 12,
146 NumberAverages = Qt::UserRole + 13,
147 DataThreshold = Qt::UserRole + 14,
148 VisualizationType = Qt::UserRole + 15,
149 Color = Qt::UserRole + 16,
150 TranslateX = Qt::UserRole + 17,
151 TranslateY = Qt::UserRole + 18,
152 TranslateZ = Qt::UserRole + 19,
153 InterpolationFunction = Qt::UserRole + 20,
154 SurfaceTessInner = Qt::UserRole + 21,
155 SurfaceTessOuter = Qt::UserRole + 22,
156 SurfaceTriangleScale = Qt::UserRole + 23,
157 SurfaceMaterial = Qt::UserRole + 24,
158 Scale = Qt::UserRole + 25,
159 CancelDistance = Qt::UserRole + 26};
162 namespace Data3DTreeModelItemRoles
164 enum ItemRole{SurfaceCurrentColorVert = Qt::UserRole + 100,
165 NumberVertices = Qt::UserRole + 101,
166 SurfaceCurv = Qt::UserRole + 102,
167 NetworkData = Qt::UserRole + 103,
168 SurfaceHemi = Qt::UserRole + 104,
169 AnnotColors = Qt::UserRole + 105,
170 FileName = Qt::UserRole + 106,
171 FilePath = Qt::UserRole + 107,
172 Data = Qt::UserRole + 108,
173 VertexBased = Qt::UserRole + 109,
174 InterpolationBased = Qt::UserRole + 110,
175 AnnotationBased = Qt::UserRole + 111};
181 #ifndef metatype_matrixx3i
182 #define metatype_matrixx3i
186 #ifndef metatype_matrixXd
187 #define metatype_matrixXd
191 #ifndef metatype_matrixx3f
192 #define metatype_matrixx3f
196 #ifndef metatype_matrixx4f
197 #define metatype_matrixx4f
201 #ifndef metatype_vectorxf
202 #define metatype_vectorxf
206 #ifndef metatype_vectorxi
207 #define metatype_vectorxi
211 #ifndef metatype_vectorxd
212 #define metatype_vectorxd
216 #ifndef metatype_rowvectorxf
217 #define metatype_rowvectorxf
221 #ifndef metatype_vector3f
222 #define metatype_vector3f
226 #ifndef metatype_fiffinfo
227 #define metatype_fiffinfo
231 #ifndef metatype_qvectorvector3f
232 #define metatype_qvectorvector3f
236 #ifndef metatype_qvectorvectorint
237 #define metatype_qvectorvectorint
241 #ifndef metatype_qvectorint
242 #define metatype_qvectorint
246 #ifndef metatype_sparsematf
247 #define metatype_sparsematf
251 #ifndef metatype_sharedptrsparsematf
252 #define metatype_sharedptrsparsematf
256 #ifndef metatype_listlabel
257 #define metatype_listlabel
261 #endif // DISP3DLIB_TYPES_H