MNE-CPP
beta 1.0
|
3D stereoscopic labels More...
#include <inverseview.h>
Public Types | |
typedef QSharedPointer< InverseView > | SPtr |
typedef QSharedPointer< const InverseView > | ConstSPtr |
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) |
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.
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.
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
[in] | p_sourceSpace | Source space which contains the geometry information |
[in] | p_qListLabels | region of interest labels |
[in] | p_qListRGBAs | color information for given region of interest |
[in] | p_iFps | Frames per second |
[in] | p_bLoop | if current source estimate should be repeated |
[in] | p_bStereo | if stereo view should be turned on |
[in] | p_bSlowMotion | if slow motion should be turned on (fps is discarded) |
[in] | parent | Parent QObject (optional) |
Definition at line 85 of file inverseview.cpp.
InverseView::~InverseView | ( | ) |
Destroys the InverseView class.
Definition at line 112 of file inverseview.cpp.
|
protected |
Initializes the current GL context represented by painter.
[in] | painter | GL painter which should be initialized |
Definition at line 130 of file inverseview.cpp.
|
protected |
Processes the key press event e.
[in] | e | the key press event. |
Definition at line 339 of file inverseview.cpp.
|
protected |
Processes the mouse move event e.
[in] | e | the mouse move event. |
Definition at line 361 of file inverseview.cpp.
|
protected |
Processes the mouse press event e.
[in] | e | the mouse press event. |
Definition at line 383 of file inverseview.cpp.
|
protected |
Paints the scene onto painter. The color and depth buffers will have already been cleared, and the camera() position set.
[in] | painter | GL 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
[in] | p_sourceEstimate | Source estimate to push |
Definition at line 122 of file inverseview.cpp.