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
32namespace DISP3DLIB
33{
34
39{
40public:
47
48 explicit SurfaceTreeItem(const QString& text = "");
49 ~SurfaceTreeItem() override = default;
50
51 // Setters
52 void setSurfaceData(const FSLIB::FsSurface& surface);
53 void setAnnotationData(const FSLIB::FsAnnotation& annotation);
54 void setShaderMode(int mode); // 0=Standard, 1=Holo, 2=Glossy
55
56 // Getters
59 int shaderMode() const;
60};
61
62} // namespace DISP3DLIB
63
64#endif // SURFACETREEITEM_H
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
Base QStandardItem with check-state, visibility, transform, colour and alpha roles shared by every di...
Reader for FreeSurfer per-vertex annotation (parcellation) files such as lh.aparc....
Reader and in-memory representation of a single FreeSurfer triangular surface (e.g....
3-D brain visualisation using the Qt RHI rendering backend.
AbstractTreeItem(const QString &text="", int type=AbstractItem)
Tree item representing a FreeSurfer cortical surface in the 3-D scene hierarchy.
void setAnnotationData(const FSLIB::FsAnnotation &annotation)
~SurfaceTreeItem() override=default
void setSurfaceData(const FSLIB::FsSurface &surface)
SurfaceTreeItem(const QString &text="")
FSLIB::FsSurface surfaceData() const
FSLIB::FsAnnotation annotationData() const
Single-hemisphere FreeSurfer parcellation: vertex → region label plus embedded colortable.
In-memory FreeSurfer triangular cortical surface for one hemisphere.
Definition fs_surface.h:94