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
19namespace DISP3DLIB
20{
21
22//=============================================================================================================
23// DEFINE MEMBER METHODS
24//=============================================================================================================
25
27 const QVector<QVector3D>& positions,
28 const QColor& color,
29 float scale,
30 int type)
32, m_positions(positions)
33, m_scale(scale)
34{
36}
37
38//=============================================================================================================
39
40const QVector<QVector3D>& SourceSpaceTreeItem::positions() const
41{
42 return m_positions;
43}
44
45//=============================================================================================================
46
48{
49 return m_scale;
50}
51
52} // namespace DISP3DLIB
Tree item holding one hemisphere of source-space dipole positions rendered as batched spheres.
3-D brain visualisation using the Qt RHI rendering backend.
void setColor(const QColor &color)
AbstractTreeItem(const QString &text="", int type=AbstractItem)
SourceSpaceTreeItem(const QString &text, const QVector< QVector3D > &positions, const QColor &color, float scale, int type=AbstractTreeItem::SourceSpaceItem)
const QVector< QVector3D > & positions() const