#include <kfbxpatch.h>
Inherits KFbxGeometry.
Inheritance diagram for KFbxPatch:

Definition at line 59 of file kfbxpatch.h.
Patch Properties | |
| enum | EPatchType |
| Patch types. More... | |
| void | SetSurfaceMode (KFbxGeometry::ESurfaceMode pMode) |
| Set surface mode. | |
| KFbxGeometry::ESurfaceMode | GetSurfaceMode () const |
| Get surface mode. | |
| void | InitControlPoints (int pUCount, EPatchType pUType, int pVCount, EPatchType pVType) |
| 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. | |
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. | |
| enum EPatchType |
Patch types.
Definition at line 91 of file kfbxpatch.h.
| virtual EAttributeType GetAttributeType | ( | ) | const [virtual] |
| void Reset | ( | ) |
Reset the patch to default values.
| void SetSurfaceMode | ( | KFbxGeometry::ESurfaceMode | pMode | ) |
| KFbxGeometry::ESurfaceMode GetSurfaceMode | ( | ) | const [inline] |
Get surface mode.
Definition at line 82 of file kfbxpatch.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 line 111 of file kfbxpatch.h.
| int GetVCount | ( | ) | const [inline] |
Get number of control points in V direction.
Definition at line 116 of file kfbxpatch.h.
| EPatchType GetPatchUType | ( | ) | const [inline] |
Get patch type in U direction.
Definition at line 121 of file kfbxpatch.h.
| EPatchType GetPatchVType | ( | ) | const [inline] |
Get patch type in V direction.
Definition at line 126 of file kfbxpatch.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 line 138 of file kfbxpatch.h.
| int GetVStep | ( | ) | const [inline] |
Get the number of divisions between adjacent control points in V direction.
Definition at line 143 of file kfbxpatch.h.
| void SetClosed | ( | bool | pU, | |
| bool | pV | |||
| ) |
Set closed flags.
| pU | Set to true if the patch is closed in U direction. | |
| pV | Set to true if the patch is closed in V direction. |
| bool GetUClosed | ( | ) | const [inline] |
Get state of the U closed flag.
true if the patch is closed in U direction. Definition at line 154 of file kfbxpatch.h.
| bool GetVClosed | ( | ) | const [inline] |
Get state of the V closed flag.
true if the patch is closed in V direction. Definition at line 159 of file kfbxpatch.h.
| void SetUCapped | ( | bool | pUBottom, | |
| bool | pUTop | |||
| ) |
Set U capped flags.
| pUBottom | Set to true if the patch is capped at the bottom in the U direction. | |
| pUTop | Set to true if the patch is capped at the top in the U direction. |
| bool GetUCappedBottom | ( | ) | const [inline] |
Get U capped bottom flag state.
true if the patch is capped at the bottom. Definition at line 172 of file kfbxpatch.h.
| bool GetUCappedTop | ( | ) | const [inline] |
Get U capped top flag state.
true if the patch is capped at the top. Definition at line 177 of file kfbxpatch.h.
| void SetVCapped | ( | bool | pVBottom, | |
| bool | pVTop | |||
| ) |
Set V capped flags.
| pVBottom | Set to true if the patch is capped at the bottom in the V direction. | |
| pVTop | Set to true if the patch is capped at the top in the V direction. |
| bool GetVCappedBottom | ( | ) | const [inline] |
Get V capped bottom flag state.
true if the patch is capped at the bottom. Definition at line 190 of file kfbxpatch.h.
| bool GetVCappedTop | ( | ) | const [inline] |
Get V capped top flag state.
true if the patch is capped at the top. Definition at line 195 of file kfbxpatch.h.