HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
layerStack.h File Reference
#include "pxr/pxr.h"
#include "pxr/usd/pcp/api.h"
#include "pxr/usd/pcp/errors.h"
#include "pxr/usd/pcp/layerStackIdentifier.h"
#include "pxr/usd/pcp/mapExpression.h"
#include "pxr/usd/sdf/layerTree.h"
#include "pxr/base/tf/declarePtrs.h"
#include <tbb/spin_mutex.h>
#include <iosfwd>
#include <memory>
#include <string>
#include <unordered_set>
#include <vector>
+ Include dependency graph for layerStack.h:

Go to the source code of this file.

Classes

class  PcpLayerStack
 

Functions

PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_REF_PTRS (SdfLayer)
 
 TF_DECLARE_WEAK_AND_REF_PTRS (PcpLayerStack)
 
 TF_DECLARE_WEAK_AND_REF_PTRS (Pcp_LayerStackRegistry)
 
PCP_API std::ostream & operator<< (std::ostream &, const PcpLayerStackPtr &)
 
PCP_API std::ostream & operator<< (std::ostream &, const PcpLayerStackRefPtr &)
 
void Pcp_ComputeRelocationsForLayerStack (const SdfLayerRefPtrVector &layers, SdfRelocatesMap *relocatesSourceToTarget, SdfRelocatesMap *relocatesTargetToSource, SdfRelocatesMap *incrementalRelocatesSourceToTarget, SdfRelocatesMap *incrementalRelocatesTargetToSource, SdfPathVector *relocatesPrimPaths)
 
bool Pcp_NeedToRecomputeDueToAssetPathChange (const PcpLayerStackPtr &layerStack)
 
bool Pcp_NeedToRecomputeLayerStackTimeCodesPerSecond (const PcpLayerStackPtr &layerStack, const SdfLayerHandle &changedLayer)
 
PCP_API bool PcpIsTimeScalingForLayerTimeCodesPerSecondDisabled ()
 

Function Documentation

PCP_API std::ostream& operator<< ( std::ostream &  ,
const PcpLayerStackPtr &   
)
PCP_API std::ostream& operator<< ( std::ostream &  ,
const PcpLayerStackRefPtr &   
)
void Pcp_ComputeRelocationsForLayerStack ( const SdfLayerRefPtrVector layers,
SdfRelocatesMap relocatesSourceToTarget,
SdfRelocatesMap relocatesTargetToSource,
SdfRelocatesMap incrementalRelocatesSourceToTarget,
SdfRelocatesMap incrementalRelocatesTargetToSource,
SdfPathVector relocatesPrimPaths 
)

Compose the relocation arcs in the given stack of layers, putting the results into the given sourceToTarget and targetToSource maps.

bool Pcp_NeedToRecomputeDueToAssetPathChange ( const PcpLayerStackPtr &  layerStack)
bool Pcp_NeedToRecomputeLayerStackTimeCodesPerSecond ( const PcpLayerStackPtr &  layerStack,
const SdfLayerHandle &  changedLayer 
)
PCP_API bool PcpIsTimeScalingForLayerTimeCodesPerSecondDisabled ( )

Returns true when the environment variable has been set to disable the behavior where differing time codes per second metadata in layers sublayered or referenced by another layer are used to apply a layer offset scale to the map function.

PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_REF_PTRS ( SdfLayer  )
TF_DECLARE_WEAK_AND_REF_PTRS ( PcpLayerStack  )
TF_DECLARE_WEAK_AND_REF_PTRS ( Pcp_LayerStackRegistry  )