13 #ifndef _FBXSDK_SCENE_GEOMETRY_TRIM_NURBS_SURFACE_H_
14 #define _FBXSDK_SCENE_GEOMETRY_TRIM_NURBS_SURFACE_H_
37 static const char* sOuterFlag;
53 int GetCurveCount()
const;
79 bool IsPointInControlHull(
const FbxVector4& pPoint );
89 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94 bool IsValid(
bool mustClosed =
true);
95 bool IsCounterClockwise();
120 int GetTrimRegionCount()
const;
125 void BeginTrimRegion();
131 void EndTrimRegion();
151 FbxBoundary* GetBoundary(
int pIndex,
int pRegionIndex = 0 );
160 const FbxBoundary* GetBoundary(
int pIndex,
int pRegionIndex = 0 )
const;
166 int GetBoundaryCount(
int pRegionIndex = 0)
const;
218 #ifndef DOXYGEN_SHOULD_SKIP_THIS
221 bool IsValid(
bool mustClosed =
true);
222 void ClearBoundaries();
224 bool IsValid(
int pRegion,
bool mustClosed =
true);
225 void RebuildRegions();
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
FbxNodeAttribute::EType GetAttributeType() const override
Returns the node attribute type.
FbxPropertyT< FbxBool > OuterFlag
This property handles outer flag.
FBX SDK environment definition.
virtual int GetControlPointsCount() const
Returns the number of control points.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
void SetFlipNormals(bool pFlip)
Sets the flag which indicates whether the surface normals are flipped.
This class facilitates the testing/reporting of errors.
EType
Node attribute types.
The base class of most FBX objects.
FbxTrimNurbsSurface describes a NURBS surface with regions trimmed or cut away with trimming boundari...
A NURBS surface is a type of parametric geometry.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
void SetControlPointAt(const FbxVector4 &pCtrlPoint, int pIndex) override
Sets the control point for a specified index.
FbxBoundary describes a trimming boundary for a trimmed NURBS object.
bool GetFlipNormals() const
Checks if the normals are flipped.
virtual FbxVector4 * GetControlPoints(FbxStatus *pStatus=((void *) 0)) const
Returns a pointer to the array of control points.
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 ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.