MNE-CPP
beta 1.0
|
FreeSurfer surface visualisation. More...
#include <brainview.h>
Public Types | |
enum | ViewOption { ShowCurvature = 0x0 } |
typedef QSharedPointer< BrainView > | SPtr |
typedef QSharedPointer< const BrainView > | ConstSPtr |
Public Member Functions | |
BrainView () | |
BrainView (const QString &subject_id, qint32 hemi, const QString &surf, const QString &subjects_dir) | |
BrainView (const QString &subject_id, qint32 hemi, const QString &surf, const QString &atlas, const QString &subjects_dir) | |
BrainView (const QString &p_sFile) | |
~BrainView () | |
void | init () |
Protected Member Functions | |
void | initializeGL (QGLPainter *painter) |
void | paintGL (QGLPainter *painter) |
void | keyPressEvent (QKeyEvent *e) |
void | mouseMoveEvent (QMouseEvent *e) |
void | mousePressEvent (QMouseEvent *e) |
FreeSurfer surface visualisation.
ToDo: derive this from geometryview! Visualizes FreeSurfer surfaces.
Definition at line 106 of file brainview.h.
typedef QSharedPointer<const BrainView> DISP3DLIB::BrainView::ConstSPtr |
Const shared pointer type for BrainView class.
Definition at line 111 of file brainview.h.
typedef QSharedPointer<BrainView> DISP3DLIB::BrainView::SPtr |
Shared pointer type for BrainView class.
Definition at line 110 of file brainview.h.
BrainView::BrainView | ( | ) |
Default constructor
Definition at line 69 of file brainview.cpp.
|
explicit |
Construts the BrainView set by reading it of the given surface.
[in] | subject_id | Name of subject |
[in] | hemi | Which hemisphere to load {0 -> lh, 1 -> rh, 2 -> both} |
[in] | surf | Name of the surface to load (eg. inflated, orig ...) |
[in] | subjects_dir | Subjects directory |
Definition at line 81 of file brainview.cpp.
|
explicit |
Construts the BrainView set by reading it of the given surface.
[in] | subject_id | Name of subject |
[in] | hemi | Which hemisphere to load {0 -> lh, 1 -> rh, 2 -> both} |
[in] | surf | Name of the surface to load (eg. inflated, orig ...) |
[in] | atlas | Name of the atlas to load (eg. aparc.a2009s, aparc, aparc.DKTatlas40, BA, BA.thresh, ...) |
[in] | subjects_dir | Subjects directory |
Definition at line 94 of file brainview.cpp.
|
explicit |
Construts the brain view by reading a given surface.
[in] | p_sFile | Surface file name with path |
Definition at line 108 of file brainview.cpp.
BrainView::~BrainView | ( | ) |
Default destructor
Definition at line 123 of file brainview.cpp.
|
protected |
Initializes the current GL context represented by painter.
[in] | painter | GL painter which should be initialized |
Definition at line 146 of file brainview.cpp.
|
protected |
Processes the key press event e.
[in] | e | the key press event. |
Definition at line 230 of file brainview.cpp.
|
protected |
Processes the mouse move event e.
[in] | e | the mouse move event. |
Definition at line 252 of file brainview.cpp.
|
protected |
Processes the mouse press event e.
[in] | e | the mouse press event. |
Definition at line 274 of file brainview.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 199 of file brainview.cpp.