MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DISP3DLIB::DigitizerSetTreeItem Class Reference

DigitizerSetTreeItem provides a tree item to hold the set of digitizer data. More...

#include <digitizersettreeitem.h>

Public Types

typedef QSharedPointer< DigitizerSetTreeItemSPtr
 
typedef QSharedPointer< const DigitizerSetTreeItemConstSPtr
 

Public Member Functions

 DigitizerSetTreeItem (int iType=Data3DTreeModelItemTypes::DigitizerSetItem, const QString &text="Source space")
 
void addData (const FIFFLIB::FiffDigPointSet &tDigitizer, Qt3DCore::QEntity *parent)
 
virtual void setTransform (const Qt3DCore::QTransform &transform)
 
virtual void setTransform (const FIFFLIB::FiffCoordTrans &transform, bool bApplyInverse=false)
 
virtual void applyTransform (const Qt3DCore::QTransform &transform)
 
virtual void applyTransform (const FIFFLIB::FiffCoordTrans &transform, bool bApplyInverse=false)
 
- Public Member Functions inherited from DISP3DLIB::AbstractTreeItem
 AbstractTreeItem (int iType=Data3DTreeModelItemTypes::UnknownItem, const QString &text="")
 
void setData (const QVariant &value, int role=Qt::UserRole+1)
 
int type () const
 
QList< QStandardItem * > findChildren (int type)
 
QList< QStandardItem * > findChildren (const QString &text)
 
AbstractTreeItemoperator<< (AbstractTreeItem *newItem)
 
AbstractTreeItemoperator<< (AbstractTreeItem &newItem)
 

Protected Member Functions

void initItem ()
 
- Protected Member Functions inherited from DISP3DLIB::AbstractTreeItem
virtual void onCheckStateChanged (const Qt::CheckState &checkState)
 

Protected Attributes

QPointer< Renderable3DEntitym_pRenderable3DEntity
 
- Protected Attributes inherited from DISP3DLIB::AbstractTreeItem
int m_iType
 
Qt::CheckState m_checkStateOld
 

Additional Inherited Members

- Signals inherited from DISP3DLIB::AbstractTreeItem
void checkStateChanged (const Qt::CheckState &checkState)
 
- Static Public Member Functions inherited from DISP3DLIB::AbstractTreeItem
static void addItemWithDescription (QStandardItem *pItemParent, QStandardItem *pItemAdd)
 

Detailed Description

DigitizerSetTreeItem provides a tree item to hold the set of digitizer data.

DigitizerSetTreeItem provides a tree item to hold the set of digitizer data.

Definition at line 92 of file digitizersettreeitem.h.

Inheritance diagram for DISP3DLIB::DigitizerSetTreeItem:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for DigitizerSetTreeItem.

Definition at line 98 of file digitizersettreeitem.h.

◆ SPtr

Shared pointer type for DigitizerSetTreeItem.

Definition at line 97 of file digitizersettreeitem.h.

Constructor & Destructor Documentation

◆ DigitizerSetTreeItem()

DigitizerSetTreeItem::DigitizerSetTreeItem ( int  iType = Data3DTreeModelItemTypes::DigitizerSetItem,
const QString &  text = "Source space" 
)
explicit

Default constructor.

Parameters
[in]iTypeThe type of the item. See types.h for declaration and definition.
[in]textThe text of this item. This is also by default the displayed name of the item in a view.

Definition at line 80 of file digitizersettreeitem.cpp.

Member Function Documentation

◆ addData()

void DigitizerSetTreeItem::addData ( const FIFFLIB::FiffDigPointSet tDigitizer,
Qt3DCore::QEntity *  parent 
)

Adds digitizer data to this item.

Parameters
[in]tDigitizerThe digitizer data.

Definition at line 98 of file digitizersettreeitem.cpp.

◆ applyTransform() [1/2]

void DigitizerSetTreeItem::applyTransform ( const Qt3DCore::QTransform &  transform)
virtual

Applies a transformation o ntop of the present one.

Parameters
[in]transformThe new entity's transform.

Definition at line 351 of file digitizersettreeitem.cpp.

◆ applyTransform() [2/2]

void DigitizerSetTreeItem::applyTransform ( const FIFFLIB::FiffCoordTrans transform,
bool  bApplyInverse = false 
)
virtual

Applies a transformation o ntop of the present one.

Parameters
[in]transformThe new entity's transform.
[in]bApplyInverseWhether to apply the inverse. False by default.

Definition at line 360 of file digitizersettreeitem.cpp.

◆ initItem()

void DigitizerSetTreeItem::initItem ( )
protectedvirtual

AbstractTreeItem functions

Reimplemented from DISP3DLIB::AbstractTreeItem.

Definition at line 88 of file digitizersettreeitem.cpp.

◆ setTransform() [1/2]

void DigitizerSetTreeItem::setTransform ( const Qt3DCore::QTransform &  transform)
virtual

Sets the entity's transformation. This will clear the old transformation.

Parameters
[in]transformThe new entity's transform.

Definition at line 332 of file digitizersettreeitem.cpp.

◆ setTransform() [2/2]

void DigitizerSetTreeItem::setTransform ( const FIFFLIB::FiffCoordTrans transform,
bool  bApplyInverse = false 
)
virtual

Sets the entity's transformation. This will clear the old transformation.

Parameters
[in]transformThe new entity's transform.
[in]bApplyInverseWhether to apply the inverse. False by default.

Definition at line 341 of file digitizersettreeitem.cpp.

Member Data Documentation

◆ m_pRenderable3DEntity

QPointer<Renderable3DEntity> DISP3DLIB::DigitizerSetTreeItem::m_pRenderable3DEntity
protected

This item holds all renderable digitizer items.

Definition at line 160 of file digitizersettreeitem.h.


The documentation for this class was generated from the following files: