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
44
45#include "abstracttreeitem.h"
46#include <fs/surface.h>
47#include <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::Surface &surface);
66 void setAnnotationData(const FSLIB::Annotation &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
disp3D_rhi library export/import macros.
#define DISP3DRHISHARED_EXPORT
AbstractTreeItem class declaration.
Annotation class declaration.
Surface class declaration.
AbstractTreeItem(const QString &text="", int type=AbstractItem)
Tree item representing a FreeSurfer cortical surface in the 3-D scene hierarchy.
void setSurfaceData(const FSLIB::Surface &surface)
SurfaceTreeItem(const QString &text="")
int shaderMode() const
FSLIB::Surface surfaceData() const
~SurfaceTreeItem() override=default
void setAnnotationData(const FSLIB::Annotation &annotation)
FSLIB::Annotation annotationData() const
void setShaderMode(int mode)
Free surfer annotation.
Definition annotation.h:81
FreeSurfer surface mesh.
Definition surface.h:76