24 #ifndef USDGEOM_GENERATED_HERMITECURVES_H
25 #define USDGEOM_GENERATED_HERMITECURVES_H
172 static const TfType &_GetStaticTfType();
174 static bool _IsTypedSchema();
178 const TfType &_GetTfType()
const override;
239 const VtVec3fArray& tangents)
240 : _points(points), _tangents(tangents) {
241 if (_points.size() != _tangents.size()) {
262 return _points.empty();
266 explicit operator bool()
const {
return !
IsEmpty(); }
269 const VtVec3fArray&
GetPoints()
const {
return _points; }
279 return !((*this) == other);
const VtVec3fArray & GetPoints() const
Get separated points array.
GLdouble GLdouble GLint GLint const GLdouble * points
static USDGEOM_API PointAndTangentArrays Separate(const VtVec3fArray &interleaved)
GLsizei const GLchar *const * path
static USDGEOM_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
static const UsdSchemaKind schemaKind
bool operator!=(const PointAndTangentArrays &other)
PointAndTangentArrays & operator=(const PointAndTangentArrays &)=default
Represents a concrete typed schema.
USDGEOM_API UsdAttribute GetTangentsAttr() const
const VtVec3fArray & GetTangents() const
Get separated tangents array.
static USDGEOM_API UsdGeomHermiteCurves Define(const UsdStagePtr &stage, const SdfPath &path)
USDGEOM_API VtVec3fArray Interleave() const
std::vector< TfToken > TfTokenVector
Convenience types.
PointAndTangentArrays(const VtVec3fArray &points, const VtVec3fArray &tangents)
bool operator==(const PointAndTangentArrays &other)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USDGEOM_API UsdSchemaKind _GetSchemaKind() const override
#define PXR_NAMESPACE_CLOSE_SCOPE
PointAndTangentArrays()=default
Construct empty points and tangents arrays.
UsdGeomHermiteCurves(const UsdSchemaBase &schemaObj)
UsdGeomHermiteCurves(const UsdPrim &prim=UsdPrim())
virtual USDGEOM_API ~UsdGeomHermiteCurves()
Destructor.
bool IsEmpty() const
Returns true if the containers are empty.
USDGEOM_API UsdAttribute CreateTangentsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
static USDGEOM_API UsdGeomHermiteCurves Get(const UsdStagePtr &stage, const SdfPath &path)