v2.0.0
Loading...
Searching...
No Matches
surfacetreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
35
36#ifndef SURFACETREEITEM_H
37#define SURFACETREEITEM_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "../../disp3D_global.h"
44
45#include "abstracttreeitem.h"
46#include <fs/fs_surface.h>
47#include <fs/fs_annotation.h>
48
53{
54public:
60
61 explicit SurfaceTreeItem(const QString &text = "");
62 ~SurfaceTreeItem() override = default;
63
64 // Setters
65 void setSurfaceData(const FSLIB::FsSurface &surface);
66 void setAnnotationData(const FSLIB::FsAnnotation &annotation);
67 void setShaderMode(int mode); // 0=Standard, 1=Holo, 2=Glossy
68
69 // Getters
72 int shaderMode() const;
73};
74
75#endif // SURFACETREEITEM_H
FsSurface class declaration.
FsAnnotation class declaration.
disp3D library export/import macros.
#define DISP3DSHARED_EXPORT
AbstractTreeItem class declaration.
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)
Free surfer annotation.
FreeSurfer surface mesh.
Definition fs_surface.h:83