fbxsdk/scene/geometry/fbxnurbscurve.h Source File
Go to the documentation of this file.
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.
FBX SDK environment definition.
virtual void InitControlPoints(int pCount)
Allocates memory space for the array of control points.
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.
EType GetType() const
Returns NURBS type.
void SetOrder(int pOrder)
Sets the order of the curve.
EType
Node attribute types.
virtual FbxNodeAttribute::EType GetAttributeType() const
Returns the node attribute type.
The base class of most FBX objects.
EDimension GetDimension() const
Returns the control points dimension.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
int GetOrder() const
Returns the NURBS curve order.
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. ...
double * GetKnotVector() const
Returns the knot vector.
virtual void Destruct(bool pRecursive)
Optional destructor override, automatically called by default destructor.
EDimension
The dimension of the CVs.
bool IsPolyline() const
Checks if the curve is a poly line.
Class for array of basic elements such as pointers and basic types.
A line is a geometry made of points.
int GetStep() const
Returns the NURBS curve step.