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;
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
int GetVCount() const
Returns the number of control points in the V-dimension.
FBX SDK environment definition.
virtual void InitControlPoints(int pCount)
Allocates memory space for the array of control points.
int GetVStep() const
Returns the number of divisions between adjacent control points in the V-dimension.
EType GetPatchVType() const
Returns the V-dimension patch type.
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.
bool GetUCappedBottom() const
Returns state of the bottom U-capped flag.
EType
Node attribute types.
virtual FbxNodeAttribute::EType GetAttributeType() const
Returns the node attribute type.
bool GetVCappedTop() const
Returns state of the top V-capped flag.
int GetUCount() const
Returns the number of control points in the U-dimension.
The base class of most FBX objects.
A patch is a type of node attribute with parametric surface.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
EType GetPatchUType() const
Returns the U-dimension patch type.
bool GetUClosed() const
Returns state of the U closed flag.
bool GetVCappedBottom() const
Returns state of the bottom V-capped flag.
FbxGeometry::ESurfaceMode GetSurfaceMode() const
Returns the surface mode.
virtual bool ContentWriteTo(FbxStream &pStream) const
Writes the content of the geometry object to the specified stream.
bool GetUCappedTop() const
Returns state of the top U-capped flag.
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.
int GetUStep() const
Returns the number of divisions between adjacent control points in the U-dimension.
bool GetVClosed() const
Returns state of the V closed flag.
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.
virtual bool ContentReadFrom(const FbxStream &pStream)
Reads the content of the geometry object from the specified stream.