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"
45 PXR_NAMESPACE_OPEN_SCOPE
310 Get(
const UsdStagePtr &stage,
const SdfPath &path);
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;
489 PXR_NAMESPACE_CLOSE_SCOPE
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...
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.
Base class for UsdGeomBasisCurves, UsdGeomNurbsCurves, and UsdGeomHermiteCurves.
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
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...
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 ComputeVertexDataSize(const UsdTimeCode &timeCode) const
Computes the expected size for data with "vertex" interpolation.
Scenegraph object for authoring and retrieving numeric, string, and array valued data, sampled over time.
USDGEOM_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
virtual USDGEOM_API ~UsdGeomBasisCurves()
Destructor.
USDGEOM_API size_t ComputeUniformDataSize(const UsdTimeCode &timeCode) const
Computes the expected size for data with "uniform" interpolation.
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
Token for efficient comparison, assignment, and hashing of known strings.
USDGEOM_API UsdAttribute GetBasisAttr() const
The basis specifies the vstep and matrix used for cubic interpolation.
Represent a time value, which may be either numeric, holding a double value, or a sentinel value UsdT...
USDGEOM_API UsdAttribute GetWrapAttr() const
If wrap is set to periodic, the curve when rendered will repeat the initial vertices (dependent on th...
Represents a concrete typed schema.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
BasisCurves are a batched curve representation analogous to the classic RIB definition via Basis and ...
std::vector< TfToken > TfTokenVector
Convenience types.
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...
A path value used to locate objects in layers or scenegraphs.
Contains an asset path and an optional resolved path.
USDGEOM_API TfToken ComputeInterpolationForSize(size_t n, const UsdTimeCode &timeCode, ComputeInterpolationInfo *info=NULL) const
Computes interpolation token for n.
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...
TfType represents a dynamic runtime type.
Singleton registry that provides access to schema type information and the prim definitions for regis...
The base class for all schema types in Usd.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
USDGEOM_API size_t ComputeVaryingDataSize(const UsdTimeCode &timeCode) const
Computes the expected size for data with "varying" 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...
UsdGeomBasisCurves(const UsdSchemaBase &schemaObj)
Construct a UsdGeomBasisCurves on the prim held by schemaObj .