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);
209 const std::unordered_set<SdfLayerHandle, TfHash>&
276 std::vector<std::string> *
result,
283 std::vector<std::string> *
result);
286 std::vector<std::string> *
result) {
296 std::string
const &vsetName,
297 std::set<std::string> *
result);
300 std::string
const &vsetName,
301 std::set<std::string> *
result)
311 PcpLayerStackRefPtr
const &layerStack,
313 std::string
const &vsetName,
315 std::unordered_set<std::string> *exprVarDependencies,
320 PcpLayerStackRefPtr
const &layerStack,
322 std::string
const &vsetName,
326 layerStack, path, vsetName, result,
nullptr,
nullptr);
331 std::string
const &vsetName,
342 PcpLayerStackRefPtr
const &layerStack,
345 std::unordered_set<std::string> *exprVarDependencies,
350 PcpLayerStackRefPtr
const &layerStack,
355 layerStack, path, result,
nullptr,
nullptr);
369 PcpLayerStackRefPtr
const &layerStack,
381 const TfToken *orderField =
nullptr);
385 #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
std::map< SdfPath, SdfPath > SdfRelocatesMap
A map of source SdfPaths to target SdfPaths for relocation.
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
PCP_API bool PcpComposeSiteHasSymmetry(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
Symmetry.
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_AND_REF_PTRS(PcpLayerStack)
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.
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
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
SdfLayerOffset sourceLayerStackOffset
#define PXR_NAMESPACE_CLOSE_SCOPE
PCP_API void PcpComposeSiteRelocates(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfRelocatesMap *result)
Relocates.
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 bool PcpComposeSiteHasPrimSpecs(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, const std::unordered_set< SdfLayerHandle, TfHash > &layersToIgnore)
Has prim specs.
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.