HDK
|
#include <subdivTags.h>
Public Types | |
typedef size_t | ID |
Public Member Functions | |
PxOsdSubdivTags ()=default | |
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. More... | |
void | SetVertexInterpolationRule (TfToken vtxInterp) |
Set the vertex boundary interpolation rule. More... | |
TfToken | GetFaceVaryingInterpolationRule () const |
Returns the face-varying boundary interpolation rule. More... | |
void | SetFaceVaryingInterpolationRule (TfToken fvarInterp) |
Set the face-varying boundary interpolation rule. More... | |
TfToken | GetCreaseMethod () const |
Returns the creasing method. More... | |
void | SetCreaseMethod (TfToken creaseMethod) |
Set the creasing method. More... | |
TfToken | GetTriangleSubdivision () const |
Returns the triangle subdivision method. More... | |
void | SetTriangleSubdivision (TfToken triangleSubdivision) |
Set the triangle subdivision method. More... | |
PXOSD_API ID | ComputeHash () const |
Returns the hash value of this topology to be used for instancing. More... | |
Crease | |
VtIntArray const & | GetCreaseIndices () const |
Returns the edge crease indices. More... | |
void | SetCreaseIndices (VtIntArray const &creaseIndices) |
Set the edge crease indices. More... | |
VtIntArray const & | GetCreaseLengths () const |
Returns the edge crease loop lengths. More... | |
void | SetCreaseLengths (VtIntArray const &creaseLengths) |
Set the edge crease loop lengths. More... | |
VtFloatArray const & | GetCreaseWeights () const |
Returns the edge crease weights. More... | |
void | SetCreaseWeights (VtFloatArray const &creaseWeights) |
Set the edge crease weights. More... | |
Corner | |
VtIntArray const & | GetCornerIndices () const |
Returns the edge corner indices. More... | |
void | SetCornerIndices (VtIntArray const &cornerIndices) |
Set the edge corner indices. More... | |
VtFloatArray const & | GetCornerWeights () const |
Returns the edge corner weights. More... | |
void | SetCornerWeights (VtFloatArray const &cornerWeights) |
Set the edge corner weights. More... | |
Tags for non-hierarchial subdiv surfaces.
Definition at line 43 of file subdivTags.h.
typedef size_t PxOsdSubdivTags::ID |
Definition at line 175 of file subdivTags.h.
|
default |
|
default |
|
default |
|
inline |
Definition at line 53 of file subdivTags.h.
Returns the hash value of this topology to be used for instancing.
|
inline |
Returns the edge corner indices.
Definition at line 155 of file subdivTags.h.
|
inline |
Returns the edge corner weights.
Definition at line 165 of file subdivTags.h.
|
inline |
Returns the edge crease indices.
Definition at line 119 of file subdivTags.h.
|
inline |
Returns the edge crease loop lengths.
Definition at line 129 of file subdivTags.h.
|
inline |
Returns the creasing method.
Definition at line 94 of file subdivTags.h.
|
inline |
Returns the edge crease weights.
Definition at line 139 of file subdivTags.h.
|
inline |
Returns the face-varying boundary interpolation rule.
Definition at line 84 of file subdivTags.h.
|
inline |
Returns the triangle subdivision method.
Definition at line 104 of file subdivTags.h.
|
inline |
Returns the vertex boundary interpolation rule.
Definition at line 74 of file subdivTags.h.
|
default |
|
default |
|
inline |
Set the edge corner indices.
Definition at line 160 of file subdivTags.h.
|
inline |
Set the edge corner weights.
Definition at line 170 of file subdivTags.h.
|
inline |
Set the edge crease indices.
Definition at line 124 of file subdivTags.h.
|
inline |
Set the edge crease loop lengths.
Definition at line 134 of file subdivTags.h.
Set the creasing method.
Definition at line 99 of file subdivTags.h.
|
inline |
Set the edge crease weights.
Definition at line 144 of file subdivTags.h.
Set the face-varying boundary interpolation rule.
Definition at line 89 of file subdivTags.h.
Set the triangle subdivision method.
Definition at line 109 of file subdivTags.h.
Set the vertex boundary interpolation rule.
Definition at line 79 of file subdivTags.h.