Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

controlEngine.h File Reference

Moteur 3D. More...

#include "3d.h"
#include "texture.h"
#include "box.h"
#include "fog.h"
#include "light.h"
#include "region.h"
#include "polygonMode.h"
#include "openGL_tools.h"
#include "windowTools.h"
#include "primitive.h"
#include "control.h"
#include "univers.h"
#include "taskWindow.h"
#include "picking.h"
#include "perfMon.h"
#include "screen.h"
#include "masterContainer.h"
#include "cursor.h"
#include "tip.h"
#include "resource.h"

Go to the source code of this file.

Classes

struct  Textures
 Toute les textures "commune". More...

class  ControlEngine
 Gestion du moteur de rendu des controls. More...


Defines

#define DEFAULT_DOUBLE_CLICK   0.25
#define SEUIL_MIN_INERTIA   5
#define SEUIL_MAX_INERTIA   15
#define DEFAULT_LIGHT_MOVE0   FALSE
#define DEFAULT_LIGHT_MOVE1   FALSE
#define DEFAULT_LIGHT_MOVE2   FALSE
#define DEFAULT_LIGHT_ENABLE0   FALSE
#define DEFAULT_LIGHT_ENABLE1   FALSE
#define DEFAULT_LIGHT_ENABLE2   TRUE
#define DEFAULT_FOG_ENABLE   FALSE
#define DEFAULT_FOG_START   4.5f
#define DEFAULT_FOG_END   6.0f
#define DEFAULT_FOG_DENSITY   0.3f
#define DEFAULT_FOG_MODE   fogLinear
#define DEFAULT_ANTIALIASING   FALSE
#define DEFAULT_ANTIALIASING_QUALITY   4
#define DEFAULT_VIEW_REPERE   FALSE
#define DEFAULT_VIEW_LIGHT   FALSE
#define DEFAULT_PICKING   TRUE
#define DEFAULT_DELTA   FALSE
#define DEFAULT_VIEW_BACKGROUND   TRUE
#define DEFAULT_VIEW_FPS   FALSE
#define DEFAULT_INERTIA   FALSE
#define DEFAULT_MONITOR   FALSE
#define DEFAULT_VIEW_INERTIA   TRUE
#define DEFAULT_FULLSCREEN   TRUE
#define DEFAULT_TITLED   TRUE
#define DEFAULT_VIEW_REGION   FALSE
#define DEFAULT_POLYGON_BACK   fill
#define DEFAULT_POLYGON_FRONT   fill
#define DEFAULT_XSIZE   500
#define DEFAULT_YSIZE   400
#define DEFAULT_TIMER_REFRESH   30
#define DEFAULT_CPU_LIMIT   100
#define deltaXwin   viewPort[2]
#define deltaYwin   viewPort[3]

Enumerations

enum  TypeScreenShot { ssRGB, ssDepth, ssBlending, ssLuminance }

Functions

int FTLibraryInit ()
void FTLibraryFree ()
LRESULT CALLBACK ControlEngineProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)


Detailed Description

Moteur 3D.

Definition in file controlEngine.h.


Define Documentation

#define DEFAULT_ANTIALIASING   FALSE
 

Definition at line 69 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_ANTIALIASING_QUALITY   4
 

Definition at line 70 of file controlEngine.h.

Referenced by ControlEngine::ControlEngine().

#define DEFAULT_CPU_LIMIT   100
 

Definition at line 88 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_DELTA   FALSE
 

Definition at line 74 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_DOUBLE_CLICK   0.25
 

Definition at line 53 of file controlEngine.h.

Referenced by ControlEngine::Proc().

#define DEFAULT_FOG_DENSITY   0.3f
 

Definition at line 67 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_FOG_ENABLE   FALSE
 

Definition at line 64 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_FOG_END   6.0f
 

Definition at line 66 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_FOG_MODE   fogLinear
 

Definition at line 68 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_FOG_START   4.5f
 

Definition at line 65 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_FULLSCREEN   TRUE
 

Definition at line 80 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_INERTIA   FALSE
 

Definition at line 77 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_LIGHT_ENABLE0   FALSE
 

Definition at line 61 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_LIGHT_ENABLE1   FALSE
 

Definition at line 62 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_LIGHT_ENABLE2   TRUE
 

Definition at line 63 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_LIGHT_MOVE0   FALSE
 

Definition at line 58 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_LIGHT_MOVE1   FALSE
 

Definition at line 59 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_LIGHT_MOVE2   FALSE
 

Definition at line 60 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_MONITOR   FALSE
 

Definition at line 78 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_PICKING   TRUE
 

Definition at line 73 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_POLYGON_BACK   fill
 

Definition at line 83 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_POLYGON_FRONT   fill
 

Definition at line 84 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_TIMER_REFRESH   30
 

Definition at line 87 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_TITLED   TRUE
 

Definition at line 81 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_VIEW_BACKGROUND   TRUE
 

Definition at line 75 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_VIEW_FPS   FALSE
 

Definition at line 76 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_VIEW_INERTIA   TRUE
 

Definition at line 79 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_VIEW_LIGHT   FALSE
 

Definition at line 72 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_VIEW_REGION   FALSE
 

Definition at line 82 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_VIEW_REPERE   FALSE
 

Definition at line 71 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_XSIZE   500
 

Definition at line 85 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define DEFAULT_YSIZE   400
 

Definition at line 86 of file controlEngine.h.

Referenced by ConfigProc(), and ControlEngine::ControlEngine().

#define deltaXwin   viewPort[2]
 

Definition at line 170 of file controlEngine.h.

Referenced by ControlEngine::Draw2DText(), ControlEngine::DrawLight(), and Region::Reset().

#define deltaYwin   viewPort[3]
 

Definition at line 171 of file controlEngine.h.

Referenced by ControlEngine::Draw2DText(), ControlEngine::DrawLight(), ControlEngine::ProjectObjectToWindow(), ControlEngine::ProjectWindowToObject(), and Region::Reset().

#define SEUIL_MAX_INERTIA   15
 

Definition at line 55 of file controlEngine.h.

#define SEUIL_MIN_INERTIA   5
 

Definition at line 54 of file controlEngine.h.


Enumeration Type Documentation

enum TypeScreenShot
 

Enumeration values:
ssRGB 
ssDepth 
ssBlending 
ssLuminance 

Definition at line 94 of file controlEngine.h.


Function Documentation

LRESULT CALLBACK ControlEngineProc HWND  hDlg,
UINT  message,
WPARAM  wParam,
LPARAM  lParam
 

Redirection de la callback

Definition at line 1046 of file controlEngine.cpp.

References ce, and ControlEngine::Proc().

Referenced by ControlEngine::Start().

void FTLibraryFree  ) 
 

Definition at line 255 of file controlEngine.cpp.

int FTLibraryInit  ) 
 

Definition at line 234 of file controlEngine.cpp.

References GLint().


Generated on Fri Aug 20 19:19:53 2004 for 3d Controls by doxygen 1.3.6