Public Member Functions
|
CoreExport |
Patch
() |
CoreExport |
Patch (int
type) |
CoreExport |
Patch
(Patch
&fromPatch) |
CoreExport |
~Patch
() |
CoreExport
void |
Init
() |
CoreExport
void |
setVerts
(int *vrt) |
void |
setVerts
(int a, int b, int c) |
void |
setVerts
(int a, int b, int c, int d) |
void |
setVecs
(int ab, int ba, int bc, int cb, int ca, int ac) |
void |
setVecs
(int ab, int ba, int bc, int cb, int cd, int dc, int da, int
ad) |
void |
setInteriors
(int a, int b, int c) |
void |
setInteriors
(int a, int b, int c, int d) |
int |
getVert
(int index) |
int * |
getAllVerts
(void) |
MtlID |
getMatID
() |
void |
setMatID
(MtlID id) |
Point3 |
getUVW
(int index) const |
Point2 |
getUV (int
index) const |
bool |
getVertUVW
(int vert, Point3
&uvw) const |
bool |
getVertUV
(int vert, Point2
&uv) const |
Point3 |
BicubicSurface
(PatchMesh *pMesh,
const float *uu, const float *vv) |
CoreExport
Point3 |
interp
(PatchMesh *pMesh,
float u, float v, float
w) |
CoreExport
Point3 |
interp
(PatchMesh *pMesh,
float u, float v) |
CoreExport
Point3 |
WUTangent
(PatchMesh *pMesh,
float u, float v, float
w) |
CoreExport
Point3 |
UVTangent
(PatchMesh *pMesh,
float u, float v, float
w) |
CoreExport
Point3 |
VWTangent
(PatchMesh *pMesh,
float u, float v, float
w) |
CoreExport
Point3 |
UTangent
(PatchMesh *pMesh,
float u, float v) |
CoreExport
Point3 |
VTangent
(PatchMesh *pMesh,
float u, float v) |
CoreExport
Point3 |
Normal
(PatchMesh *pMesh,
float u, float v, float
w) |
CoreExport
Point3 |
Normal
(PatchMesh *pMesh,
float u, float v) |
CoreExport
void |
ComputeAux
(PatchMesh *pMesh,
int index) |
CoreExport
void |
ComputeAux
(PatchMesh
*pMesh) |
CoreExport
void |
computeInteriors
(PatchMesh
*pMesh) |
CoreExport
void |
SetType
(int type, BOOL
init=FALSE) |
CoreExport
Patch & |
operator=
(Patch &from) |
CoreExport
void |
SetAuto
(BOOL sw=TRUE) |
BOOL |
IsAuto
() |
CoreExport
void |
SetHidden
(BOOL sw=TRUE) |
BOOL |
IsHidden
() |
int |
WhichEdge
(int v1, int v2) |
int |
WhichVert
(int v) |
CoreExport
void |
Dump
() |
CoreExport
IOResult |
Save
(ISave *isave) |
CoreExport
IOResult |
Load
(ILoad *iload) |
Public Attributes
|
int |
type |
int |
v [4] |
int |
vec
[8] |
int |
interior
[4] |
Point3 |
aux
[9] |
int |
edge
[4] |
DWORD |
smGroup |
DWORD |
flags |
int |
aux1 |
int |
aux2 |