24 #ifndef PXR_USD_USD_RESOLVE_TARGET_H 25 #define PXR_USD_USD_RESOLVE_TARGET_H 28 #include "pxr/usd/usd/api.h" 29 #include "pxr/usd/pcp/node.h" 30 #include "pxr/usd/pcp/primIndex.h" 35 PXR_NAMESPACE_OPEN_SCOPE
80 return _expandedPrimIndex.get();
105 return !bool(_expandedPrimIndex);
115 friend class Usd_Resolver;
119 const std::shared_ptr<PcpPrimIndex> &index,
121 const SdfLayerHandle &layer);
125 const std::shared_ptr<PcpPrimIndex> &index,
127 const SdfLayerHandle &layer,
129 const SdfLayerHandle &stopLayer);
136 std::shared_ptr<PcpPrimIndex> _expandedPrimIndex;
137 PcpNodeRange _nodeRange;
140 SdfLayerRefPtrVector::const_iterator _startLayerIt;
142 SdfLayerRefPtrVector::const_iterator _stopLayerIt;
145 PXR_NAMESPACE_CLOSE_SCOPE
147 #endif // PXR_USD_USD_RESOLVE_TARGET_H This represents a composition arc that is returned by a UsdPrimCompositionQuery.
A scene description container that can combine with other such containers to form simple component as...
PcpPrimIndex is an index of the all sites of scene description that contribute opinions to a specific...
const PcpPrimIndex * GetPrimIndex() const
Get the prim index of the resolve target.
PcpNode represents a node in an expression tree for compositing scene description.
USD_API PcpNodeRef GetStopNode() const
Returns the node that value resolution with this resolve target will stop at when the "stop at" layer...
Object used to iterate over nodes in the prim index graph in strong-to-weak order.
bool IsNull() const
Returns true if this is a null resolve target.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
USD_API SdfLayerHandle GetStartLayer() const
Returns the layer in the layer stack of the start node that value resolution with this resolve target...
USD_API PcpNodeRef GetStartNode() const
Returns the node that value resolution with this resolve target will start at.
USD_API SdfLayerHandle GetStopLayer() const
Returns the layer in the layer stack of the stop node that value resolution with this resolve target ...
Defines a subrange of nodes and layers within a prim's prim index to consider when performing value r...