13 #ifndef _FBXSDK_SCENE_GEOMETRY_NURBS_CURVE_H_ 14 #define _FBXSDK_SCENE_GEOMETRY_NURBS_CURVE_H_ 106 int GetKnotCount()
const;
112 inline void SetOrder(
int pOrder ) { mOrder = pOrder; }
123 inline void SetStep(
int pStep ) { mStep = pStep; }
160 int GetSpanCount()
const;
172 inline bool IsPolyline()
const {
return ( GetOrder() == 2 ); }
178 bool IsBezier()
const;
191 FbxLine* TessellateCurve(
int pStep = 16);
196 #ifndef DOXYGEN_SHOULD_SKIP_THIS 199 bool FullMultiplicity()
const;
204 eNurbsCurveTypeUnknown,
207 eWrongNumberOfControlPoint,
218 virtual void Destruct(
bool pRecursive);
226 EDimension mDimension;
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
EType GetType() const
Returns NURBS type.
FBX SDK environment definition.
int GetOrder() const
Returns the NURBS curve order.
virtual void InitControlPoints(int pCount)
Allocates memory space for the array of control points.
virtual FbxNodeAttribute::EType GetAttributeType() const
Returns the node attribute type.
void SetDimension(EDimension pDimension)
Sets the dimension of the CVs.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
void SetStep(int pStep)
Sets the step of the curve.
void SetOrder(int pOrder)
Sets the order of the curve.
EType
Node attribute types.
The base class of most FBX objects.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
EDimension GetDimension() const
Returns the control points dimension.
bool IsPolyline() const
Checks if the curve is a poly line.
double * GetKnotVector() const
Returns the knot vector.
A four double mathematic vector class.
virtual void SetControlPointAt(const FbxVector4 &pCtrlPoint, const FbxVector4 &pNormal, int pIndex, bool pI2DSearch=false)
Sets the control point and the normal values at the specified index.
A Non-Uniform Rational B-Spline (NURBS) curve is a type of parametric geometry.
The base class of geometric objects that support control point deformations (e.g. ...
virtual void Destruct(bool pRecursive)
Optional destructor override, automatically called by default destructor.
EDimension
The dimension of the CVs.
int GetStep() const
Returns the NURBS curve step.
Class for array of basic elements such as pointers and basic types.
A line is a geometry made of points.