HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Stitch.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: stitch parameters (C++)
7  *
8  * COMMENTS:
9  */
10 
11 
12 #ifndef __GU_StitchParms_h__
13 #define __GU_StitchParms_h__
14 
15 #include "GU_API.h"
16 #include <UT/UT_ValArray.h>
17 #include <UT/UT_VectorTypes.h>
18 
19 class GA_PrimitiveGroup;
20 class GEO_Primitive;
21 
22 
24 {
25 public:
26 
29 
30  int stitchU; // stitch in U or V
31 
32  float tolerance; // affect of stitching
33  float bias; // which prim to alter
34 
35  float ldepth; // which point/segment to stitch
36  float rdepth;
37  float lwidth1;
38  float lwidth2;
39  float rwidth1;
40  float rwidth2;
41 
42  int dotangent; // stitch tangentially
43  int fixed; // fixed or free intersection
44  float scale1; // tangent scales
45  float scale2;
46 
47  int dostitch; // coincide endpoints
48 
49  int sharp; // refine or subdivide partial
50  // stitching/tangents
51 
52  int loop; // fillet last to first
53 
54  GEO_Primitive *auxprim; // stitch everyone to this prim
55 
57 
58  // stash each set of stitch prims
59  // for guide display or other purposes.
61 };
62 
63 #endif
UT_ValArray< GA_PrimitiveGroup * > * outputGroups
Definition: GU_Stitch.h:60
float rwidth1
Definition: GU_Stitch.h:39
float rdepth
Definition: GU_Stitch.h:36
float scale1
Definition: GU_Stitch.h:44
float lwidth1
Definition: GU_Stitch.h:37
float lwidth2
Definition: GU_Stitch.h:38
float ldepth
Definition: GU_Stitch.h:35
#define GU_API
Definition: GU_API.h:14
const GA_PrimitiveGroup * primGroup
Definition: GU_Stitch.h:56
float scale2
Definition: GU_Stitch.h:45
GEO_Primitive * auxprim
Definition: GU_Stitch.h:54
float rwidth2
Definition: GU_Stitch.h:40
float tolerance
Definition: GU_Stitch.h:32