![]() |
|
Tags for non-hierarchial subdiv surfaces. More...
#include <subdivTags.h>
Public Types | |
| typedef size_t | ID |
Public Member Functions | |
| PxOsdSubdivTags (PxOsdSubdivTags const &)=default | |
| PxOsdSubdivTags (PxOsdSubdivTags &&)=default | |
| PxOsdSubdivTags & | operator= (PxOsdSubdivTags const &)=default |
| PxOsdSubdivTags & | operator= (PxOsdSubdivTags &&)=default |
| PxOsdSubdivTags (const TfToken &vertexInterpolationRule, const TfToken &faceVaryingInterpolationRule, const TfToken &creaseMethod, const TfToken &triangleSubdivision, const VtIntArray &creaseIndices, const VtIntArray &creaseLengths, const VtFloatArray &creaseWeights, const VtIntArray &cornerIndices, const VtFloatArray &cornerWeights) | |
| TfToken | GetVertexInterpolationRule () const |
| Returns the vertex boundary interpolation rule. | |
| void | SetVertexInterpolationRule (TfToken vtxInterp) |
| Set the vertex boundary interpolation rule. | |
| TfToken | GetFaceVaryingInterpolationRule () const |
| Returns the face-varying boundary interpolation rule. | |
| void | SetFaceVaryingInterpolationRule (TfToken fvarInterp) |
| Set the face-varying boundary interpolation rule. | |
| TfToken | GetCreaseMethod () const |
| Returns the creasing method. | |
| void | SetCreaseMethod (TfToken creaseMethod) |
| Set the creasing method. | |
| TfToken | GetTriangleSubdivision () const |
| Returns the triangle subdivision method. | |
| void | SetTriangleSubdivision (TfToken triangleSubdivision) |
| Set the triangle subdivision method. | |
| PXOSD_API ID | ComputeHash () const |
| Returns the hash value of this topology to be used for instancing. | |
Crease | |
| VtIntArray const & | GetCreaseIndices () const |
| Returns the edge crease indices. | |
| void | SetCreaseIndices (VtIntArray const &creaseIndices) |
| Set the edge crease indices. | |
| VtIntArray const & | GetCreaseLengths () const |
| Returns the edge crease loop lengths. | |
| void | SetCreaseLengths (VtIntArray const &creaseLengths) |
| Set the edge crease loop lengths. | |
| VtFloatArray const & | GetCreaseWeights () const |
| Returns the edge crease weights. | |
| void | SetCreaseWeights (VtFloatArray const &creaseWeights) |
| Set the edge crease weights. | |
Corner | |
| VtIntArray const & | GetCornerIndices () const |
| Returns the edge corner indices. | |
| void | SetCornerIndices (VtIntArray const &cornerIndices) |
| Set the edge corner indices. | |
| VtFloatArray const & | GetCornerWeights () const |
| Returns the edge corner weights. | |
| void | SetCornerWeights (VtFloatArray const &cornerWeights) |
| Set the edge corner weights. | |
Tags for non-hierarchial subdiv surfaces.
Definition at line 26 of file subdivTags.h.
| size_t ID |
Definition at line 158 of file subdivTags.h.
|
inline |
Definition at line 36 of file subdivTags.h.
| PXOSD_API ID ComputeHash | ( | ) | const |
Returns the hash value of this topology to be used for instancing.
|
inline |
Returns the edge corner indices.
Definition at line 138 of file subdivTags.h.
|
inline |
Returns the edge corner weights.
Definition at line 148 of file subdivTags.h.
|
inline |
Returns the edge crease indices.
Definition at line 102 of file subdivTags.h.
|
inline |
Returns the edge crease loop lengths.
Definition at line 112 of file subdivTags.h.
|
inline |
Returns the creasing method.
Definition at line 77 of file subdivTags.h.
|
inline |
Returns the edge crease weights.
Definition at line 122 of file subdivTags.h.
|
inline |
Returns the face-varying boundary interpolation rule.
Definition at line 67 of file subdivTags.h.
|
inline |
Returns the triangle subdivision method.
Definition at line 87 of file subdivTags.h.
|
inline |
Returns the vertex boundary interpolation rule.
Definition at line 57 of file subdivTags.h.
|
inline |
Set the edge corner indices.
Definition at line 143 of file subdivTags.h.
|
inline |
Set the edge corner weights.
Definition at line 153 of file subdivTags.h.
|
inline |
Set the edge crease indices.
Definition at line 107 of file subdivTags.h.
|
inline |
Set the edge crease loop lengths.
Definition at line 117 of file subdivTags.h.
|
inline |
Set the creasing method.
Definition at line 82 of file subdivTags.h.
|
inline |
Set the edge crease weights.
Definition at line 127 of file subdivTags.h.
|
inline |
Set the face-varying boundary interpolation rule.
Definition at line 72 of file subdivTags.h.
|
inline |
Set the triangle subdivision method.
Definition at line 92 of file subdivTags.h.
|
inline |
Set the vertex boundary interpolation rule.
Definition at line 62 of file subdivTags.h.