39 m_orientation = orient;
40 m_hasOrientation =
true;
50 return m_hasOrientation;
Tree item for a single MEG / EEG sensor with position, optional coil orientation and rendered scale.
AbstractTreeItem(const QString &text="", int type=AbstractItem)
void setColor(const QColor &color)
int type() const override
SensorTreeItem(const QString &text, const QVector3D &pos, const QColor &color, float scale, int type=AbstractTreeItem::SensorItem)
bool hasOrientation() const
QVector3D position() const
void setOrientation(const QMatrix4x4 &orient)
const QMatrix4x4 & orientation() const