7 #ifndef PXR_USD_PCP_COMPOSE_SITE_H
8 #define PXR_USD_PCP_COMPOSE_SITE_H
49 #include <unordered_set>
78 PcpLayerStackRefPtr
const &layerStack,
82 std::unordered_set<std::string> *exprVarDependencies,
87 PcpLayerStackRefPtr
const &layerStack,
93 layerStack, path, result, info,
nullptr ,
nullptr);
101 std::unordered_set<std::string> *exprVarDependencies,
106 result, info, exprVarDependencies, errors);
123 PcpLayerStackRefPtr
const &layerStack,
127 std::unordered_set<std::string> *exprVarDependencies,
132 PcpLayerStackRefPtr
const &layerStack,
138 layerStack, path, result, info,
nullptr,
nullptr);
146 std::unordered_set<std::string> *exprVarDependencies,
151 result, info, exprVarDependencies, errors);
194 PcpLayerStackRefPtr
const &layerStack,
196 const std::unordered_set<SdfLayerHandle, TfHash>& layersToIgnore);
212 PcpLayerStackRefPtr
const &layerStack,
214 const std::unordered_set<SdfLayerHandle, TfHash>& layersToIgnore)
299 std::vector<std::string> *
result,
306 std::vector<std::string> *
result);
309 std::vector<std::string> *
result) {
319 std::string
const &vsetName,
320 std::set<std::string> *
result);
323 std::string
const &vsetName,
324 std::set<std::string> *
result)
334 PcpLayerStackRefPtr
const &layerStack,
336 std::string
const &vsetName,
338 std::unordered_set<std::string> *exprVarDependencies,
343 PcpLayerStackRefPtr
const &layerStack,
345 std::string
const &vsetName,
349 layerStack, path, vsetName, result,
nullptr,
nullptr);
354 std::string
const &vsetName,
365 PcpLayerStackRefPtr
const &layerStack,
368 std::unordered_set<std::string> *exprVarDependencies,
373 PcpLayerStackRefPtr
const &layerStack,
378 layerStack, path, result,
nullptr,
nullptr);
392 PcpLayerStackRefPtr
const &layerStack,
404 const TfToken *orderField =
nullptr);
408 #endif // PXR_USD_PCP_COMPOSE_SITE_H
std::vector< PcpArcInfo > PcpArcInfoVector
A vector of reference or payload arc information.
PCP_API void PcpComposeSiteVariantSets(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, std::vector< std::string > *result, PcpArcInfoVector *info)
VariantSets.
std::vector< SdfPayload > SdfPayloadVector
#define PXR_NAMESPACE_OPEN_SCOPE
GLsizei const GLchar *const * path
std::vector< SdfSite > SdfSiteVector
std::map< std::string, std::string > SdfVariantSelectionMap
A map of reference variant set names to variants in those sets.
PCP_API void PcpComposeSiteChildNames(SdfLayerRefPtrVector const &layers, SdfPath const &path, const TfToken &namesField, TfTokenVector *nameOrder, PcpTokenSet *nameSet, const TfToken *orderField=nullptr)
**But if you need a result
bool PcpComposeSiteHasPrimSpecs(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, const std::unordered_set< SdfLayerHandle, TfHash > &layersToIgnore)
PCP_API bool PcpComposeSiteHasSymmetry(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
Symmetry.
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_AND_REF_PTRS(PcpLayerStack)
PCP_API bool PcpComposeSiteHasSpecs(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, const std::unordered_set< SdfLayerHandle, TfHash > &layersToIgnore)
Has prim or property specs.
PCP_API void PcpComposeSitePayloads(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfPayloadVector *result, PcpArcInfoVector *info, std::unordered_set< std::string > *exprVarDependencies, PcpErrorVector *errors)
Payloads.
std::vector< TfRefPtr< SdfLayer > > SdfLayerRefPtrVector
std::vector< class SdfPath > SdfPathVector
PCP_API void PcpComposeSitePrimSites(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfSiteVector *result)
Prim sites.
PCP_API const SdfPath & GetPath() const
Returns the path for the site this node represents.
PCP_API bool PcpComposeSiteHasValueClips(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
Value clips.
std::vector< TfToken > TfTokenVector
Convenience types.
PCP_API void PcpComposeSiteVariantSetOptions(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, std::string const &vsetName, std::set< std::string > *result)
VariantSetOptions.
std::vector< PcpErrorBasePtr > PcpErrorVector
PCP_API const PcpLayerStackRefPtr & GetLayerStack() const
Returns the layer stack for the site this node represents.
SdfLayerHandle sourceLayer
PCP_API bool PcpComposeSiteHasVariantSelections(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
std::vector< SdfReference > SdfReferenceVector
SdfLayerOffset sourceLayerStackOffset
#define PXR_NAMESPACE_CLOSE_SCOPE
PCP_API void PcpComposeSiteInherits(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfPathVector *result, PcpArcInfoVector *info)
Inherits.
PCP_API bool PcpComposeSiteVariantSelection(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, std::string const &vsetName, std::string *result, std::unordered_set< std::string > *exprVarDependencies, PcpErrorVector *errors)
VariantSelection.
PCP_API void PcpComposeSiteVariantSelections(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfVariantSelectionMap *result, std::unordered_set< std::string > *exprVarDependencies, PcpErrorVector *errors)
VariantSelections.
std::string authoredAssetPath
PCP_API SdfPermission PcpComposeSitePermission(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
Permission.
PCP_API void PcpComposeSiteSpecializes(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfPathVector *result, PcpArcInfoVector *info)
Specializes.
PCP_API void PcpComposeSiteReferences(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfReferenceVector *result, PcpArcInfoVector *info, std::unordered_set< std::string > *exprVarDependencies, PcpErrorVector *errors)
References.