HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Cap.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:
7  *
8  * COMMENTS:
9  *
10  */
11 
12 #ifndef __GU_CAP_H__
13 #define __GU_CAP_H__
14 
15 #include "GU_API.h"
17 {
23 };
24 
26 {
31 };
32 
34 {
35 public:
36  GU_CapOptions();
37 
38  GU_CapType firstUCap, lastUCap;
39  GU_CapType firstVCap, lastVCap;
40 
41  int pshapeU;
42  int numfirstUCaps, numlastUCaps;
43  int numfirstVCaps, numlastVCaps;
44 
45  int pshapeV;
46  float firstUScale, lastUScale;
47  float firstVScale, lastVScale;
48 
50 };
51 
53 {
54 public:
55  GU_CapParms(GU_CapType itype, GU_CapKind ikind, int inum=0,
56  float iscale=1.0F, int ipshape=1)
57  {
58  type = itype;
59  kind = ikind;
60  numcaps = inum;
61  scale = iscale;
62  pshape = ipshape;
63  }
64 
65  GU_CapType type; // type of cap -> rounded, flat, etc.
66  GU_CapKind kind; // first, last, in U or V
67  int numcaps; // number of division in the rounded cap
68  float scale; // scaling of rounded cap height
69  int pshape; // preserve nurb shape
70 };
71 
72 #endif
GU_CapType type
Definition: GU_Cap.h:65
int numlastUCaps
Definition: GU_Cap.h:42
float lastVScale
Definition: GU_Cap.h:47
int pshape
Definition: GU_Cap.h:69
GU_CapType lastVCap
Definition: GU_Cap.h:39
GU_CapType lastUCap
Definition: GU_Cap.h:38
float lastUScale
Definition: GU_Cap.h:46
GA_API const UT_StringHolder scale
GU_CapParms(GU_CapType itype, GU_CapKind ikind, int inum=0, float iscale=1.0F, int ipshape=1)
Definition: GU_Cap.h:55
float scale
Definition: GU_Cap.h:68
GU_CapKind
Definition: GU_Cap.h:25
int pshapeV
Definition: GU_Cap.h:45
int pshapeU
Definition: GU_Cap.h:41
GU_CapKind kind
Definition: GU_Cap.h:66
#define GU_API
Definition: GU_API.h:14
int numlastVCaps
Definition: GU_Cap.h:43
GU_CapType
Definition: GU_Cap.h:16
int numcaps
Definition: GU_Cap.h:67
bool sharePoints
Definition: GU_Cap.h:49
type
Definition: core.h:1059