24 #ifndef PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
25 #define PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
31 #include "pxr/base/vt/array.h"
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;
209 #endif // PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.