00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __GU_TriStrip__
00020 #define __GU_TriStrip__
00021
00022 #include "GU_API.h"
00023 #include <limits.h>
00024
00025 class GU_API GU_TriStripParms
00026 {
00027
00028 public:
00029 int makeStrips, constrainStrips;
00030 int makeFans, constrainFans;
00031 int maxTriStripLength, maxTriFanLength;
00032 const GB_PrimitiveGroup *primGroup;
00033
00034 GU_TriStripParms( ):
00035 makeStrips( 1 ),
00036 constrainStrips( 0 ),
00037 makeFans( 0 ),
00038 constrainFans( 0 ),
00039 maxTriStripLength( INT_MAX ),
00040 maxTriFanLength( INT_MAX ),
00041 primGroup( NULL )
00042 { }
00043
00044 GU_TriStripParms( int makeS, int consS, int mtsl, int makeF, int consF,
00045 int mtfl, const GB_PrimitiveGroup *pg ):
00046 makeStrips( makeS ),
00047 constrainStrips( consS ),
00048 makeFans( makeF ),
00049 constrainFans( consF ),
00050 maxTriStripLength( mtsl ),
00051 maxTriFanLength( mtfl ),
00052 primGroup( pg )
00053 { }
00054
00055 ~GU_TriStripParms() { }
00056 };
00057
00058 #endif
00059