7 #ifndef USDRI_GENERATED_SPLINEAPI_H
8 #define USDRI_GENERATED_SPLINEAPI_H
157 static const TfType &_GetStaticTfType();
159 static bool _IsTypedSchema();
163 const TfType &_GetTfType()
const override;
181 bool doesDuplicateBSplineEndpoints)
183 , _splineName(splineName)
184 , _valuesTypeName(valuesTypeName)
185 , _duplicateBSplineEndpoints(doesDuplicateBSplineEndpoints)
194 bool doesDuplicateBSplineEndpoints)
196 , _splineName(splineName)
197 , _valuesTypeName(valuesTypeName)
198 , _duplicateBSplineEndpoints(doesDuplicateBSplineEndpoints)
209 return _duplicateBSplineEndpoints;
215 return _valuesTypeName;
300 bool Validate(std::string *reason)
const;
312 bool _duplicateBSplineEndpoints;
USDRI_API bool DoesDuplicateBSplineEndpoints() const
static const UsdSchemaKind schemaKind
USDRI_API UsdAttribute GetValuesAttr() const
virtual USDRI_API ~UsdRiSplineAPI()
Destructor.
GLsizei const GLchar *const * path
UsdRiSplineAPI(const UsdSchemaBase &schemaObj)
static USDRI_API UsdRiSplineAPI Apply(const UsdPrim &prim)
UsdRiSplineAPI(const UsdPrim &prim=UsdPrim())
USDRI_API UsdAttribute GetPositionsAttr() const
USDRI_API UsdAttribute CreatePositionsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
static USDRI_API bool CanApply(const UsdPrim &prim, std::string *whyNot=nullptr)
static USDRI_API UsdRiSplineAPI Get(const UsdStagePtr &stage, const SdfPath &path)
USDRI_API UsdAttribute GetInterpolationAttr() const
std::vector< TfToken > TfTokenVector
Convenience types.
static USDRI_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
USDRI_API SdfValueTypeName GetValuesTypeName() const
Returns the intended typename of the values attribute of the spline.
USDRI_API bool Validate(std::string *reason) const
USDRI_API UsdAttribute CreateInterpolationAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
USDRI_API UsdSchemaKind _GetSchemaKind() const override
USDRI_API UsdAttribute CreateValuesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
UsdRiSplineAPI(const UsdPrim &prim, const TfToken &splineName, const SdfValueTypeName &valuesTypeName, bool doesDuplicateBSplineEndpoints)
UsdPrim GetPrim() const
Return this schema object's held prim.
UsdRiSplineAPI(const UsdSchemaBase &schemaObj, const TfToken &splineName, const SdfValueTypeName &valuesTypeName, bool doesDuplicateBSplineEndpoints)