v2.0.0
Loading...
Searching...
No Matches
sourcespacetreeitem.cpp
Go to the documentation of this file.
1//=============================================================================================================
12
13//=============================================================================================================
14// INCLUDES
15//=============================================================================================================
16
17#include "sourcespacetreeitem.h"
18
19//=============================================================================================================
20// DEFINE MEMBER METHODS
21//=============================================================================================================
22
24 const QVector<QVector3D> &positions,
25 const QColor &color,
26 float scale,
27 int type)
28 : AbstractTreeItem(text, type)
29 , m_positions(positions)
30 , m_scale(scale)
31{
33}
34
35//=============================================================================================================
36
37const QVector<QVector3D>& SourceSpaceTreeItem::positions() const
38{
39 return m_positions;
40}
41
42//=============================================================================================================
43
45{
46 return m_scale;
47}
Tree item holding one hemisphere of source-space dipole positions rendered as batched spheres.
QColor color() const
AbstractTreeItem(const QString &text="", int type=AbstractItem)
void setColor(const QColor &color)
int type() const override
const QVector< QVector3D > & positions() const
SourceSpaceTreeItem(const QString &text, const QVector< QVector3D > &positions, const QColor &color, float scale, int type=AbstractTreeItem::SourceSpaceItem)