7#ifndef PXR_USD_USD_RESOLVE_TARGET_H
8#define PXR_USD_USD_RESOLVE_TARGET_H
11#include "pxr/usd/usd/api.h"
12#include "pxr/usd/pcp/node.h"
13#include "pxr/usd/pcp/primIndex.h"
18PXR_NAMESPACE_OPEN_SCOPE
63 return _expandedPrimIndex.get();
88 return !bool(_expandedPrimIndex);
98 friend class Usd_Resolver;
102 const std::shared_ptr<PcpPrimIndex> &index,
104 const SdfLayerHandle &layer);
108 const std::shared_ptr<PcpPrimIndex> &index,
110 const SdfLayerHandle &layer,
112 const SdfLayerHandle &stopLayer);
119 std::shared_ptr<PcpPrimIndex> _expandedPrimIndex;
120 PcpNodeRange _nodeRange;
123 SdfLayerRefPtrVector::const_iterator _startLayerIt;
125 SdfLayerRefPtrVector::const_iterator _stopLayerIt;
128PXR_NAMESPACE_CLOSE_SCOPE
Object used to iterate over nodes in the prim index graph in strong-to-weak order.
PcpNode represents a node in an expression tree for compositing scene description.
PcpPrimIndex is an index of the all sites of scene description that contribute opinions to a specific...
A scene description container that can combine with other such containers to form simple component as...
This represents a composition arc that is returned by a UsdPrimCompositionQuery.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
Defines a subrange of nodes and layers within a prim's prim index to consider when performing value r...
USD_API SdfLayerHandle GetStopLayer() const
Returns the layer in the layer stack of the stop node that value resolution with this resolve target ...
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 GetStopNode() const
Returns the node that value resolution with this resolve target will stop at when the "stop at" layer...
USD_API PcpNodeRef GetStartNode() const
Returns the node that value resolution with this resolve target will start at.
bool IsNull() const
Returns true if this is a null resolve target.
const PcpPrimIndex * GetPrimIndex() const
Get the prim index of the resolve target.