18#ifndef PXR_USD_IMAGING_USD_SKEL_IMAGING_SKELETON_SCHEMA_H
19#define PXR_USD_IMAGING_USD_SKEL_IMAGING_SKELETON_SCHEMA_H
23#include "pxr/usdImaging/usdSkelImaging/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define USD_SKEL_IMAGING_SKELETON_SCHEMA_TOKENS \
43 USD_SKEL_IMAGING_SKELETON_SCHEMA_TOKENS);
68 const HdContainerDataSourceHandle &fromParentContainer);
88 HdMatrixArrayDataSourceHandle GetBindTransforms()
const;
148 static HdContainerDataSourceHandle
150 const HdTokenArrayDataSourceHandle &joints,
151 const HdTokenArrayDataSourceHandle &jointNames,
152 const HdMatrixArrayDataSourceHandle &bindTransforms,
153 const HdMatrixArrayDataSourceHandle &restTransforms
167 const HdTokenArrayDataSourceHandle &joints);
170 const HdTokenArrayDataSourceHandle &jointNames);
173 const HdMatrixArrayDataSourceHandle &bindTransforms);
176 const HdMatrixArrayDataSourceHandle &restTransforms);
180 HdContainerDataSourceHandle
Build();
183 HdTokenArrayDataSourceHandle _joints;
184 HdTokenArrayDataSourceHandle _jointNames;
185 HdMatrixArrayDataSourceHandle _bindTransforms;
186 HdMatrixArrayDataSourceHandle _restTransforms;
193PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Token for efficient comparison, assignment, and hashing of known strings.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
USDSKELIMAGING_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Corresponds to UsdSkelSkeleton.
USDSKELIMAGING_API HdTokenArrayDataSourceHandle GetJointNames() const
Here for completeness but ignored for posing the geometry.
USDSKELIMAGING_API HdTokenArrayDataSourceHandle GetJoints() const
Determines topology of skeleton.
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 & GetBindTransformsLocator()
Prim-level relative data source locator to locate bindTransforms.
static USDSKELIMAGING_API const HdDataSourceLocator & GetJointNamesLocator()
Prim-level relative data source locator to locate jointNames.
USDSKELIMAGING_API HdMatrixArrayDataSourceHandle GetRestTransforms() const
These are local rest transforms.
static USDSKELIMAGING_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
static USDSKELIMAGING_API UsdSkelImagingSkeletonSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
Retrieves a container data source with the schema's default name token "skeleton" from the parent con...
static USDSKELIMAGING_API HdContainerDataSourceHandle BuildRetained(const HdTokenArrayDataSourceHandle &joints, const HdTokenArrayDataSourceHandle &jointNames, const HdMatrixArrayDataSourceHandle &bindTransforms, const HdMatrixArrayDataSourceHandle &restTransforms)
static USDSKELIMAGING_API const HdDataSourceLocator & GetJointsLocator()
Prim-level relative data source locator to locate joints.
static USDSKELIMAGING_API const HdDataSourceLocator & GetRestTransformsLocator()
Prim-level relative data source locator to locate restTransforms.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.