|
Public Member Functions |
| COpenGLControl () |
void | Create (CRect rect, CWnd *parent) |
virtual | ~COpenGLControl () |
void | stopDraw () |
| Stopt das GL Zeichnen.
|
void | resumeDraw () |
| Setzt das GL Zeichnen fort.
|
void | setArrowDistance (int dist) |
| Legt die Dichte der Pfeile im ArrowDraw fest und zeichnet neu.
|
void | setArrowCodingK (int what, int k=0) |
| Setzt die Codierung der Pfeile und den Index der Zusatzdaten (aber sinnvoll wenn what = ARROW_ADDITONALDATA).
|
void | setFlowType (BasicFlow *f) |
| Setzt den Flowtype für den Background.
|
void | DrawGLScene (FlowDrawer *drawer, int arrows, int streamlines, int background) |
| Zeichnet die Szene (je nach Parameter Arrows, Streamlines, Background).
|
void | setStreamParam (float mdsep, float mdtest, int mmethod) |
| Setzt Werte für die Streamlines.
|
void | setStreamMode (bool automa) |
| dsep, dtest Streamlines oder manuelle Seedpoints
|
void | clearStream () |
| Löscht Streamlines von der Anzeige.
|
void | drawOneStream (FlowDrawer *drawer, int x, int y) |
| Zeichnet eine Streamline (für Manuelle Seedpoint Selektion).
|
void | setSelection (bool s) |
| Setzt die Anzeige des Selektionsrechtecks.
|
bool | getSelection (int &x1, int &y1, int &x2, int &y2) |
| Liefert die Koordinaten des Selektionsrechtecks.
|
Protected Member Functions |
void | InitGL () |
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 | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
Protected Attributes |
OpenGLDevice | openGLDevice |
CClientDC * | dc |
bool | b_draw |
int | arrowDistance |
FlowDrawer * | oldDrawer |
int | oldArrow |
int | oldStream |
int | oldBack |
int | arrowCoding |
int | additionalDataIndex |
float | dsep |
float | dtest |
int | method |
bool | automatic |
int | selx |
int | sely |
int | selxold |
int | selyold |
bool | selection |
BasicFlow * | flow |