HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PxOsdSubdivTags Class Reference

#include <subdivTags.h>

Public Types

typedef size_t ID
 

Public Member Functions

 PxOsdSubdivTags ()=default
 
 PxOsdSubdivTags (PxOsdSubdivTags const &)=default
 
 PxOsdSubdivTags (PxOsdSubdivTags &&)=default
 
PxOsdSubdivTagsoperator= (PxOsdSubdivTags const &)=default
 
PxOsdSubdivTagsoperator= (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 constGetCreaseIndices () const
 Returns the edge crease indices. More...
 
void SetCreaseIndices (VtIntArray const &creaseIndices)
 Set the edge crease indices. More...
 
VtIntArray constGetCreaseLengths () const
 Returns the edge crease loop lengths. More...
 
void SetCreaseLengths (VtIntArray const &creaseLengths)
 Set the edge crease loop lengths. More...
 
VtFloatArray constGetCreaseWeights () const
 Returns the edge crease weights. More...
 
void SetCreaseWeights (VtFloatArray const &creaseWeights)
 Set the edge crease weights. More...
 
Corner
VtIntArray constGetCornerIndices () const
 Returns the edge corner indices. More...
 
void SetCornerIndices (VtIntArray const &cornerIndices)
 Set the edge corner indices. More...
 
VtFloatArray constGetCornerWeights () const
 Returns the edge corner weights. More...
 
void SetCornerWeights (VtFloatArray const &cornerWeights)
 Set the edge corner weights. More...
 

Detailed Description

Tags for non-hierarchial subdiv surfaces.

Definition at line 41 of file subdivTags.h.

Member Typedef Documentation

typedef size_t PxOsdSubdivTags::ID

Definition at line 173 of file subdivTags.h.

Constructor & Destructor Documentation

PxOsdSubdivTags::PxOsdSubdivTags ( )
default
PxOsdSubdivTags::PxOsdSubdivTags ( PxOsdSubdivTags const )
default
PxOsdSubdivTags::PxOsdSubdivTags ( PxOsdSubdivTags &&  )
default
PxOsdSubdivTags::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 
)
inline

Definition at line 51 of file subdivTags.h.

Member Function Documentation

PXOSD_API ID PxOsdSubdivTags::ComputeHash ( ) const

Returns the hash value of this topology to be used for instancing.

VtIntArray const& PxOsdSubdivTags::GetCornerIndices ( ) const
inline

Returns the edge corner indices.

Definition at line 153 of file subdivTags.h.

VtFloatArray const& PxOsdSubdivTags::GetCornerWeights ( ) const
inline

Returns the edge corner weights.

Definition at line 163 of file subdivTags.h.

VtIntArray const& PxOsdSubdivTags::GetCreaseIndices ( ) const
inline

Returns the edge crease indices.

Definition at line 117 of file subdivTags.h.

VtIntArray const& PxOsdSubdivTags::GetCreaseLengths ( ) const
inline

Returns the edge crease loop lengths.

Definition at line 127 of file subdivTags.h.

TfToken PxOsdSubdivTags::GetCreaseMethod ( ) const
inline

Returns the creasing method.

Definition at line 92 of file subdivTags.h.

VtFloatArray const& PxOsdSubdivTags::GetCreaseWeights ( ) const
inline

Returns the edge crease weights.

Definition at line 137 of file subdivTags.h.

TfToken PxOsdSubdivTags::GetFaceVaryingInterpolationRule ( ) const
inline

Returns the face-varying boundary interpolation rule.

Definition at line 82 of file subdivTags.h.

TfToken PxOsdSubdivTags::GetTriangleSubdivision ( ) const
inline

Returns the triangle subdivision method.

Definition at line 102 of file subdivTags.h.

TfToken PxOsdSubdivTags::GetVertexInterpolationRule ( ) const
inline

Returns the vertex boundary interpolation rule.

Definition at line 72 of file subdivTags.h.

PxOsdSubdivTags& PxOsdSubdivTags::operator= ( PxOsdSubdivTags const )
default
PxOsdSubdivTags& PxOsdSubdivTags::operator= ( PxOsdSubdivTags &&  )
default
void PxOsdSubdivTags::SetCornerIndices ( VtIntArray const cornerIndices)
inline

Set the edge corner indices.

Definition at line 158 of file subdivTags.h.

void PxOsdSubdivTags::SetCornerWeights ( VtFloatArray const cornerWeights)
inline

Set the edge corner weights.

Definition at line 168 of file subdivTags.h.

void PxOsdSubdivTags::SetCreaseIndices ( VtIntArray const creaseIndices)
inline

Set the edge crease indices.

Definition at line 122 of file subdivTags.h.

void PxOsdSubdivTags::SetCreaseLengths ( VtIntArray const creaseLengths)
inline

Set the edge crease loop lengths.

Definition at line 132 of file subdivTags.h.

void PxOsdSubdivTags::SetCreaseMethod ( TfToken  creaseMethod)
inline

Set the creasing method.

Definition at line 97 of file subdivTags.h.

void PxOsdSubdivTags::SetCreaseWeights ( VtFloatArray const creaseWeights)
inline

Set the edge crease weights.

Definition at line 142 of file subdivTags.h.

void PxOsdSubdivTags::SetFaceVaryingInterpolationRule ( TfToken  fvarInterp)
inline

Set the face-varying boundary interpolation rule.

Definition at line 87 of file subdivTags.h.

void PxOsdSubdivTags::SetTriangleSubdivision ( TfToken  triangleSubdivision)
inline

Set the triangle subdivision method.

Definition at line 107 of file subdivTags.h.

void PxOsdSubdivTags::SetVertexInterpolationRule ( TfToken  vtxInterp)
inline

Set the vertex boundary interpolation rule.

Definition at line 77 of file subdivTags.h.


The documentation for this class was generated from the following file: