24 #ifndef USDRI_GENERATED_SPLINEAPI_H
25 #define USDRI_GENERATED_SPLINEAPI_H
174 static const TfType &_GetStaticTfType();
176 static bool _IsTypedSchema();
180 const TfType &_GetTfType()
const override;
198 bool doesDuplicateBSplineEndpoints)
200 , _splineName(splineName)
201 , _valuesTypeName(valuesTypeName)
202 , _duplicateBSplineEndpoints(doesDuplicateBSplineEndpoints)
211 bool doesDuplicateBSplineEndpoints)
213 , _splineName(splineName)
214 , _valuesTypeName(valuesTypeName)
215 , _duplicateBSplineEndpoints(doesDuplicateBSplineEndpoints)
226 return _duplicateBSplineEndpoints;
232 return _valuesTypeName;
329 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 * string
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)