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" 36 PXR_NAMESPACE_OPEN_SCOPE
54 const TfToken& vertexInterpolationRule,
55 const TfToken& faceVaryingInterpolationRule,
57 const TfToken& triangleSubdivision,
58 const VtIntArray& creaseIndices,
59 const VtIntArray& creaseLengths,
60 const VtFloatArray& creaseWeights,
61 const VtIntArray& cornerIndices,
62 const VtFloatArray& cornerWeights)
63 : _vtxInterpolationRule(vertexInterpolationRule)
64 , _fvarInterpolationRule(faceVaryingInterpolationRule)
65 , _creaseMethod(creaseMethod)
66 , _trianglesSubdivision(triangleSubdivision)
67 , _creaseIndices(creaseIndices)
68 , _creaseLengths(creaseLengths)
69 , _creaseWeights(creaseWeights)
70 , _cornerIndices(cornerIndices)
71 , _cornerWeights(cornerWeights) {}
75 return _vtxInterpolationRule;
80 _vtxInterpolationRule = vtxInterp;
85 return _fvarInterpolationRule;
90 _fvarInterpolationRule = fvarInterp;
100 _creaseMethod = creaseMethod;
105 return _trianglesSubdivision;
110 _trianglesSubdivision = triangleSubdivision;
120 return _creaseIndices;
125 _creaseIndices = creaseIndices;
130 return _creaseLengths;
135 _creaseLengths = creaseLengths;
140 return _creaseWeights;
145 _creaseWeights = creaseWeights;
156 return _cornerIndices;
161 _cornerIndices = cornerIndices;
166 return _cornerWeights;
171 _cornerWeights = cornerWeights;
187 _fvarInterpolationRule,
189 _trianglesSubdivision;
191 VtIntArray _creaseIndices,
193 VtFloatArray _creaseWeights;
195 VtIntArray _cornerIndices;
196 VtFloatArray _cornerWeights;
207 PXR_NAMESPACE_CLOSE_SCOPE
209 #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...