7 #ifndef PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
8 #define PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
14 #include "pxr/base/vt/array.h"
37 const TfToken& vertexInterpolationRule,
38 const TfToken& faceVaryingInterpolationRule,
40 const TfToken& triangleSubdivision,
41 const VtIntArray& creaseIndices,
42 const VtIntArray& creaseLengths,
43 const VtFloatArray& creaseWeights,
44 const VtIntArray& cornerIndices,
45 const VtFloatArray& cornerWeights)
46 : _vtxInterpolationRule(vertexInterpolationRule)
47 , _fvarInterpolationRule(faceVaryingInterpolationRule)
48 , _creaseMethod(creaseMethod)
49 , _trianglesSubdivision(triangleSubdivision)
50 , _creaseIndices(creaseIndices)
51 , _creaseLengths(creaseLengths)
52 , _creaseWeights(creaseWeights)
53 , _cornerIndices(cornerIndices)
54 , _cornerWeights(cornerWeights) {}
58 return _vtxInterpolationRule;
63 _vtxInterpolationRule = vtxInterp;
68 return _fvarInterpolationRule;
73 _fvarInterpolationRule = fvarInterp;
83 _creaseMethod = creaseMethod;
88 return _trianglesSubdivision;
93 _trianglesSubdivision = triangleSubdivision;
103 return _creaseIndices;
108 _creaseIndices = creaseIndices;
113 return _creaseLengths;
118 _creaseLengths = creaseLengths;
123 return _creaseWeights;
128 _creaseWeights = creaseWeights;
139 return _cornerIndices;
144 _cornerIndices = cornerIndices;
149 return _cornerWeights;
154 _cornerWeights = cornerWeights;
170 _fvarInterpolationRule,
172 _trianglesSubdivision;
174 VtIntArray _creaseIndices,
176 VtFloatArray _creaseWeights;
178 VtIntArray _cornerIndices;
179 VtFloatArray _cornerWeights;
192 #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.