24#ifndef USDGEOM_GENERATED_BASISCURVES_H
25#define USDGEOM_GENERATED_BASISCURVES_H
30#include "pxr/usd/usdGeom/api.h"
36#include "pxr/base/vt/value.h"
43#include "pxr/base/tf/type.h"
45PXR_NAMESPACE_OPEN_SCOPE
349 static const TfType &_GetStaticTfType();
351 static bool _IsTypedSchema();
355 const TfType &_GetTfType()
const override;
452 typedef std::vector< std::pair<TfToken, size_t> > ComputeInterpolationInfo;
463 ComputeInterpolationInfo* info=NULL)
const;
489PXR_NAMESPACE_CLOSE_SCOPE
Contains an asset path and an optional resolved path.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
TfType represents a dynamic runtime type.
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
BasisCurves are a batched curve representation analogous to the classic RIB definition via Basis and ...
static USDGEOM_API UsdGeomBasisCurves Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...
USDGEOM_API size_t ComputeVertexDataSize(const UsdTimeCode &timeCode) const
Computes the expected size for data with "vertex" interpolation.
USDGEOM_API UsdAttribute CreateBasisAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetBasisAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
USDGEOM_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
USDGEOM_API UsdAttribute CreateWrapAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetWrapAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
UsdGeomBasisCurves(const UsdSchemaBase &schemaObj)
Construct a UsdGeomBasisCurves on the prim held by schemaObj .
static USDGEOM_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
USDGEOM_API UsdAttribute GetWrapAttr() const
If wrap is set to periodic, the curve when rendered will repeat the initial vertices (dependent on th...
USDGEOM_API UsdAttribute GetBasisAttr() const
The basis specifies the vstep and matrix used for cubic interpolation.
USDGEOM_API UsdAttribute CreateTypeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetTypeAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDGEOM_API size_t ComputeVaryingDataSize(const UsdTimeCode &timeCode) const
Computes the expected size for data with "varying" interpolation.
static USDGEOM_API UsdGeomBasisCurves Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdGeomBasisCurves holding the prim adhering to this schema at path on stage.
UsdGeomBasisCurves(const UsdPrim &prim=UsdPrim())
Construct a UsdGeomBasisCurves on UsdPrim prim .
USDGEOM_API UsdAttribute GetTypeAttr() const
Linear curves interpolate linearly between two vertices.
USDGEOM_API size_t ComputeUniformDataSize(const UsdTimeCode &timeCode) const
Computes the expected size for data with "uniform" interpolation.
virtual USDGEOM_API ~UsdGeomBasisCurves()
Destructor.
USDGEOM_API TfToken ComputeInterpolationForSize(size_t n, const UsdTimeCode &timeCode, ComputeInterpolationInfo *info=NULL) const
Computes interpolation token for n.
Base class for UsdGeomBasisCurves, UsdGeomNurbsCurves, and UsdGeomHermiteCurves.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
The base class for all schema types in Usd.
Singleton registry that provides access to schema type information and the prim definitions for regis...
Represent a time value, which may be either numeric, holding a double value, or a sentinel value UsdT...
Provides a container which may hold any type, and provides introspection and iteration over array typ...
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
std::vector< TfToken > TfTokenVector
Convenience types.