MNE-CPP  beta 1.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
DISP3DLIB::InverseView Class Reference

3D stereoscopic labels More...

#include <inverseview.h>

Inheritance diagram for DISP3DLIB::InverseView:

Public Types

typedef QSharedPointer< InverseViewSPtr
 
typedef QSharedPointer< const InverseViewConstSPtr
 

Public Member Functions

 InverseView (const MNESourceSpace &p_sourceSpace, QList< Label > &p_qListLabels, QList< RowVector4i > &p_qListRGBAs, qint32 p_iFps=24, bool p_bLoop=true, bool p_bStereo=false, bool p_bSlowMotion=false, QWindow *parent=0)
 
 ~InverseView ()
 
void pushSourceEstimate (MNESourceEstimate &p_sourceEstimate)
 

Protected Member Functions

void initializeGL (QGLPainter *painter)
 
void paintGL (QGLPainter *painter)
 
void keyPressEvent (QKeyEvent *e)
 
void mouseMoveEvent (QMouseEvent *e)
 
void mousePressEvent (QMouseEvent *e)
 

Detailed Description

3D stereoscopic labels

ToDo: derive this from geometryview! Visualize labels using a stereoscopic view. Coloring is done per label.

Definition at line 118 of file inverseview.h.

Member Typedef Documentation

typedef QSharedPointer<const InverseView> DISP3DLIB::InverseView::ConstSPtr

Const shared pointer type for InverseView class.

Definition at line 123 of file inverseview.h.

typedef QSharedPointer<InverseView> DISP3DLIB::InverseView::SPtr

Shared pointer type for InverseView class.

Definition at line 122 of file inverseview.h.

Constructor & Destructor Documentation

InverseView::InverseView ( const MNESourceSpace p_sourceSpace,
QList< Label > &  p_qListLabels,
QList< RowVector4i > &  p_qListRGBAs,
qint32  p_iFps = 24,
bool  p_bLoop = true,
bool  p_bStereo = false,
bool  p_bSlowMotion = false,
QWindow *  parent = 0 
)

Default constructor

Parameters
[in]p_sourceSpaceSource space which contains the geometry information
[in]p_qListLabelsregion of interest labels
[in]p_qListRGBAscolor information for given region of interest
[in]p_iFpsFrames per second
[in]p_bLoopif current source estimate should be repeated
[in]p_bStereoif stereo view should be turned on
[in]p_bSlowMotionif slow motion should be turned on (fps is discarded)
[in]parentParent QObject (optional)

Definition at line 85 of file inverseview.cpp.

InverseView::~InverseView ( )

Destroys the InverseView class.

Definition at line 112 of file inverseview.cpp.

Member Function Documentation

void InverseView::initializeGL ( QGLPainter *  painter)
protected

Initializes the current GL context represented by painter.

Parameters
[in]painterGL painter which should be initialized

Definition at line 130 of file inverseview.cpp.

void InverseView::keyPressEvent ( QKeyEvent *  e)
protected

Processes the key press event e.

Parameters
[in]ethe key press event.

Definition at line 339 of file inverseview.cpp.

void InverseView::mouseMoveEvent ( QMouseEvent *  e)
protected

Processes the mouse move event e.

Parameters
[in]ethe mouse move event.

Definition at line 361 of file inverseview.cpp.

void InverseView::mousePressEvent ( QMouseEvent *  e)
protected

Processes the mouse press event e.

Parameters
[in]ethe mouse press event.

Definition at line 383 of file inverseview.cpp.

void InverseView::paintGL ( QGLPainter *  painter)
protected

Paints the scene onto painter. The color and depth buffers will have already been cleared, and the camera() position set.

Parameters
[in]painterGL painter which is updated

Definition at line 312 of file inverseview.cpp.

void InverseView::pushSourceEstimate ( MNESourceEstimate p_sourceEstimate)

Appends a new source estimate to the internal inverse producer

Parameters
[in]p_sourceEstimateSource estimate to push

Definition at line 122 of file inverseview.cpp.


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