13 #ifndef _FBXSDK_SCENE_GEOMETRY_PATCH_H_ 14 #define _FBXSDK_SCENE_GEOMETRY_PATCH_H_ 101 void SetStep(
int pUStep,
int pVStep);
117 void SetClosed(
bool pU,
bool pV);
135 void SetUCapped(
bool pUBottom,
bool pUTop);
153 void SetVCapped(
bool pVBottom,
bool pVTop);
189 #ifndef DOXYGEN_SHOULD_SKIP_THIS 196 virtual void Destruct(
bool pRecursive);
198 EType mUType, mVType;
199 int mUCount, mVCount;
201 bool mUClosed, mVClosed;
202 bool mUCappedBottom, mUCappedTop;
203 bool mVCappedBottom, mVCappedTop;
bool GetVClosed() const
Returns state of the V closed flag.
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
EType GetPatchUType() const
Returns the U-dimension patch type.
bool GetUCappedBottom() const
Returns state of the bottom U-capped flag.
FBX SDK environment definition.
virtual void InitControlPoints(int pCount)
Allocates memory space for the array of control points.
virtual FbxNodeAttribute::EType GetAttributeType() const
Returns the node attribute type.
virtual bool ContentWriteTo(FbxStream &pStream) const
Writes the content of the geometry object to the specified stream.
Abstract class for implementing I/O operations through a stream of data.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
ESurfaceMode
NURBS and Patches surface modes.
int GetUStep() const
Returns the number of divisions between adjacent control points in the U-dimension.
EType
Node attribute types.
bool GetVCappedTop() const
Returns state of the top V-capped flag.
The base class of most FBX objects.
EType GetPatchVType() const
Returns the V-dimension patch type.
bool GetUCappedTop() const
Returns state of the top U-capped flag.
A patch is a type of node attribute with parametric surface.
int GetUCount() const
Returns the number of control points in the U-dimension.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
bool GetVCappedBottom() const
Returns state of the bottom V-capped flag.
A four double mathematic vector class.
int GetVCount() const
Returns the number of control points in the V-dimension.
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.
int GetVStep() const
Returns the number of divisions between adjacent control points in the V-dimension.
The base class of geometric objects that support control point deformations (e.g. ...
bool GetUClosed() const
Returns state of the U closed flag.
virtual void Destruct(bool pRecursive)
Optional destructor override, automatically called by default destructor.
virtual bool ContentReadFrom(const FbxStream &pStream)
Reads the content of the geometry object from the specified stream.
FbxGeometry::ESurfaceMode GetSurfaceMode() const
Returns the surface mode.