7#ifndef USDGEOM_GENERATED_BACKPLATEAPI_H
8#define USDGEOM_GENERATED_BACKPLATEAPI_H
13#include "pxr/usd/usdGeom/api.h"
22#include "pxr/base/vt/value.h"
29#include "pxr/base/tf/type.h"
31PXR_NAMESPACE_OPEN_SCOPE
166 static std::vector<UsdGeomBackPlateAPI>
201 std::string *whyNot=
nullptr);
237 static const TfType &_GetStaticTfType();
239 static bool _IsTypedSchema();
243 const TfType &_GetTfType()
const override;
612PXR_NAMESPACE_CLOSE_SCOPE
Basic type for a vector of 3 float components.
Contains an asset path and optional evaluated and resolved paths.
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.
The base class for all API schemas.
const TfToken & _GetInstanceName() const
Returns the instance name of the API schema object belonging to a multiple-apply API schema.
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
This schema specifies a back plate i.e.
USDGEOM_API UsdAttribute CreatePlateVisibilityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetPlateVisibilityAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDGEOM_API UsdAttribute CreateDepthMinOffsetAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDepthMinOffsetAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
UsdGeomBackPlateAPI(const UsdSchemaBase &schemaObj, const TfToken &name)
Construct a UsdGeomBackPlateAPI on the prim held by schemaObj with name name.
USDGEOM_API float ComputeEffectiveDimension(bool computeWidth, UsdTimeCode time) const
Returns the height of the plate.
USDGEOM_API UsdAttribute CreateLumaGainAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetLumaGainAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDGEOM_API UsdAttribute CreateTranslateTweakAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetTranslateTweakAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDGEOM_API UsdAttribute CreateRotateXYZTweakAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRotateXYZTweakAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
TfToken GetName() const
Returns the name of this multiple-apply schema instance.
USDGEOM_API UsdAttribute CreateScaleTweakAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetScaleTweakAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
static USDGEOM_API std::vector< UsdGeomBackPlateAPI > GetAll(const UsdPrim &prim)
Return a vector of all named instances of UsdGeomBackPlateAPI on the given prim.
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
USDGEOM_API UsdAttribute GetDepthMinOffsetAttr() const
Offset to shift the depth values if minimum value of current range is not set at 0 if needed.
USDGEOM_API UsdAttribute GetDepthImageAttr() const
File path to a single-channel texture that describes the depth associated with the image if one exist...
USDGEOM_API UsdAttribute GetPlateVisibilityAttr() const
Toggles the visibility of the back plate to all cameras, only the owning camera, or no cameras.
USDGEOM_API void SetWorldSpacePosition(GfVec3f pos, UsdTimeCode time) const
Computes and sets backplate tweak::translate such that the back plate will be positioned at the desir...
USDGEOM_API UsdAttribute GetTranslateTweakAttr() const
The (X,Y,Z) translation of the plate about its center after it has been translated by the focus dista...
USDGEOM_API UsdAttribute GetLumaGainAttr() const
Scales the per-channel upper bound of the normalized signal before gamma, analogous to per-channel ex...
USDGEOM_API GfVec3f GetWorldSpacePosition(UsdTimeCode time) const
Computes and returns the position of the backplate in world space.
UsdGeomBackPlateAPI(const UsdPrim &prim=UsdPrim(), const TfToken &name=TfToken())
Construct a UsdGeomBackPlateAPI on UsdPrim prim with name name .
USDGEOM_API UsdAttribute CreateLumaLiftAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetLumaLiftAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDGEOM_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
USDGEOM_API UsdAttribute CreateLumaGammaAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetLumaGammaAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
static USDGEOM_API bool IsSchemaPropertyBaseName(const TfToken &baseName)
Checks if the given name baseName is the base name of a property of BackPlateAPI.
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 CreateAlphaImageAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetAlphaImageAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDGEOM_API UsdAttribute GetAlphaImageAttr() const
Asset path to channel representing the opacity of the back plate.
USDGEOM_API UsdAttribute CreateDepthCameraSpaceOffsetAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDepthCameraSpaceOffsetAttr(), and also Create vs Get Property Methods for when to use Get vs C...
USDGEOM_API UsdAttribute GetRotateXYZTweakAttr() const
The (X,Y,Z) rotation of the plate about its center in degrees.
USDGEOM_API UsdAttribute GetImageAttr() const
Asset path to the file containing a texture or sequence of textures.
static USDGEOM_API UsdGeomBackPlateAPI Apply(const UsdPrim &prim, const TfToken &name)
Applies this multiple-apply API schema to the given prim along with the given instance name,...
virtual USDGEOM_API ~UsdGeomBackPlateAPI()
Destructor.
USDGEOM_API UsdAttribute GetLumaLiftAttr() const
Raises or lowers the signal floor (black level) of the normalized value prior to the gain and gamma s...
USDGEOM_API void SetAspectRatio(float width, float height, UsdTimeCode time) const
Computes and sets backplate tweak::scale such that the back plate will have the desired width and hei...
static USDGEOM_API bool IsBackPlateAPIPath(const SdfPath &path, TfToken *name)
Checks if the given path path is of an API schema of type BackPlateAPI.
static USDGEOM_API UsdGeomBackPlateAPI Get(const UsdPrim &prim, const TfToken &name)
Return a UsdGeomBackPlateAPI with name name holding the prim prim.
USDGEOM_API UsdAttribute GetLumaGammaAttr() const
Per-channel power applied to the normalized RGB signal after lift and gain.
static USDGEOM_API bool CanApply(const UsdPrim &prim, const TfToken &name, std::string *whyNot=nullptr)
Returns true if this multiple-apply API schema can be applied, with the given instance name,...
USDGEOM_API UsdAttribute CreateDepthNormalizingFactorAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDepthNormalizingFactorAttr(), and also Create vs Get Property Methods for when to use Get vs C...
USDGEOM_API UsdAttribute GetScaleTweakAttr() const
The (X,Y) scale of the plate about its center.
USDGEOM_API UsdAttribute CreateImageAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetImageAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
static USDGEOM_API UsdGeomBackPlateAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdGeomBackPlateAPI holding the prim adhering to this schema at path on stage.
USDGEOM_API UsdAttribute CreateDepthImageAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetDepthImageAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
static USDGEOM_API TfTokenVector GetSchemaAttributeNames(bool includeInherited, const TfToken &instanceName)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
USDGEOM_API GfVec3f GetCameraSpacePosition(UsdTimeCode time) const
Computes and returns the position of the backplate in camera space.
USDGEOM_API UsdAttribute GetDepthNormalizingFactorAttr() const
Value to scale the texture depth value if needed.
USDGEOM_API void SetCameraSpacePosition(GfVec3f pos, UsdTimeCode time) const
Computes and sets backplate tweak::translate such that the back plate will be positioned at the desir...
USDGEOM_API UsdAttribute GetDepthCameraSpaceOffsetAttr() const
Offset to shift the depth into camera space if needed.
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.
@ MultipleApplyAPI
Multiple Apply API Schema.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
std::vector< TfToken > TfTokenVector
Convenience types.