24 #ifndef PXR_USD_PCP_COMPOSE_SITE_H 25 #define PXR_USD_PCP_COMPOSE_SITE_H 54 #include "pxr/usd/pcp/api.h" 55 #include "pxr/usd/pcp/node.h" 57 #include "pxr/usd/sdf/path.h" 61 #include "pxr/usd/sdf/site.h" 66 PXR_NAMESPACE_OPEN_SCOPE
81 std::string authoredAssetPath;
92 SdfReferenceVector *result,
96 SdfReferenceVector *result,
108 SdfPayloadVector *result,
112 SdfPayloadVector *result,
136 SdfSiteVector *result);
185 SdfPath const &path, SdfPathVector *result,
191 SdfPath const &path, SdfPathVector *result);
203 SdfPath const &path, SdfPathVector *result,
209 SdfPath const &path, SdfPathVector *result);
223 std::vector<std::string> *result,
230 std::vector<std::string> *result);
233 std::vector<std::string> *result) {
243 std::string
const &vsetName,
244 std::set<std::string> *result);
247 std::string
const &vsetName,
248 std::set<std::string> *result)
259 std::string
const &vsetName,
260 std::string *result);
263 std::string
const &vsetName,
293 const TfToken *orderField =
nullptr);
295 PXR_NAMESPACE_CLOSE_SCOPE
297 #endif // PXR_USD_PCP_COMPOSE_SITE_H PCP_API bool PcpComposeSiteVariantSelection(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, std::string const &vsetName, std::string *result)
VariantSelection.
A site specifies a path in a layer stack of scene description.
std::map< SdfPath, SdfPath > SdfRelocatesMap
A map of source SdfPaths to target SdfPaths for relocation.
Represents a stack of layers that contribute opinions to composition.
PcpNode represents a node in an expression tree for compositing scene description.
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)
Compose child names.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
PCP_API const PcpLayerStackRefPtr & GetLayerStack() const
Returns the layer stack for the site this node represents.
PCP_API void PcpComposeSiteReferences(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfReferenceVector *result, PcpSourceArcInfoVector *info)
References.
PCP_API const SdfPath & GetPath() const
Returns the path for the site this node represents.
PCP_API bool PcpComposeSiteHasSymmetry(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
Symmetry.
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.
Token for efficient comparison, assignment, and hashing of known strings.
PCP_API void PcpComposeSitePrimSites(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfSiteVector *result)
Prim sites.
PCP_API void PcpComposeSiteVariantSelections(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfVariantSelectionMap *result)
VariantSelections.
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.
A path value used to locate objects in layers or scenegraphs.
Information about the source of the target of an arc.
PCP_API void PcpComposeSitePayloads(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfPayloadVector *result, PcpSourceArcInfoVector *info)
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.
Implementation of a hash set using open-addressing and the robin hood hashing algorithm with backward...
PCP_API void PcpComposeSiteRelocates(PcpLayerStackRefPtr const &layerStack, SdfPath const &path, SdfRelocatesMap *result)
Relocates.
Represents a time offset and scale between layers.
PCP_API SdfPermission PcpComposeSitePermission(PcpLayerStackRefPtr const &layerStack, SdfPath const &path)
Permission.
SdfPermission
An enum that defines permission levels.