#include<kfbxpatch.h>
Definition at line58of filekfbxpatch.h.
Patch Properties | |
| enum | EPatchType |
| Patch types.More... | |
| void | SetSurfaceMode(KFbxGeometry::ESurfaceModepMode) |
| Set surface mode. | |
| KFbxGeometry::ESurfaceMode | GetSurfaceMode() const |
| Get surface mode. | |
| void | InitControlPoints(int pUCount,EPatchTypepUType, int pVCount,EPatchTypepVType) |
| Allocate memory space for the array of control points. | |
| int | GetUCount() const |
| Get number of control points in U direction. | |
| int | GetVCount() const |
| Get number of control points in V direction. | |
| EPatchType | GetPatchUType() const |
| Get patch type in U direction. | |
| EPatchType | GetPatchVType() const |
| Get patch type in V direction. | |
| void | SetStep(int pUStep, int pVStep) |
| Set step. | |
| int | GetUStep() const |
| Get the number of divisions between adjacent control points in U direction. | |
| int | GetVStep() const |
| Get the number of divisions between adjacent control points in V direction. | |
| void | SetClosed(bool pU, bool pV) |
| Set closed flags. | |
| bool | GetUClosed() const |
| Get state of the U closed flag. | |
| bool | GetVClosed() const |
| Get state of the V closed flag. | |
| void | SetUCapped(bool pUBottom, bool pUTop) |
| Set U capped flags. | |
| bool | GetUCappedBottom() const |
| Get U capped bottom flag state. | |
| bool | GetUCappedTop() const |
| Get U capped top flag state. | |
| void | SetVCapped(bool pVBottom, bool pVTop) |
| Set V capped flags. | |
| bool | GetVCappedBottom() const |
| Get V capped bottom flag state. | |
| bool | GetVCappedTop() const |
| Get V capped top flag state. | |
Off-loading Serialization section | |
| virtual bool | ContentWriteTo(KFbxStream&pStream) const |
| Write the content of the object to the given stream. | |
| virtual bool | ContentReadFrom(constKFbxStream&pStream) |
| Read the content of the object from the given stream. | |
Public Member Functions | |
| virtual EAttributeType | GetAttributeType() const |
| Return the type of node attribute which is EAttributeType::ePATCH. | |
| void | Reset() |
| Reset the patch to default values. | |
| enumEPatchType |
| virtual EAttributeType GetAttributeType | ( | ) | const[virtual] |
Return the type of node attribute which is EAttributeType::ePATCH.
Reimplemented fromKFbxGeometry.
| void Reset | ( | ) |
Reset the patch to default values.
| void SetSurfaceMode | ( | KFbxGeometry::ESurfaceMode | pMode | ) |
Set surface mode.
| pMode | Surface mode identifier (see ClassKFbxGeometry) |
| KFbxGeometry::ESurfaceModeGetSurfaceMode | ( | ) | const[inline] |
Get surface mode.
Definition at line81of filekfbxpatch.h.
| void InitControlPoints | ( | int | pUCount, | |
| EPatchType | pUType, | |||
| int | pVCount, | |||
| EPatchType | pVType | |||
| ) |
Allocate memory space for the array of control points.
| pUCount | Number of control points in U direction. | |
| pUType | Patch type in U direction. | |
| pVCount | Number of control points in V direction. | |
| pVType | Patch type in V direction. |
| int GetUCount | ( | ) | const[inline] |
Get number of control points in U direction.
Definition at line110of filekfbxpatch.h.
| int GetVCount | ( | ) | const[inline] |
Get number of control points in V direction.
Definition at line115of filekfbxpatch.h.
| EPatchTypeGetPatchUType | ( | ) | const[inline] |
Get patch type in U direction.
Definition at line120of filekfbxpatch.h.
| EPatchTypeGetPatchVType | ( | ) | const[inline] |
Get patch type in V direction.
Definition at line125of filekfbxpatch.h.
| void SetStep | ( | int | pUStep, | |
| int | pVStep | |||
| ) |
Set step.
The step is the number of divisions between adjacent control points.
| pUStep | Steps in U direction. | |
| pVStep | Steps in V direction. |
| int GetUStep | ( | ) | const[inline] |
Get the number of divisions between adjacent control points in U direction.
Definition at line137of filekfbxpatch.h.
| int GetVStep | ( | ) | const[inline] |
Get the number of divisions between adjacent control points in V direction.
Definition at line142of filekfbxpatch.h.
| void SetClosed | ( | bool | pU, | |
| bool | pV | |||
| ) |
Set closed flags.
| pU | Set totrueif the patch is closed in U direction. | |
| pV | Set totrueif the patch is closed in V direction. |
| bool GetUClosed | ( | ) | const[inline] |
Get state of the U closed flag.
trueif the patch is closed in U direction.Definition at line153of filekfbxpatch.h.
| bool GetVClosed | ( | ) | const[inline] |
Get state of the V closed flag.
trueif the patch is closed in V direction.Definition at line158of filekfbxpatch.h.
| void SetUCapped | ( | bool | pUBottom, | |
| bool | pUTop | |||
| ) |
Set U capped flags.
| pUBottom | Set totrueif the patch is capped at the bottom in the U direction. | |
| pUTop | Settotrueif the patch is capped at the top in the U direction. |
| bool GetUCappedBottom | ( | ) | const[inline] |
Get U capped bottom flag state.
trueif the patch is capped at the bottom.Definition at line171of filekfbxpatch.h.
| bool GetUCappedTop | ( | ) | const[inline] |
Get U capped top flag state.
trueif the patch is capped at the top.Definition at line176of filekfbxpatch.h.
| void SetVCapped | ( | bool | pVBottom, | |
| bool | pVTop | |||
| ) |
Set V capped flags.
| pVBottom | Set totrueif the patch is capped at the bottom in the V direction. | |
| pVTop | Set totrueif the patch is capped at the top in the V direction. |
| bool GetVCappedBottom | ( | ) | const[inline] |
Get V capped bottom flag state.
trueif the patch is capped at the bottom.Definition at line189of filekfbxpatch.h.
| bool GetVCappedTop | ( | ) | const[inline] |
Get V capped top flag state.
trueif the patch is capped at the top.Definition at line194of filekfbxpatch.h.
| virtual bool ContentWriteTo | ( | KFbxStream& | pStream | ) | const[virtual] |
Write the content of the object to the given stream.
| pStream | The destination stream. |
Reimplemented fromKFbxGeometryBase.
| virtual bool ContentReadFrom | ( | constKFbxStream& | pStream | ) | [virtual] |
Read the content of the object from the given stream.
| pStream | The source streak. |
Reimplemented fromKFbxGeometryBase.