v2.0.0
Loading...
Searching...
No Matches
surfacetreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
18
19#ifndef SURFACETREEITEM_H
20#define SURFACETREEITEM_H
21
22//=============================================================================================================
23// INCLUDES
24//=============================================================================================================
25
26#include "../../disp3D_global.h"
27
28#include "abstracttreeitem.h"
29#include <fs/fs_surface.h>
30#include <fs/fs_annotation.h>
31
36{
37public:
43
44 explicit SurfaceTreeItem(const QString &text = "");
45 ~SurfaceTreeItem() override = default;
46
47 // Setters
48 void setSurfaceData(const FSLIB::FsSurface &surface);
49 void setAnnotationData(const FSLIB::FsAnnotation &annotation);
50 void setShaderMode(int mode); // 0=Standard, 1=Holo, 2=Glossy
51
52 // Getters
55 int shaderMode() const;
56};
57
58#endif // SURFACETREEITEM_H
Base QStandardItem with check-state, visibility, transform, colour and alpha roles shared by every di...
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
Reader and in-memory representation of a single FreeSurfer triangular surface (e.g....
Reader for FreeSurfer per-vertex annotation (parcellation) files such as lh.aparc....
AbstractTreeItem(const QString &text="", int type=AbstractItem)
Tree item representing a FreeSurfer cortical surface in the 3-D scene hierarchy.
SurfaceTreeItem(const QString &text="")
void setSurfaceData(const FSLIB::FsSurface &surface)
void setAnnotationData(const FSLIB::FsAnnotation &annotation)
int shaderMode() const
~SurfaceTreeItem() override=default
FSLIB::FsSurface surfaceData() const
FSLIB::FsAnnotation annotationData() const
void setShaderMode(int mode)
Single-hemisphere FreeSurfer parcellation: vertex → region label plus embedded colortable.
In-memory FreeSurfer triangular cortical surface for one hemisphere.
Definition fs_surface.h:92