Provides a generic SensorSetTreeItem.
More...
#include <sensorsettreeitem.h>
Provides a generic SensorSetTreeItem.
SensorSetTreeItem provides a tree item to sensor information: surface, sensor locations, etc.
Definition at line 92 of file sensorsettreeitem.h.
◆ ConstSPtr
◆ SPtr
◆ SensorSetTreeItem()
SensorSetTreeItem::SensorSetTreeItem |
( |
int |
iType = Data3DTreeModelItemTypes::BemItem , |
|
|
const QString & |
text = "" |
|
) |
| |
|
explicit |
Default constructor.
- Parameters
-
[in] | iType | The type of the item. See types.h for declaration and definition. |
[in] | text | The text of this item. This is also by default the displayed name of the item in a view. |
Definition at line 71 of file sensorsettreeitem.cpp.
◆ addData()
void SensorSetTreeItem::addData |
( |
const MNELIB::MNEBem & |
tSensor, |
|
|
const QList< FIFFLIB::FiffChInfo > & |
lChInfo, |
|
|
const QString & |
sDataType, |
|
|
const QStringList & |
bads = QStringList() , |
|
|
Qt3DCore::QEntity * |
p3DEntityParent = 0 |
|
) |
| |
Adds FreeSurfer data based on surfaces and annotation sets to this item.
- Parameters
-
[in] | tSensor | The BEM data. |
[in] | lChInfo | The channel information used to plot the MEG channels. |
[in] | sDataType | The data type: EEG, MEG. |
[in] | bads | The bad channel list. |
[in] | p3DEntityParent | The Qt3D entity parent of the new item. |
Definition at line 89 of file sensorsettreeitem.cpp.
◆ applyTransform() [1/2]
Applies a transformation o ntop of the present one.
- Parameters
-
[in] | transform | The new entity's transform. |
[in] | bApplyInverse | Whether to apply the inverse. False by default. |
Definition at line 186 of file sensorsettreeitem.cpp.
◆ applyTransform() [2/2]
void SensorSetTreeItem::applyTransform |
( |
const Qt3DCore::QTransform & |
transform | ) |
|
|
virtual |
Applies a transformation o ntop of the present one.
- Parameters
-
[in] | transform | The new entity's transform. |
Definition at line 177 of file sensorsettreeitem.cpp.
◆ initItem()
void SensorSetTreeItem::initItem |
( |
| ) |
|
|
protectedvirtual |
◆ setTransform() [1/2]
Sets the entity's transformation. This will clear the old transformation.
- Parameters
-
[in] | transform | The new entity's transform. |
[in] | bApplyInverse | Whether to apply the inverse. False by default. |
Definition at line 168 of file sensorsettreeitem.cpp.
◆ setTransform() [2/2]
void SensorSetTreeItem::setTransform |
( |
const Qt3DCore::QTransform & |
transform | ) |
|
|
virtual |
Sets the entity's transformation. This will clear the old transformation.
- Parameters
-
[in] | transform | The new entity's transform. |
Definition at line 159 of file sensorsettreeitem.cpp.
◆ m_pRenderable3DEntity
The documentation for this class was generated from the following files: