Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Camera.h

Go to the documentation of this file.
00001 // Camera.h: Schnittstelle für die Klasse CCamera.
00002 //
00004 
00005 #if !defined(AFX_CAMERA_H__B99C80F1_E7A2_4F55_B569_1A63D6170888__INCLUDED_)
00006 #define AFX_CAMERA_H__B99C80F1_E7A2_4F55_B569_1A63D6170888__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00016 class CCamera  
00017 {
00018 public:
00019         CCamera();
00020         CCamera(float x, float y, float z, int width, int height);
00021         virtual ~CCamera();
00022         void MoveCamera(float x, float y, float z);
00023         void ResizeViewport(float value);
00024         void SetWidth(int width);
00025         void SetHeight(int height);
00026         void UpdateWidth();
00027         int GetWidth();
00028         int GetHeight();
00029         void GlSzeneSized(int sceneWidth, int sceneHeight);
00030         float GetZ() { return z;};
00031 
00032 public:
00033         float x;
00034         float y;
00035         float z;
00036 
00037 private:
00038         int width;
00039         int height;
00040         float aspectRatio;
00041 
00042 };
00043 
00044 #endif // !defined(AFX_CAMERA_H__B99C80F1_E7A2_4F55_B569_1A63D6170888__INCLUDED_)

Generated on Thu Jan 23 04:30:11 2003 for FlowVis- vector field in 2D by doxygen1.3-rc2