This reference page is linked to from the following overview topics: Modeling, NURBS Surface Classes, Parameter Ranges for Curves and Surfaces, Materials Assignment and Texture Coordinates, Creating Primitive NURBS Objects.
#include <surf_api.h>
Public Member Functions |
|
void * | GetSurfCache () |
void | SetSurfCache (void *pCache) |
DllExport | NURBSSurface (void) |
virtual DllExport | ~NURBSSurface (void) |
DllExport NURBSSurface & | operator= (const NURBSSurface &surf) |
DllExport BOOL | Renderable () |
DllExport void | Renderable (BOOL state) |
DllExport BOOL | FlipNormals () |
DllExport void | FlipNormals (BOOL state) |
DllExport BOOL | GenerateUVs (int channel=0) |
DllExport void | SetGenerateUVs (BOOL state, int channel=0) |
DllExport int | MatID () |
DllExport void | MatID (int id) |
DllExport Point2 | GetTextureUVs (TimeValue t, int i, int channel=0) |
DllExport void | SetTextureUVs (TimeValue t, int i, Point2 pt, int channel=0) |
DllExport void | GetTileOffset (TimeValue t, float &ut, float &vt, float &uo, float &vo, float &a, int channel=0) |
DllExport void | SetTileOffset (TimeValue t, float ut, float vt, float uo, float vo, float a, int channel=0) |
DllExport NURBSTextureSurface & | GetTextureSurface (int channel) |
DllExport void | SetTextureSurface (int channel, NURBSTextureSurface &texSurf) |
DllExport int | NumChannels () |
DllExport int | GetChannelFromIndex (int index) |
DllExport BOOL | IsClosedInU (void) |
DllExport BOOL | IsClosedInV (void) |
DllExport BOOL | Evaluate (TimeValue t, double u, double v, Point3 &pt, Point3 &dPdU, Point3 &dPdV) |
DllExport BOOL | Evaluate (TimeValue t, double u, double v, Point3 &pt, Point3 &dPdU, Point3 &dPdV, Point3 &d2PdU2, Point3 &d2PdV2, Point3 &d2PdUdV) |
DllExport void | GetParameterRange (TimeValue t, double &uMin, double &uMax, double &vMin, double &vMax) |
DllExport BOOL | GetNURBSData (TimeValue t, int °reeInU, int °reeInV, int &numInU, int &numInV, NURBSCVTab &cvs, int &numKnotsInU, int &numKnotsInV, NURBSKnotTab &uKnots, NURBSKnotTab &vKnots) |
DllExport BOOL | GetCLPTextureSurfaceData (TimeValue t, int channel, int °reeInU, int °reeInV, int &numInU, int &numInV, NURBSCVTab &cvs, int &numKnotsInU, int &numKnotsInV, NURBSKnotTab &uKnots, NURBSKnotTab &vKnots) |
DllExport int | NumTrimLoops (TimeValue t) |
DllExport int | NumCurvesInLoop (TimeValue t, int loop) |
DllExport BOOL | Get2dTrimCurveData (TimeValue t, int loop, int curve, int °ree, int &numCVs, NURBSCVTab &cvs, int &numKnots, NURBSKnotTab &knots) |
DllExport BOOL | Get3dTrimCurveData (TimeValue t, int loop, int curve, int °ree, int &numCVs, NURBSCVTab &cvs, int &numKnots, NURBSKnotTab &knots) |
DllExport TessApprox * | GetProdTess (NURBSTessType type=kNTessSurface) |
DllExport TessApprox * | GetViewTess (NURBSTessType type=kNTessSurface) |
DllExport void | SetProdTess (TessApprox &tess, NURBSTessType type=kNTessSurface) |
DllExport void | SetViewTess (TessApprox &tess, NURBSTessType type=kNTessSurface) |
DllExport void | ClearViewTess (NURBSTessType type=kNTessSurface) |
DllExport void | ClearProdTess (NURBSTessType type=kNTessSurface) |
Protected Attributes |
|
NURBSTextureChannelSet | mTextureChannelSet |
BOOL | mFlipNormals |
BOOL | mRenderable |
int | mMatID |
BOOL | mClosedInU |
BOOL | mClosedInV |
TessApprox * | mpVTess |
TessApprox * | mpRTess |
TessApprox * | mpRTessDisp |
TessApprox * | mpVTessCurve |
TessApprox * | mpRTessCurve |
void * | mpSurfCache |
Friends |
|
class | NURBSCVSurface |
class | NURBSPointSurface |
class | NURBSBlendSurface |
class | NURBSNBlendSurface |
class | NURBSOffsetSurface |
class | NURBSXFormSurface |
class | NURBSMirrorSurface |
class | NURBSCapSurface |
class | NURBSIsoCurve |
class | NURBSProjectVectorCurve |
class | NURBSProjectNormalCurve |
class | NURBSSurfSurfIntersectionCurve |
class | NURBSCurveOnSurface |
class | NURBSPointCurveOnSurface |
class | NURBSMultiCurveTrimSurface |
class | NURBSTextureChannel |
class | NURBSTextureChannelSet |
DllExport NURBSSurface | ( | void | ) |
virtual DllExport ~NURBSSurface | ( | void | ) | [virtual] |
void* GetSurfCache | ( | ) | [inline] |
{ return mpSurfCache; }
void SetSurfCache | ( | void * | pCache | ) | [inline] |
{ mpSurfCache = pCache; }
DllExport NURBSSurface& operator= | ( | const NURBSSurface & | surf | ) |
DllExport BOOL Renderable | ( | ) |
DllExport void Renderable | ( | BOOL | state | ) |
DllExport BOOL FlipNormals | ( | ) |
DllExport void FlipNormals | ( | BOOL | state | ) |
DllExport BOOL GenerateUVs | ( | int | channel = 0 |
) |
DllExport void SetGenerateUVs | ( | BOOL | state, |
int | channel = 0 |
||
) |
DllExport int MatID | ( | ) |
DllExport void MatID | ( | int | id | ) |
DllExport Point2 GetTextureUVs | ( | TimeValue | t, |
int | i, | ||
int | channel = 0 |
||
) |
DllExport void SetTextureUVs | ( | TimeValue | t, |
int | i, | ||
Point2 | pt, | ||
int | channel = 0 |
||
) |
DllExport void GetTileOffset | ( | TimeValue | t, |
float & | ut, | ||
float & | vt, | ||
float & | uo, | ||
float & | vo, | ||
float & | a, | ||
int | channel = 0 |
||
) |
DllExport void SetTileOffset | ( | TimeValue | t, |
float | ut, | ||
float | vt, | ||
float | uo, | ||
float | vo, | ||
float | a, | ||
int | channel = 0 |
||
) |
DllExport NURBSTextureSurface& GetTextureSurface | ( | int | channel | ) |
DllExport void SetTextureSurface | ( | int | channel, |
NURBSTextureSurface & | texSurf | ||
) |
DllExport int NumChannels | ( | ) |
DllExport int GetChannelFromIndex | ( | int | index | ) |
DllExport BOOL IsClosedInU | ( | void | ) |
DllExport BOOL IsClosedInV | ( | void | ) |
DllExport BOOL Evaluate | ( | TimeValue | t, |
double | u, | ||
double | v, | ||
Point3 & | pt, | ||
Point3 & | dPdU, | ||
Point3 & | dPdV | ||
) |
DllExport BOOL Evaluate | ( | TimeValue | t, |
double | u, | ||
double | v, | ||
Point3 & | pt, | ||
Point3 & | dPdU, | ||
Point3 & | dPdV, | ||
Point3 & | d2PdU2, | ||
Point3 & | d2PdV2, | ||
Point3 & | d2PdUdV | ||
) |
DllExport void GetParameterRange | ( | TimeValue | t, |
double & | uMin, | ||
double & | uMax, | ||
double & | vMin, | ||
double & | vMax | ||
) |
DllExport BOOL GetNURBSData | ( | TimeValue | t, |
int & | degreeInU, | ||
int & | degreeInV, | ||
int & | numInU, | ||
int & | numInV, | ||
NURBSCVTab & | cvs, | ||
int & | numKnotsInU, | ||
int & | numKnotsInV, | ||
NURBSKnotTab & | uKnots, | ||
NURBSKnotTab & | vKnots | ||
) |
DllExport BOOL GetCLPTextureSurfaceData | ( | TimeValue | t, |
int | channel, | ||
int & | degreeInU, | ||
int & | degreeInV, | ||
int & | numInU, | ||
int & | numInV, | ||
NURBSCVTab & | cvs, | ||
int & | numKnotsInU, | ||
int & | numKnotsInV, | ||
NURBSKnotTab & | uKnots, | ||
NURBSKnotTab & | vKnots | ||
) |
DllExport int NumTrimLoops | ( | TimeValue | t | ) |
DllExport int NumCurvesInLoop | ( | TimeValue | t, |
int | loop | ||
) |
DllExport BOOL Get2dTrimCurveData | ( | TimeValue | t, |
int | loop, | ||
int | curve, | ||
int & | degree, | ||
int & | numCVs, | ||
NURBSCVTab & | cvs, | ||
int & | numKnots, | ||
NURBSKnotTab & | knots | ||
) |
DllExport BOOL Get3dTrimCurveData | ( | TimeValue | t, |
int | loop, | ||
int | curve, | ||
int & | degree, | ||
int & | numCVs, | ||
NURBSCVTab & | cvs, | ||
int & | numKnots, | ||
NURBSKnotTab & | knots | ||
) |
DllExport TessApprox* GetProdTess | ( | NURBSTessType | type =
kNTessSurface |
) |
DllExport TessApprox* GetViewTess | ( | NURBSTessType | type =
kNTessSurface |
) |
DllExport void SetProdTess | ( | TessApprox & | tess, |
NURBSTessType | type =
kNTessSurface |
||
) |
DllExport void SetViewTess | ( | TessApprox & | tess, |
NURBSTessType | type =
kNTessSurface |
||
) |
DllExport void ClearViewTess | ( | NURBSTessType | type =
kNTessSurface |
) |
DllExport void ClearProdTess | ( | NURBSTessType | type =
kNTessSurface |
) |
friend class NURBSCVSurface
[friend] |
friend class NURBSPointSurface
[friend] |
friend class NURBSBlendSurface
[friend] |
friend class NURBSNBlendSurface
[friend] |
friend class NURBSOffsetSurface
[friend] |
friend class NURBSXFormSurface
[friend] |
friend class NURBSMirrorSurface
[friend] |
friend class NURBSCapSurface
[friend] |
friend class NURBSIsoCurve
[friend] |
friend class NURBSProjectVectorCurve
[friend] |
friend class NURBSProjectNormalCurve
[friend] |
friend class NURBSSurfSurfIntersectionCurve
[friend] |
friend class NURBSCurveOnSurface
[friend] |
friend class NURBSPointCurveOnSurface
[friend] |
friend class NURBSMultiCurveTrimSurface
[friend] |
friend class NURBSTextureChannel
[friend] |
friend class NURBSTextureChannelSet
[friend] |
BOOL mFlipNormals
[protected] |
BOOL mRenderable
[protected] |
int mMatID
[protected] |
BOOL mClosedInU
[protected] |
BOOL mClosedInV
[protected] |
TessApprox* mpVTess
[protected] |
TessApprox* mpRTess
[protected] |
TessApprox* mpRTessDisp
[protected] |
TessApprox* mpVTessCurve
[protected] |
TessApprox* mpRTessCurve
[protected] |
void* mpSurfCache
[protected] |