Cvisbsp_mfcView Class Reference

Implements the View-Class of the MFC-Application. More...

#include <visbsp_mfcView.h>

List of all members.

Public Member Functions

Cvisbsp_mfcDocGetDocument () const
virtual void OnDraw (CDC *pDC)
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual ~Cvisbsp_mfcView ()
BOOL SetupPixelFormat (void)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
void InitGL (void)
afx_msg void OnSize (UINT nType, int cx, int cy)
void SetProjection (void)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
void setFormRechtsView (CFormRechtsView *cfrv)
void DoColorMapping (void)
 does the color-mapping of the background
void DrawPfeile (void)
 plots the arrows
void DrawStream (void)
 draws all streamlines
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnRButtonUp (UINT nFlags, CPoint point)
float px2dataX (float px)
 converts a pixelpoint to a data point (x Value)
float px2dataY (float py)
 converts a pixelpoint to a data point (y Value)
float data2pxX (Cvisbsp_mfcDoc *pDoc, float px)
 converts a data point to a pixel point (x Value)
float data2pxY (Cvisbsp_mfcDoc *pDoc, float py)
 converts a data point to a pixel point (y Value)
void drawStreamLine (list< Vector > list, bool bEuler)
 draws one streamline; method is called from the DrawStream-Method
float doStreamPosCalc (float angle, float tapering)
 a smal helping function for calculating the with of a streamline with tapering effect
void mapGlyphs (list< Vector > list, bool bEuler)
 Maps Glyphs on one streamline; method is called from the DrawStream-Method.
afx_msg void OnViewTransferfunk ()
 Event-Method to show the transferfunction-dialog.

Public Attributes

HGLRC m_hRC
HDC m_myhDC
int m_height
int m_width
CFormRechtsViewformRechtsView
bool m_bLMouseDown
bool m_bRMouseDown
GLuint dlPfeil
 contains the display list for one glyph for the arrow plot
float n_offsetX
 X offset information for moving the picture around with the mouse.
float n_offsetY
 Y offset information for moving the picture around with the mouse.
CPoint m_prevMousePoint

Protected Member Functions

 Cvisbsp_mfcView ()
virtual void OnUpdate (CView *, LPARAM, CObject *)


Detailed Description

Implements the View-Class of the MFC-Application.


Constructor & Destructor Documentation

Cvisbsp_mfcView::Cvisbsp_mfcView (  )  [protected]

Cvisbsp_mfcView::~Cvisbsp_mfcView (  )  [virtual]


Member Function Documentation

Cvisbsp_mfcDoc * Cvisbsp_mfcView::GetDocument (  )  const [inline]

void Cvisbsp_mfcView::OnDraw ( CDC *  pDC  )  [virtual]

BOOL Cvisbsp_mfcView::PreCreateWindow ( CREATESTRUCT &  cs  )  [virtual]

BOOL Cvisbsp_mfcView::SetupPixelFormat ( void   ) 

BOOL Cvisbsp_mfcView::OnEraseBkgnd ( CDC *  pDC  ) 

void Cvisbsp_mfcView::InitGL ( void   ) 

void Cvisbsp_mfcView::OnSize ( UINT  nType,
int  cx,
int  cy 
)

void Cvisbsp_mfcView::SetProjection ( void   ) 

int Cvisbsp_mfcView::OnCreate ( LPCREATESTRUCT  lpCreateStruct  ) 

void Cvisbsp_mfcView::setFormRechtsView ( CFormRechtsView cfrv  ) 

void Cvisbsp_mfcView::OnUpdate ( CView *  ,
LPARAM  ,
CObject *   
) [protected, virtual]

void Cvisbsp_mfcView::DoColorMapping ( void   ) 

does the color-mapping of the background

void Cvisbsp_mfcView::DrawPfeile ( void   ) 

plots the arrows

void Cvisbsp_mfcView::DrawStream ( void   ) 

draws all streamlines

void Cvisbsp_mfcView::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)

void Cvisbsp_mfcView::OnLButtonUp ( UINT  nFlags,
CPoint  point 
)

void Cvisbsp_mfcView::OnMouseMove ( UINT  nFlags,
CPoint  point 
)

void Cvisbsp_mfcView::OnRButtonDown ( UINT  nFlags,
CPoint  point 
)

void Cvisbsp_mfcView::OnRButtonUp ( UINT  nFlags,
CPoint  point 
)

float Cvisbsp_mfcView::px2dataX ( float  px  ) 

converts a pixelpoint to a data point (x Value)

float Cvisbsp_mfcView::px2dataY ( float  py  ) 

converts a pixelpoint to a data point (y Value)

float Cvisbsp_mfcView::data2pxX ( Cvisbsp_mfcDoc pDoc,
float  px 
)

converts a data point to a pixel point (x Value)

float Cvisbsp_mfcView::data2pxY ( Cvisbsp_mfcDoc pDoc,
float  py 
)

converts a data point to a pixel point (y Value)

void Cvisbsp_mfcView::drawStreamLine ( list< Vector list,
bool  bEuler 
)

draws one streamline; method is called from the DrawStream-Method

float Cvisbsp_mfcView::doStreamPosCalc ( float  angle,
float  tapering 
) [inline]

a smal helping function for calculating the with of a streamline with tapering effect

void Cvisbsp_mfcView::mapGlyphs ( list< Vector list,
bool  bEuler 
)

Maps Glyphs on one streamline; method is called from the DrawStream-Method.

void Cvisbsp_mfcView::OnViewTransferfunk (  ) 

Event-Method to show the transferfunction-dialog.


Member Data Documentation

HGLRC Cvisbsp_mfcView::m_hRC

HDC Cvisbsp_mfcView::m_myhDC

int Cvisbsp_mfcView::m_height

int Cvisbsp_mfcView::m_width

CFormRechtsView* Cvisbsp_mfcView::formRechtsView

bool Cvisbsp_mfcView::m_bLMouseDown

bool Cvisbsp_mfcView::m_bRMouseDown

GLuint Cvisbsp_mfcView::dlPfeil

contains the display list for one glyph for the arrow plot

float Cvisbsp_mfcView::n_offsetX

X offset information for moving the picture around with the mouse.

float Cvisbsp_mfcView::n_offsetY

Y offset information for moving the picture around with the mouse.

CPoint Cvisbsp_mfcView::m_prevMousePoint


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 11:58:36 2007 for VisLuBsp1 by  doxygen 1.5.1-p1