HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_TriStrip.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GU_TriStrip.h ( GU Library, C++)
7  *
8  * COMMENTS: Tri-Stripper
9  */
10 
11 #ifndef __GU_TriStrip__
12 #define __GU_TriStrip__
13 
14 #include "GU_API.h"
15 #include <limits.h>
16 
18 {
19  // used: constrainStrips, maxTriStripLength
20 public:
21  int makeStrips, constrainStrips;
22  int makeFans, constrainFans;
23  int maxTriStripLength, maxTriFanLength;
25 
27  makeStrips( 1 ),
28  constrainStrips( 0 ),
29  makeFans( 0 ),
30  constrainFans( 0 ),
31  maxTriStripLength( INT_MAX ),
32  maxTriFanLength( INT_MAX ),
33  primGroup( NULL )
34  { }
35 
36  GU_TriStripParms( int makeS, int consS, int mtsl, int makeF, int consF,
37  int mtfl, const GA_PrimitiveGroup *pg ):
38  makeStrips( makeS ),
39  constrainStrips( consS ),
40  makeFans( makeF ),
41  constrainFans( consF ),
42  maxTriStripLength( mtsl ),
43  maxTriFanLength( mtfl ),
44  primGroup( pg )
45  { }
46 
48 };
49 
50 
52 
53 #endif
54 
int GU_API GUtriStrip(GU_Detail *gdp, GU_TriStripParms &parms)
GU_TriStripParms(int makeS, int consS, int mtsl, int makeF, int consF, int mtfl, const GA_PrimitiveGroup *pg)
Definition: GU_TriStrip.h:36
#define GU_API
Definition: GU_API.h:12
const GA_PrimitiveGroup * primGroup
Definition: GU_TriStrip.h:24