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

3D Display More...

#include <cluststcview.h>

Inheritance diagram for DISP3DLIB::ClustStcView:

Public Types

typedef QSharedPointer< ClustStcViewSPtr
 
typedef QSharedPointer< const ClustStcViewConstSPtr
 

Public Member Functions

 ClustStcView (bool showRegions=true, bool isStereo=true, QGLView::StereoType stereo=QGLView::RedCyanAnaglyph, QWindow *parent=0)
 
void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector< int > &roles=QVector< int >())
 
void setModel (ClustStcModel *model)
 

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 Display

3D view to display cluster stc model data in a stereoscopic view

Definition at line 83 of file cluststcview.h.

Member Typedef Documentation

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

Const shared pointer type for ClustStcView class.

Definition at line 88 of file cluststcview.h.

Shared pointer type for ClustStcView class.

Definition at line 87 of file cluststcview.h.

Member Function Documentation

void ClustStcView::initializeGL ( QGLPainter *  painter)
protected

Initializes the current GL context represented by painter.

Parameters
[in]painterGL painter which should be initialized

Definition at line 143 of file cluststcview.cpp.

void ClustStcView::keyPressEvent ( QKeyEvent *  e)
protected

Processes the key press event e.

Parameters
[in]ethe key press event.

Definition at line 307 of file cluststcview.cpp.

void ClustStcView::mouseMoveEvent ( QMouseEvent *  e)
protected

Processes the mouse move event e.

Parameters
[in]ethe mouse move event.

Definition at line 329 of file cluststcview.cpp.

void ClustStcView::mousePressEvent ( QMouseEvent *  e)
protected

Processes the mouse press event e.

Parameters
[in]ethe mouse press event.

Definition at line 351 of file cluststcview.cpp.

void ClustStcView::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 280 of file cluststcview.cpp.


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