COpenGLControl Class Reference

Verwaltet die OpenGL Zeichenmethoden und den Bufferswap. More...

#include <OpenGLControl.h>

List of all members.

Public Member Functions

 COpenGLControl ()
void Create (CRect rect, CWnd *parent)
 Erzeugt ein OpenGL Window.
virtual ~COpenGLControl ()
void stopDraw ()
 Stopt das GL Zeichnen.
void resumeDraw ()
 Setzt das GL Zeichnen fort.
VolDisplaygetVolDisplay ()
 Lieft das zugehörige VolDisplay an den Aufrufer.
void setSliceOptions ()
 Setzt die GL Eigenschaften für Slice View.
void setRenderOptions ()
 Setzt die GL Eigenschaften für Render View.
void Swap ()
 Tauscht Front mit Back Buffer.

Protected Member Functions

void InitGL ()
 Initialisiert GL.
void DrawGLScene ()
 Zeichnet die aktulle GL Szene in den Backbuffer.
afx_msg void OnPaint ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)

Protected Attributes

OpenGLDevice openGLDevice
CClientDC * dc
bool b_draw
bool b_renderMode
VolDisplay volDisplay


Detailed Description

Verwaltet die OpenGL Zeichenmethoden und den Bufferswap.


Constructor & Destructor Documentation

COpenGLControl::COpenGLControl  ) 
 

COpenGLControl::~COpenGLControl  )  [virtual]
 


Member Function Documentation

void COpenGLControl::Create CRect  rect,
CWnd *  parent
 

Erzeugt ein OpenGL Window.

Parameters:
rect Die Größe des Windows
parent Elternfenster

void COpenGLControl::DrawGLScene  )  [protected]
 

Zeichnet die aktulle GL Szene in den Backbuffer.

VolDisplay * COpenGLControl::getVolDisplay  ) 
 

Lieft das zugehörige VolDisplay an den Aufrufer.

Returns:
Ein zugehöriges VolDisplay

void COpenGLControl::InitGL  )  [protected]
 

Initialisiert GL.

int COpenGLControl::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

BOOL COpenGLControl::OnEraseBkgnd CDC *  pDC  )  [protected]
 

void COpenGLControl::OnMouseMove UINT  nFlags,
CPoint  point
[protected]
 

void COpenGLControl::OnPaint  )  [protected]
 

OpenGL section

void COpenGLControl::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

void COpenGLControl::resumeDraw  ) 
 

Setzt das GL Zeichnen fort.

void COpenGLControl::setRenderOptions  ) 
 

Setzt die GL Eigenschaften für Render View.

void COpenGLControl::setSliceOptions  ) 
 

Setzt die GL Eigenschaften für Slice View.

void COpenGLControl::stopDraw  ) 
 

Stopt das GL Zeichnen.

void COpenGLControl::Swap  ) 
 

Tauscht Front mit Back Buffer.


Member Data Documentation

bool COpenGLControl::b_draw [protected]
 

bool COpenGLControl::b_renderMode [protected]
 

CClientDC* COpenGLControl::dc [protected]
 

OpenGLDevice COpenGLControl::openGLDevice [protected]
 

VolDisplay COpenGLControl::volDisplay [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Dec 7 00:31:16 2005 for Volviser by  doxygen 1.4.5