24 #ifndef PXR_USD_USD_SKEL_TOPOLOGY_H
25 #define PXR_USD_USD_SKEL_TOPOLOGY_H
79 size_t size()
const {
return _parentIndices.size(); }
88 bool operator==(
const UsdSkelTopology& o)
const;
95 VtIntArray _parentIndices;
103 return _parentIndices[
index];
109 #endif // PXR_USD_USD_SKEL_TOPOLOGY_H
GLsizei const GLchar *const * string
bool operator==(const UsdSkelTopology &o) const
const VtIntArray & GetParentIndices() const
#define TF_DEV_AXIOM(cond)
UsdSkelTopology()=default
Construct an empty topology.
size_t GetNumJoints() const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
int GetParent(size_t index) const
#define PXR_NAMESPACE_CLOSE_SCOPE
bool operator!=(const UsdSkelTopology &o) const
USDSKEL_API bool Validate(std::string *reason=nullptr) const
bool IsRoot(size_t index) const
Returns true if the index'th joint is a root joint.