HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
"
16
enum
GU_CapType
17
{
18
GU_CAP_NONE
= 0,
19
GU_CAP_FACETED
= 1,
20
GU_CAP_SHARED
= 2,
21
GU_CAP_ROUNDED
= 3,
22
GU_CAP_TANGENT
= 4
23
};
24
25
enum
GU_CapKind
26
{
27
GU_FIRST_UCAP
= 0,
28
GU_LAST_UCAP
= 1,
29
GU_FIRST_VCAP
= 2,
30
GU_LAST_VCAP
= 3
31
};
32
33
class
GU_API
GU_CapOptions
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
49
bool
sharePoints
;
50
};
51
52
class
GU_API
GU_CapParms
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_CAP_SHARED
Definition:
GU_Cap.h:20
GU_CapParms::type
GU_CapType type
Definition:
GU_Cap.h:65
GU_CapOptions::numlastUCaps
int numlastUCaps
Definition:
GU_Cap.h:42
GU_CAP_ROUNDED
Definition:
GU_Cap.h:21
GU_CapOptions::lastVScale
float lastVScale
Definition:
GU_Cap.h:47
GU_CapParms::pshape
int pshape
Definition:
GU_Cap.h:69
GU_CapOptions::lastVCap
GU_CapType lastVCap
Definition:
GU_Cap.h:39
GU_CapOptions::lastUCap
GU_CapType lastUCap
Definition:
GU_Cap.h:38
GU_CapOptions::lastUScale
float lastUScale
Definition:
GU_Cap.h:46
GA_Names::scale
GA_API const UT_StringHolder scale
GU_CapParms::GU_CapParms
GU_CapParms(GU_CapType itype, GU_CapKind ikind, int inum=0, float iscale=1.0F, int ipshape=1)
Definition:
GU_Cap.h:55
GU_CapParms::scale
float scale
Definition:
GU_Cap.h:68
GU_CapKind
GU_CapKind
Definition:
GU_Cap.h:25
GU_CapOptions::pshapeV
int pshapeV
Definition:
GU_Cap.h:45
GU_FIRST_VCAP
Definition:
GU_Cap.h:29
GU_CAP_FACETED
Definition:
GU_Cap.h:19
GU_CapOptions::pshapeU
int pshapeU
Definition:
GU_Cap.h:41
GU_CapParms
Definition:
GU_Cap.h:52
GU_CapOptions
Definition:
GU_Cap.h:33
GU_CapParms::kind
GU_CapKind kind
Definition:
GU_Cap.h:66
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_CAP_NONE
Definition:
GU_Cap.h:18
GU_CapOptions::numlastVCaps
int numlastVCaps
Definition:
GU_Cap.h:43
GU_CapType
GU_CapType
Definition:
GU_Cap.h:16
GU_CAP_TANGENT
Definition:
GU_Cap.h:22
GU_CapParms::numcaps
int numcaps
Definition:
GU_Cap.h:67
GU_LAST_VCAP
Definition:
GU_Cap.h:30
GU_API.h
GU_CapOptions::sharePoints
bool sharePoints
Definition:
GU_Cap.h:49
GU_FIRST_UCAP
Definition:
GU_Cap.h:27
type
type
Definition:
core.h:1059
GU_LAST_UCAP
Definition:
GU_Cap.h:28
GU
GU_Cap.h
Generated on Tue Dec 17 2024 03:39:46 for HDK by
1.8.6