#include <surfacetreeitem.h>
Public Types | |
| enum | SurfaceRole { SurfaceDataRole = AlphaRole + 1 , AnnotationDataRole , ShaderModeRole } |
| Public Types inherited from AbstractTreeItem | |
| enum | ItemRole { TypeRole = Qt::UserRole + 100 , VisibleRole , TransformRole , ColorRole , AlphaRole } |
| enum | ItemType { AbstractItem = 0 , SurfaceItem , BemItem , SensorItem , DipoleItem , SourceSpaceItem , DigitizerItem , NetworkItem } |
Public Member Functions | |
| SurfaceTreeItem (const QString &text="") | |
| ~SurfaceTreeItem () override=default | |
| void | setSurfaceData (const FSLIB::Surface &surface) |
| void | setAnnotationData (const FSLIB::Annotation &annotation) |
| void | setShaderMode (int mode) |
| FSLIB::Surface | surfaceData () const |
| FSLIB::Annotation | annotationData () const |
| int | shaderMode () const |
| Public Member Functions inherited from AbstractTreeItem | |
| AbstractTreeItem (const QString &text="", int type=AbstractItem) | |
| virtual | ~AbstractTreeItem ()=default |
| int | type () const override |
| void | setVisible (bool visible) |
| bool | isVisible () const |
| void | setTransform (const QMatrix4x4 &transform) |
| QMatrix4x4 | transform () const |
| void | setColor (const QColor &color) |
| QColor | color () const |
| void | setAlpha (float alpha) |
| float | alpha () const |
Additional Inherited Members | |
| Protected Attributes inherited from AbstractTreeItem | |
| int | m_type |
Definition at line 49 of file surfacetreeitem.h.

| Enumerator | |
|---|---|
| SurfaceDataRole | |
| AnnotationDataRole | |
| ShaderModeRole | |
Definition at line 52 of file surfacetreeitem.h.
|
explicit |
Definition at line 44 of file surfacetreeitem.cpp.
|
overridedefault |
| FSLIB::Annotation SurfaceTreeItem::annotationData | ( | ) | const |
Definition at line 77 of file surfacetreeitem.cpp.
| void SurfaceTreeItem::setAnnotationData | ( | const FSLIB::Annotation & | annotation | ) |
Definition at line 60 of file surfacetreeitem.cpp.
| void SurfaceTreeItem::setShaderMode | ( | int | mode | ) |
Definition at line 67 of file surfacetreeitem.cpp.
| void SurfaceTreeItem::setSurfaceData | ( | const FSLIB::Surface & | surface | ) |
Definition at line 51 of file surfacetreeitem.cpp.
| int SurfaceTreeItem::shaderMode | ( | ) | const |
Definition at line 82 of file surfacetreeitem.cpp.
| FSLIB::Surface SurfaceTreeItem::surfaceData | ( | ) | const |
Definition at line 72 of file surfacetreeitem.cpp.