13 #ifndef _FBXSDK_SCENE_GEOMETRY_NURBS_SURFACE_H_ 14 #define _FBXSDK_SCENE_GEOMETRY_NURBS_SURFACE_H_ 104 int GetUKnotCount()
const;
109 double* GetUKnotVector()
const;
114 int GetVKnotCount()
const;
119 double* GetVKnotVector()
const;
142 void SetStep(
int pUStep,
int pVStep);
159 int GetUSpanCount()
const;
166 int GetVSpanCount()
const;
178 void SetApplyFlipUV(
bool pFlag);
183 bool GetApplyFlipUV()
const;
188 void SetApplyFlipLinks(
bool pFlag);
193 bool GetApplyFlipLinks()
const;
198 bool GetApplyFlip()
const {
return GetApplyFlipUV() || GetApplyFlipLinks(); }
204 void AddCurveOnSurface(
FbxNode* pCurve );
210 FbxNode* GetCurveOnSurface(
int pIndex );
216 const FbxNode* GetCurveOnSurface(
int pIndex )
const;
221 int GetCurveOnSurfaceCount()
const;
227 bool RemoveCurveOnSurface(
FbxNode* pCurve );
234 bool IsRational()
const;
239 #ifndef DOXYGEN_SHOULD_SKIP_THIS 244 eWrongNumberOfControlPoint,
254 void SetFlipNormals(
bool pFlipNormals);
255 bool GetFlipNormals()
const;
256 bool IsValidKnots()
const;
260 virtual void Destruct(
bool pRecursive);
263 int mUCount, mVCount;
265 EType mUType, mVType;
267 double* mUKnotVector;
268 double* mVKnotVector;
270 ESurfaceMode mSurfaceMode;
273 bool mApplyFlipLinks;
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
FBX SDK environment definition.
bool GetApplyFlip() const
Returns flip flags state.
virtual void InitControlPoints(int pCount)
Allocates memory space for the array of control points.
virtual FbxNodeAttribute::EType GetAttributeType() const
Returns the node attribute type.
EType GetNurbsUType() const
Returns the U-dimension NURBS type.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
ESurfaceMode
NURBS and Patches surface modes.
ESurfaceMode GetSurfaceMode() const
Returns the surface mode.
EType
Node attribute types.
int GetVStep() const
Returns the number of divisions between adjacent control points in V dimension.
The base class of most FBX objects.
Represents an element in the scene graph.
A NURBS surface is a type of parametric geometry.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
int GetUCount() const
Returns the number of U-dimension control points.
int GetVCount() const
Returns the number of V-dimension control points.
int GetUStep() const
Returns the number of divisions between adjacent control points in U dimension.
EType GetNurbsVType() const
Returns the V-dimension NURBS type.
int GetUOrder() const
Returns the NURBS order in U dimension.
The base class of geometric objects that support control point deformations (e.g. ...
This class provides the functionality to convert geometry nodes attributes (FbxMesh, FbxNurbs and FbxPatch) and mainly focuses on the two major categories: Triangulation and conversion between NURBS and Patches surfaces.
virtual void Destruct(bool pRecursive)
Optional destructor override, automatically called by default destructor.
int GetVOrder() const
Returns the NURBS order in V dimension.