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

Region Class Reference

Gestion des region windows. More...

#include <region.h>

List of all members.

Public Member Functions

 Region ()
void Reset (int deltaXwin=0, int deltaYwin=0)
BOOL Use (HWND hWnd)
void NormalizeSens (POINT *tabPoints, int nbPt)
void SetMinMax (POINT *tabPoints, int nbPt)
BOOL AddElem (Point2D< GLdouble > pos, GLdouble *modelMatrix, GLdouble *projMatrix, GLint *viewPort)
BOOL Compute (Point2D< GLdouble > pos, GLdouble *modelMatrix, GLdouble *projMatrix, GLint *viewPort, Point3D< double > *pt)

Public Attributes

BOOL enable
BOOL computeMinMax
MyList< Pt_3D_Doublepoints
int xMin
int xMax
int yMin
int yMax
int zMin
int zMax
int nbOr
HRGN hRgnBase


Detailed Description

Gestion des region windows.

Elle permet l'utilisation du mode cooperativeWindows ou elle detoure les object 3DS. Elle applique alors les API Windows sur les regions

Definition at line 38 of file region.h.


Constructor & Destructor Documentation

Region::Region  ) 
 

Definition at line 22 of file region.cpp.

References computeMinMax, and Reset().


Member Function Documentation

BOOL Region::AddElem Point2D< GLdouble >  pos,
GLdouble *  modelMatrix,
GLdouble *  projMatrix,
GLint *  viewPort
 

Definition at line 115 of file region.cpp.

References BOOL(), Compute(), and points.

Referenced by ControlEngine::RegionAdd().

BOOL Region::Compute Point2D< GLdouble >  pos,
GLdouble *  modelMatrix,
GLdouble *  projMatrix,
GLint *  viewPort,
Point3D< double > *  pt
 

Definition at line 122 of file region.cpp.

References BOOL(), Point3D< T >::x, Point2D< T >::x, Point3D< T >::y, Point2D< T >::y, and Point3D< T >::z.

Referenced by AddElem(), and ControlEngine::RegionGet().

void Region::NormalizeSens POINT *  tabPoints,
int  nbPt
 

Definition at line 95 of file region.cpp.

References BOOL(), ChangeTrigoSens(), and GetTrigoSens().

Referenced by Use().

void Region::Reset int  deltaXwin = 0,
int  deltaYwin = 0
 

Definition at line 29 of file region.cpp.

References deltaXwin, deltaYwin, hRgnBase, nbOr, points, xMax, xMin, yMax, yMin, zMax, and zMin.

Referenced by Region(), and Screen::RegionReset().

void Region::SetMinMax POINT *  tabPoints,
int  nbPt
 

Definition at line 103 of file region.cpp.

References xMax, xMin, yMax, and yMin.

Referenced by Use().

BOOL Region::Use HWND  hWnd  ) 
 

Definition at line 42 of file region.cpp.

References BOOL(), computeMinMax, hRgnBase, NormalizeSens(), points, SetMinMax(), Point3D< T >::x, and Point3D< T >::y.

Referenced by Screen::RegionUse().


Member Data Documentation

BOOL Region::computeMinMax
 

Definition at line 42 of file region.h.

Referenced by Region(), and Use().

BOOL Region::enable
 

Definition at line 41 of file region.h.

Referenced by ConfigProc(), ControlEngine::ControlEngine(), Face::Draw(), ValueEditors::MakeRenderStruct(), Univers::OnKeyDown(), ControlEngine::Proc(), and ControlEngine::~ControlEngine().

HRGN Region::hRgnBase
 

Definition at line 48 of file region.h.

Referenced by Reset(), and Use().

int Region::nbOr
 

Definition at line 47 of file region.h.

Referenced by ValueEditors::MakeRenderStruct(), and Reset().

MyList<Pt_3D_Double> Region::points
 

Definition at line 43 of file region.h.

Referenced by ValueEditors::MakeRenderStruct().

int Region::xMax
 

Definition at line 44 of file region.h.

Referenced by ValueEditors::MakeRenderStruct(), Reset(), and SetMinMax().

int Region::xMin
 

Definition at line 44 of file region.h.

Referenced by ValueEditors::MakeRenderStruct(), Reset(), and SetMinMax().

int Region::yMax
 

Definition at line 45 of file region.h.

Referenced by ValueEditors::MakeRenderStruct(), Reset(), and SetMinMax().

int Region::yMin
 

Definition at line 45 of file region.h.

Referenced by ValueEditors::MakeRenderStruct(), Reset(), and SetMinMax().

int Region::zMax
 

Definition at line 46 of file region.h.

Referenced by Reset().

int Region::zMin
 

Definition at line 46 of file region.h.

Referenced by Reset().


The documentation for this class was generated from the following files:
Generated on Fri Aug 20 19:21:41 2004 for 3d Controls by doxygen 1.3.6