7#ifndef PXR_USD_PCP_PATH_TRANSLATION_H
8#define PXR_USD_PCP_PATH_TRANSLATION_H
14#include "pxr/usd/pcp/api.h"
16PXR_NAMESPACE_OPEN_SCOPE
41 const SdfPath& pathInNodeNamespace,
42 bool* pathWasTranslated = 0);
63 const SdfPath& pathInRootNamespace,
64 bool* pathWasTranslated = 0);
76 const SdfPath& pathInRootNamespace,
77 bool* pathWasTranslated = 0);
85 const SdfPath &pathInRootNamespace,
86 bool *pathWasTranslated = 0);
94 const SdfPath &pathInNodeNamespace,
95 bool *pathWasTranslated = 0);
97PXR_NAMESPACE_CLOSE_SCOPE
A function that maps values from one namespace (and time domain) to another.
PcpNode represents a node in an expression tree for compositing scene description.
A path value used to locate objects in layers or scenegraphs.
PCP_API SdfPath PcpTranslatePathFromRootToNodeUsingFunction(const PcpMapFunction &mapToRoot, const SdfPath &pathInRootNamespace, bool *pathWasTranslated=0)
Convenience function like PcpTranslatePathFromRootToNode, but takes a function rather than a node.
PCP_API SdfPath PcpTranslateTargetPathFromRootToNode(const PcpNodeRef &destNode, const SdfPath &pathInRootNamespace, bool *pathWasTranslated=0)
Same as PcpTranslatePathFromRootToNode, but explicitly for use when translating paths intended for us...
PCP_API SdfPath PcpTranslatePathFromRootToNode(const PcpNodeRef &destNode, const SdfPath &pathInRootNamespace, bool *pathWasTranslated=0)
Translates pathInRootNamespace from the namespace of the root of the prim index that destNode belongs...
PCP_API SdfPath PcpTranslatePathFromNodeToRoot(const PcpNodeRef &sourceNode, const SdfPath &pathInNodeNamespace, bool *pathWasTranslated=0)
Translates pathInNodeNamespace from the namespace of the prim index node sourceNode to the namespace ...
PCP_API SdfPath PcpTranslatePathFromNodeToRootUsingFunction(const PcpMapFunction &mapToRoot, const SdfPath &pathInNodeNamespace, bool *pathWasTranslated=0)
Convenience function like PcpTranslatePathFromNodeToRoot, but takes a function rather than a node.