24 #ifndef PXR_USD_PCP_COMPOSE_SITE_H
25 #define PXR_USD_PCP_COMPOSE_SITE_H
66 #include <unordered_set>
94 PcpLayerStackRefPtr
const &layerStack,
98 std::unordered_set<std::string> *exprVarDependencies,
103 PcpLayerStackRefPtr
const &layerStack,
109 layerStack, path, result, info,
nullptr ,
nullptr);
117 std::unordered_set<std::string> *exprVarDependencies,
122 result, info, exprVarDependencies, errors);
139 PcpLayerStackRefPtr
const &layerStack,
143 std::unordered_set<std::string> *exprVarDependencies,
148 PcpLayerStackRefPtr
const &layerStack,
154 layerStack, path, result, info,
nullptr,
nullptr);
162 std::unordered_set<std::string> *exprVarDependencies,
167 result, info, exprVarDependencies, errors);
284 std::vector<std::string> *
result,
291 std::vector<std::string> *
result);
294 std::vector<std::string> *
result) {
305 std::set<std::string> *
result);
309 std::set<std::string> *
result)
319 PcpLayerStackRefPtr
const &layerStack,
323 std::unordered_set<std::string> *exprVarDependencies,
328 PcpLayerStackRefPtr
const &layerStack,
334 layerStack, path, vsetName, result,
nullptr,
nullptr);
350 PcpLayerStackRefPtr
const &layerStack,
353 std::unordered_set<std::string> *exprVarDependencies,
358 PcpLayerStackRefPtr
const &layerStack,
363 layerStack, path, result,
nullptr,
nullptr);
377 PcpLayerStackRefPtr
const &layerStack,
389 const TfToken *orderField =
nullptr);
393 #endif // PXR_USD_PCP_COMPOSE_SITE_H
PCP_API void PcpComposeSiteReferences(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfReferenceVector *result, PcpSourceArcInfoVector *info, std::unordered_set< std::string > *exprVarDependencies, PcpErrorVector *errors)
References.
std::vector< SdfPayload > SdfPayloadVector
std::map< SdfPath, SdfPath > SdfRelocatesMap
A map of source SdfPaths to target SdfPaths for relocation.
std::string authoredAssetPath
GLsizei const GLchar *const * string
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 PcpComposeSiteInherits(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfPathVector *result, PcpSourceArcInfoVector *info)
Inherits.
PCP_API void PcpComposeSiteSpecializes(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfPathVector *result, PcpSourceArcInfoVector *info)
Specializes.
std::vector< TfRefPtr< SdfLayer > > SdfLayerRefPtrVector
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.
std::vector< PcpSourceArcInfo > PcpSourceArcInfoVector
A vector of reference or payload arc information.
PCP_API void PcpComposeSiteVariantSetOptions(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, std::string const &vsetName, std::set< std::string > *result)
VariantSetOptions.
std::vector< class SdfPath > SdfPathVector
A vector of SdfPaths.
std::vector< PcpErrorBasePtr > PcpErrorVector
PCP_API const PcpLayerStackRefPtr & GetLayerStack() const
Returns the layer stack for the site this node represents.
PCP_API bool PcpComposeSiteHasVariantSelections(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
std::vector< SdfReference > SdfReferenceVector
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
PCP_API void PcpComposeSitePayloads(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfPayloadVector *result, PcpSourceArcInfoVector *info, std::unordered_set< std::string > *exprVarDependencies, PcpErrorVector *errors)
Payloads.
PCP_API void PcpComposeSiteVariantSets(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, std::vector< std::string > *result, PcpSourceArcInfoVector *info)
VariantSets.
PCP_API bool PcpComposeSiteHasPrimSpecs(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
Has prim specs.
#define PXR_NAMESPACE_CLOSE_SCOPE
PCP_API void PcpComposeSiteRelocates(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfRelocatesMap *result)
Relocates.
SdfLayerOffset layerStackOffset
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.
PCP_API SdfPermission PcpComposeSitePermission(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
Permission.