24 #ifndef USDVOL_GENERATED_OPENVDBASSET_H
25 #define USDVOL_GENERATED_OPENVDBASSET_H
30 #include "pxr/usd/usdVol/api.h"
31 #include "pxr/usd/usdVol/fieldAsset.h"
32 #include "pxr/usd/usd/prim.h"
33 #include "pxr/usd/usd/stage.h"
34 #include "pxr/usd/usdVol/tokens.h"
36 #include "pxr/base/vt/value.h"
38 #include "pxr/base/gf/vec3d.h"
39 #include "pxr/base/gf/vec3f.h"
40 #include "pxr/base/gf/matrix4d.h"
42 #include "pxr/base/tf/token.h"
43 #include "pxr/base/tf/type.h"
45 PXR_NAMESPACE_OPEN_SCOPE
110 Get(
const UsdStagePtr &stage,
const SdfPath &path);
149 static const TfType &_GetStaticTfType();
151 static bool _IsTypedSchema();
155 const TfType &_GetTfType()
const override;
192 PXR_NAMESPACE_CLOSE_SCOPE
static USDVOL_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...
USDVOL_API UsdSchemaType _GetSchemaType() const override
Returns the type of schema this class belongs to.
Base class for field primitives defined by an external file.
Scenegraph object for authoring and retrieving numeric, string, and array valued data, sampled over time.
Represents a concrete typed schema.
virtual USDVOL_API ~UsdVolOpenVDBAsset()
Destructor.
USDVOL_API UsdAttribute CreateFieldNameAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetFieldNameAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
USDVOL_API UsdAttribute GetFieldNameAttr() const
Name of an individual grid within the file specified by the filePath attribute.
UsdVolOpenVDBAsset(const UsdPrim &prim=UsdPrim())
Construct a UsdVolOpenVDBAsset on UsdPrim prim .
UsdSchemaType
An enum representing which type of schema a given schema class belongs to.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
UsdVolOpenVDBAsset(const UsdSchemaBase &schemaObj)
Construct a UsdVolOpenVDBAsset on the prim held by schemaObj .
A path value used to locate objects in layers or scenegraphs.
static const UsdSchemaType schemaType
Compile time constant representing what kind of schema this class is.
Contains an asset path and an optional resolved path.
static USDVOL_API UsdVolOpenVDBAsset Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...
TfType represents a dynamic runtime type.
Singleton registry that provides access to prim and property definition information for registered Us...
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...
static USDVOL_API UsdVolOpenVDBAsset Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdVolOpenVDBAsset holding the prim adhering to this schema at path on stage.