#include <surf_api.h>
Class Description
- See also:
- Class NURBSSurface.
- Description:
- This class defines a dependent blend surface. A blend surface
connects the edge of one surface to the edge of another, blending
the curvature of the parents to create a smooth surface between
them. Methods are available to get/set the parents, parent Ids,
tension parameters and surface normal matching state.
All methods of this class are implemented by the system.
Public Member Functions
|
|
DllExport |
NURBSBlendSurface (void) |
| virtual
DllExport |
~NURBSBlendSurface (void) |
| DllExport
NURBSBlendSurface
& |
operator= (const NURBSBlendSurface
&surf) |
| DllExport
void |
SetParent (int pnum, int index) |
| DllExport
void |
SetParentId (int pnum, NURBSId
id) |
| DllExport
int |
GetParent (int pnum) |
| DllExport
NURBSId |
GetParentId (int pnum) |
| DllExport
void |
SetEdge (int pnum, int edge) |
| DllExport
int |
GetEdge (int pnum) |
| DllExport
void |
SetTension (TimeValue
t, int pnum, double ten) |
| DllExport
double |
GetTension (TimeValue
t, int pnum) |
| DllExport
void |
SetFlip (int pnum, BOOL flip) |
| DllExport
BOOL |
GetFlip (int pnum) |
| DllExport
void |
SetCurveStartPoint (TimeValue
t, int pnum, double startpoint) |
| DllExport
double |
GetCurveStartPoint (TimeValue
t, int pnum) |
Friends
|
| class |
NURBSSet |
Constructor & Destructor Documentation
Member Function Documentation
| DllExport void SetParent |
( |
int |
pnum, |
|
|
int |
index |
|
) |
|
|
- Parameters:
- int pnum
The parent number: 0 or 1.
int index
The index into the NURBSSet of the parent
surface.
| DllExport void SetParentId |
( |
int |
pnum, |
|
|
NURBSId |
id |
|
) |
|
|
- Parameters:
- int pnum
The parent number: 0 or 1.
NURBSId id
The id to set.
| DllExport int GetParent |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent number: 0 or 1.
| DllExport NURBSId
GetParentId |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent number: 0 or 1.
| DllExport void SetEdge |
( |
int |
pnum, |
|
|
int |
edge |
|
) |
|
|
- Parameters:
- int pnum
The parent number: 0 or 1.
int edge
One of the following values:
0: The low U edge.
1: The high U edge.
2: The low V edge.
3: The high V edge.
| DllExport int GetEdge |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent number: 0 or 1.
- Returns:
- One of the following values:
0: The low U edge.
1: The high U edge.
2: The low V edge.
3: The high V edge.
| DllExport void SetTension |
( |
TimeValue |
t, |
|
|
int |
pnum, |
|
|
double |
ten |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to set the tension value.
int pnum
The parent number: 0 or 1.
double ten
The tension value to set.
| DllExport double GetTension |
( |
TimeValue |
t, |
|
|
int |
pnum |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to return the tension value.
int pnum
The parent number: 0 or 1.
| DllExport void SetFlip |
( |
int |
pnum, |
|
|
BOOL |
flip |
|
) |
|
|
- Parameters:
- int pnum
The number of the parent surface: 0 or 1.
BOOL flip
TRUE to match the parent surface normal; FALSE to not match
it.
| DllExport BOOL GetFlip |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The number of the parent surface: 0 or 1.
| DllExport void SetCurveStartPoint |
( |
TimeValue |
t, |
|
|
int |
pnum, |
|
|
double |
startpoint |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to set the start point.
int pnum
The number of the parent surface: 0 or 1.
double startpoint
The start point in the range 0.0 to 1.0.
| DllExport double GetCurveStartPoint |
( |
TimeValue |
t, |
|
|
int |
pnum |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to get the start point.
int pnum
The number of the parent surface: 0 or 1.
- Operators:
Friends And Related Function Documentation