ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

monotonizer.h
Go to the documentation of this file.
00001 /**************************************************************************
00002  *                                    *
00003  *       Copyright (C) 1999, Silicon Graphics, Inc.       *
00004  *                                    *
00005  *  These coded instructions, statements, and computer programs  contain  *
00006  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
00007  *  are protected by Federal copyright law.  They  may  not be disclosed  *
00008  *  to  third  parties  or copied or duplicated in any form, in whole or  *
00009  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
00010  *                                    *
00011  **************************************************************************/
00012 
00013 /*
00014  * monotonizer.h
00015  *
00016  * $Header: /cygdrive/c/RCVS/CVS/ReactOS/reactos/lib/glu32/libnurbs/internals/monotonizer.h,v 1.1 2004/02/02 16:39:12 navaraf Exp $
00017  */
00018 
00019 #ifndef __glumonotonizer_h_
00020 #define __glumonotonizer_h_
00021 
00022 #include "mysetjmp.h"
00023 #include "types.h"
00024 
00025 class Arc;
00026 class ArcTessellator;
00027 class Pool;
00028 class Bin;
00029 class PwlArcPool;
00030 class Mapdesc;
00031 
00032 class Monotonizer {
00033     ArcTessellator& arctessellator;
00034     Pool&       arcpool;
00035     Pool&       pwlarcpool;
00036     jmp_buf&        nurbsJmpBuf;
00037 
00038     enum dir        { down, same, up, none };
00039     void        tessellate( Arc *, REAL );
00040     void        monotonize( Arc *, Bin & );
00041     int         isMonotone( Arc * );
00042 public:
00043                 Monotonizer( ArcTessellator& at, Pool& ap, Pool& p, jmp_buf& j )
00044                 : arctessellator(at), arcpool(ap), pwlarcpool(p), nurbsJmpBuf(j) {}
00045     int         decompose( Bin &, REAL );
00046 };
00047 #endif /* __glumonotonizer_h_ */

Generated on Sun May 27 2012 04:23:40 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.