IConversionManager.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *<
00003     FILE: IConveriosnManager.h
00004 
00005     DESCRIPTION:    Tools to convert from one coordinate system to another
00006 
00007     CREATED BY:     Neil Hazzard
00008 
00009     HISTORY:        10|12|2002
00010 
00011     IGame Version: 1.122
00012 
00013  *> Copyright (c) 2002, All Rights Reserved.
00014  **********************************************************************/
00019 #pragma once
00020 
00021 #include "..\maxheap.h"
00022 #include "IGameStd.h"
00023 
00025 
00043 struct UserCoord{
00045 
00047     int rotation;   
00048 
00050 
00052     int xAxis;
00054 
00056     int yAxis;
00058 
00060     int zAxis;
00061 
00063 
00065     int uAxis;
00066 
00068 
00070     int vAxis;
00071 
00072 };
00073 
00075 
00082 class IGameConversionManager: public MaxHeapOperators
00083 {
00084 public:
00086 
00088     enum CoordSystem{
00089         IGAME_MAX,  
00090         IGAME_D3D,  
00091         IGAME_OGL,  
00092         IGAME_USER  
00093     };
00094 
00096 
00100     virtual void SetCoordSystem(CoordSystem Coord) =0;
00101 
00103 
00106     virtual CoordSystem GetCoordSystem() =0;
00107 
00108 
00110 
00113     virtual void SetUserCoordSystem(UserCoord UC) =0;
00114 
00115 };
00116 
00117 
00119 IGAMEEXPORT IGameConversionManager * GetConversionManager();
00120 
00121