7#ifndef PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
8#define PXR_IMAGING_PX_OSD_SUBDIV_TAGS_H
13#include "pxr/imaging/pxOsd/api.h"
19PXR_NAMESPACE_OPEN_SCOPE
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;
190PXR_NAMESPACE_CLOSE_SCOPE
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...