24 #ifndef PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
25 #define PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
30 #include "pxr/imaging/pxOsd/api.h"
34 PXR_NAMESPACE_OPEN_SCOPE
52 const TfToken& vertexInterpolationRule,
53 const TfToken& faceVaryingInterpolationRule,
55 const TfToken& triangleSubdivision,
56 const VtIntArray& creaseIndices,
57 const VtIntArray& creaseLengths,
58 const VtFloatArray& creaseWeights,
59 const VtIntArray& cornerIndices,
60 const VtFloatArray& cornerWeights)
61 : _vtxInterpolationRule(vertexInterpolationRule)
62 , _fvarInterpolationRule(faceVaryingInterpolationRule)
63 , _creaseMethod(creaseMethod)
64 , _trianglesSubdivision(triangleSubdivision)
65 , _creaseIndices(creaseIndices)
66 , _creaseLengths(creaseLengths)
67 , _creaseWeights(creaseWeights)
68 , _cornerIndices(cornerIndices)
69 , _cornerWeights(cornerWeights) {}
73 return _vtxInterpolationRule;
78 _vtxInterpolationRule = vtxInterp;
83 return _fvarInterpolationRule;
88 _fvarInterpolationRule = fvarInterp;
98 _creaseMethod = creaseMethod;
103 return _trianglesSubdivision;
108 _trianglesSubdivision = triangleSubdivision;
118 return _creaseIndices;
123 _creaseIndices = creaseIndices;
128 return _creaseLengths;
133 _creaseLengths = creaseLengths;
138 return _creaseWeights;
143 _creaseWeights = creaseWeights;
154 return _cornerIndices;
159 _cornerIndices = cornerIndices;
164 return _cornerWeights;
169 _cornerWeights = cornerWeights;
185 _fvarInterpolationRule,
187 _trianglesSubdivision;
189 VtIntArray _creaseIndices,
191 VtFloatArray _creaseWeights;
193 VtIntArray _cornerIndices;
194 VtFloatArray _cornerWeights;
205 PXR_NAMESPACE_CLOSE_SCOPE
207 #endif // PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
AR_API bool operator!=(const ArAssetInfo &lhs, const ArAssetInfo &rhs)
AR_API bool operator==(const ArAssetInfo &lhs, const ArAssetInfo &rhs)
Token for efficient comparison, assignment, and hashing of known strings.
GF_API std::ostream & operator<<(std::ostream &, const GfBBox3d &)
Output a GfBBox3d using the format [(range) matrix zeroArea].
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...