18 #ifndef PXR_USD_IMAGING_USD_SKEL_IMAGING_BLEND_SHAPE_SCHEMA_H 19 #define PXR_USD_IMAGING_USD_SKEL_IMAGING_BLEND_SHAPE_SCHEMA_H 23 #include "pxr/usdImaging/usdSkelImaging/api.h" 25 #include "pxr/imaging/hd/schema.h" 28 #include "pxr/imaging/hd/containerSchema.h" 31 PXR_NAMESPACE_OPEN_SCOPE
38 #define USD_SKEL_IMAGING_BLEND_SHAPE_SCHEMA_TOKENS \ 46 USD_SKEL_IMAGING_BLEND_SHAPE_SCHEMA_TOKENS);
71 const HdContainerDataSourceHandle &fromParentContainer);
82 HdVec3fArrayDataSourceHandle GetOffsets()
const;
85 HdVec3fArrayDataSourceHandle GetNormalOffsets()
const;
88 HdIntArrayDataSourceHandle GetPointIndices()
const;
147 static HdContainerDataSourceHandle
149 const HdVec3fArrayDataSourceHandle &offsets,
150 const HdVec3fArrayDataSourceHandle &normalOffsets,
151 const HdIntArrayDataSourceHandle &pointIndices,
152 const HdContainerDataSourceHandle &inbetweenShapes
166 const HdVec3fArrayDataSourceHandle &offsets);
169 const HdVec3fArrayDataSourceHandle &normalOffsets);
172 const HdIntArrayDataSourceHandle &pointIndices);
175 const HdContainerDataSourceHandle &inbetweenShapes);
179 HdContainerDataSourceHandle
Build();
182 HdVec3fArrayDataSourceHandle _offsets;
183 HdVec3fArrayDataSourceHandle _normalOffsets;
184 HdIntArrayDataSourceHandle _pointIndices;
185 HdContainerDataSourceHandle _inbetweenShapes;
192 PXR_NAMESPACE_CLOSE_SCOPE
Corresponds to UsdSkelBlendShape.
static USDSKELIMAGING_API HdContainerDataSourceHandle BuildRetained(const HdVec3fArrayDataSourceHandle &offsets, const HdVec3fArrayDataSourceHandle &normalOffsets, const HdIntArrayDataSourceHandle &pointIndices, const HdContainerDataSourceHandle &inbetweenShapes)
static USDSKELIMAGING_API UsdSkelImagingBlendShapeSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
Retrieves a container data source with the schema's default name token "skelBlendShape" from the pare...
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
Token for efficient comparison, assignment, and hashing of known strings.
Represents an object that can identify the location of a data source.
static USDSKELIMAGING_API const HdDataSourceLocator & GetPointIndicesLocator()
Prim-level relative data source locator to locate pointIndices.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
static USDSKELIMAGING_API const HdDataSourceLocator & GetNormalOffsetsLocator()
Prim-level relative data source locator to locate normalOffsets.
Template class for a schema backed by a container whose children have arbitrary names but an expected...
USDSKELIMAGING_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Schema classes represent a structured view of the inherently unstructured container data source passe...
static USDSKELIMAGING_API const HdDataSourceLocator & GetOffsetsLocator()
Prim-level relative data source locator to locate offsets.
static USDSKELIMAGING_API const TfToken & GetSchemaToken()
Returns a token where the container representing this schema is found in a container by default.
static USDSKELIMAGING_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
static USDSKELIMAGING_API const HdDataSourceLocator & GetInbetweenShapesLocator()
Prim-level relative data source locator to locate inbetweenShapes.