7#ifndef USDVOL_GENERATED_PARTICLEFIELD3DGAUSSIANSPLAT_H
8#define USDVOL_GENERATED_PARTICLEFIELD3DGAUSSIANSPLAT_H
13#include "pxr/usd/usdVol/api.h"
27#include "pxr/base/vt/value.h"
34#include "pxr/base/tf/type.h"
36PXR_NAMESPACE_OPEN_SCOPE
148 static const TfType &_GetStaticTfType();
150 static bool _IsTypedSchema();
154 const TfType &_GetTfType()
const override;
250 bool writeSparsely=
false)
const;
260 bool writeSparsely=
false)
const;
283 bool writeSparsely=
false)
const;
293 bool writeSparsely=
false)
const;
316 bool writeSparsely=
false)
const;
326 bool writeSparsely=
false)
const;
349 bool writeSparsely=
false)
const;
359 bool writeSparsely=
false)
const;
395 bool writeSparsely=
false)
const;
405 bool writeSparsely=
false)
const;
415 bool writeSparsely=
false)
const;
515 TfToken *radianceCoefficientsToken =
nullptr)
const;
531PXR_NAMESPACE_CLOSE_SCOPE
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.
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
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...
This is a concrete ParticleField representing the original 3D Gaussian Splats technique (https://arxi...
USDVOL_API UsdAttribute CreateOpacitiesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldOpacityAttributeAPI::CreateOpacitiesAttr().
USDVOL_API UsdAttribute CreatePositionshAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldPositionAttributeAPI::CreatePositionshAttr().
USDVOL_API UsdAttribute CreateScalesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldScaleAttributeAPI::CreateScalesAttr().
USDVOL_API UsdAttribute GetOpacitieshAttr() const
See UsdVolParticleFieldOpacityAttributeAPI::GetOpacitieshAttr().
USDVOL_API UsdAttribute GetRadianceSphericalHarmonicsCoefficientshAttr() const
See UsdVolParticleFieldSphericalHarmonicsAttributeAPI::GetRadianceSphericalHarmonicsCoefficientshAttr...
USDVOL_API UsdVolParticleFieldOrientationAttributeAPI ParticleFieldOrientationAttributeAPI() const
Constructs and returns a UsdVolParticleFieldOrientationAttributeAPI object.
USDVOL_API bool UsesFloatScales(UsdAttribute *scalesAttr) const
Determines if we should prefer scales over scalesh based on whether scales has been authored to a non...
virtual USDVOL_API ~UsdVolParticleField3DGaussianSplat()
Destructor.
UsdVolParticleField3DGaussianSplat(const UsdPrim &prim=UsdPrim())
Construct a UsdVolParticleField3DGaussianSplat on UsdPrim prim .
USDVOL_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
USDVOL_API UsdAttribute GetProjectionModeHintAttr() const
A hint for the renderer on how to project the gaussian to achieve a perspective correct view.
static USDVOL_API UsdVolParticleField3DGaussianSplat Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdVolParticleField3DGaussianSplat holding the prim adhering to this schema at path on stage...
USDVOL_API UsdAttribute GetPositionshAttr() const
See UsdVolParticleFieldPositionAttributeAPI::GetPositionshAttr().
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
UsdVolParticleField3DGaussianSplat(const UsdSchemaBase &schemaObj)
Construct a UsdVolParticleField3DGaussianSplat on the prim held by schemaObj .
USDVOL_API UsdAttribute CreateSortingModeHintAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSortingModeHintAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDVOL_API UsdAttribute GetOrientationsAttr() const
See UsdVolParticleFieldOrientationAttributeAPI::GetOrientationsAttr().
USDVOL_API UsdVolParticleFieldOpacityAttributeAPI ParticleFieldOpacityAttributeAPI() const
Constructs and returns a UsdVolParticleFieldOpacityAttributeAPI object.
USDVOL_API UsdAttribute CreateRadianceSphericalHarmonicsDegreeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldSphericalHarmonicsAttributeAPI::CreateRadianceSphericalHarmonicsDegreeAttr().
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 UsdAttribute GetPositionsAttr() const
See UsdVolParticleFieldPositionAttributeAPI::GetPositionsAttr().
USDVOL_API UsdVolParticleFieldSphericalHarmonicsAttributeAPI ParticleFieldSphericalHarmonicsAttributeAPI() const
Constructs and returns a UsdVolParticleFieldSphericalHarmonicsAttributeAPI object.
static USDVOL_API UsdVolParticleField3DGaussianSplat Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...
USDVOL_API UsdVolParticleFieldPositionAttributeAPI ParticleFieldPositionAttributeAPI() const
Constructs and returns a UsdVolParticleFieldPositionAttributeAPI object.
USDVOL_API UsdAttribute GetRadianceSphericalHarmonicsCoefficientsAttr() const
See UsdVolParticleFieldSphericalHarmonicsAttributeAPI::GetRadianceSphericalHarmonicsCoefficientsAttr(...
USDVOL_API UsdAttribute GetScalesAttr() const
See UsdVolParticleFieldScaleAttributeAPI::GetScalesAttr().
USDVOL_API UsdAttribute GetRadianceSphericalHarmonicsDegreeAttr() const
See UsdVolParticleFieldSphericalHarmonicsAttributeAPI::GetRadianceSphericalHarmonicsDegreeAttr().
USDVOL_API UsdVolParticleFieldKernelGaussianEllipsoidAPI ParticleFieldKernelGaussianEllipsoidAPI() const
Constructs and returns a UsdVolParticleFieldKernelGaussianEllipsoidAPI object.
USDVOL_API UsdAttribute GetOrientationshAttr() const
See UsdVolParticleFieldOrientationAttributeAPI::GetOrientationshAttr().
USDVOL_API UsdAttribute CreateOrientationshAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldOrientationAttributeAPI::CreateOrientationshAttr().
USDVOL_API UsdAttribute GetScaleshAttr() const
See UsdVolParticleFieldScaleAttributeAPI::GetScaleshAttr().
USDVOL_API UsdAttribute CreateRadianceSphericalHarmonicsCoefficientshAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldSphericalHarmonicsAttributeAPI::CreateRadianceSphericalHarmonicsCoefficientshA...
USDVOL_API UsdAttribute CreateScaleshAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldScaleAttributeAPI::CreateScaleshAttr().
USDVOL_API UsdAttribute CreatePositionsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldPositionAttributeAPI::CreatePositionsAttr().
USDVOL_API UsdAttribute CreateOrientationsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldOrientationAttributeAPI::CreateOrientationsAttr().
USDVOL_API UsdVolParticleFieldScaleAttributeAPI ParticleFieldScaleAttributeAPI() const
Constructs and returns a UsdVolParticleFieldScaleAttributeAPI object.
USDVOL_API bool UsesFloatRadianceCoefficients(UsdAttribute *radianceCoefficientsAttr) const
Determines if we should prefer radiance:sphericalHarmonicsCoefficients over radiance:sphericalHarmoni...
USDVOL_API bool UsesFloatOrientations(UsdAttribute *orientationsAttr) const
Determines if we should prefer orientations over orientationsh based on whether orientations has been...
USDVOL_API UsdAttribute GetOpacitiesAttr() const
See UsdVolParticleFieldOpacityAttributeAPI::GetOpacitiesAttr().
USDVOL_API bool UsesFloatOpacities(UsdAttribute *opacitiesAttr) const
Determines if we should prefer opacities over opacitiesh based on whether opacities has been authored...
USDVOL_API UsdAttribute CreateProjectionModeHintAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetProjectionModeHintAttr(), and also Create vs Get Property Methods for when to use Get vs Creat...
USDVOL_API UsdAttribute GetSortingModeHintAttr() const
A hint for the renderer on how to sort the gaussians while drawing.
USDVOL_API bool UsesFloatPositions(UsdAttribute *positionsAttr) const
Determines if we should prefer positions over positionsh based on whether positions has been authored...
USDVOL_API UsdAttribute CreateRadianceSphericalHarmonicsCoefficientsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldSphericalHarmonicsAttributeAPI::CreateRadianceSphericalHarmonicsCoefficientsAt...
USDVOL_API UsdAttribute CreateOpacitieshAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See UsdVolParticleFieldOpacityAttributeAPI::CreateOpacitieshAttr().
A ParticleField prim is used as a base to describe different types of concrete ParticleField implemen...
Defines the gaussian ellipsoid kernel for a given ParticleField.
A ParticleField related applied schema that provides an opacities attribute to define the opacity of ...
A ParticleField related applied schema that provides an orientations attribute to define the orientat...
A ParticleField related applied schema that provides a position attribute to define the locations of ...
A ParticleField related applied schema that provides a scales attribute to define the linear scale fa...
A ParticleField related applied schema that provides spherical harmonics attributes to define the rad...
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.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
std::vector< TfToken > TfTokenVector
Convenience types.