24 #ifndef PXR_USD_SDF_LAYER_TREE_H 25 #define PXR_USD_SDF_LAYER_TREE_H 30 #include "pxr/usd/sdf/api.h" 34 #include <boost/noncopyable.hpp> 37 PXR_NAMESPACE_OPEN_SCOPE
42 typedef std::vector<SdfLayerTreeHandle> SdfLayerTreeHandleVector;
63 New(
const SdfLayerHandle & layer,
64 const SdfLayerTreeHandleVector & childTrees,
68 SDF_API
const SdfLayerHandle &
GetLayer()
const;
74 SDF_API
const SdfLayerTreeHandleVector &
GetChildTrees()
const;
78 const SdfLayerTreeHandleVector & childTrees,
82 const SdfLayerHandle _layer;
84 const SdfLayerTreeHandleVector _childTrees;
87 PXR_NAMESPACE_CLOSE_SCOPE
89 #endif // PXR_USD_SDF_LAYER_TREE_H SDF_API const SdfLayerHandle & GetLayer() const
Returns the layer handle this tree node represents.
A scene description container that can combine with other such containers to form simple component as...
SDF_API const SdfLayerTreeHandleVector & GetChildTrees() const
Returns the children of this tree node.
Enable a concrete base class for use with TfRefPtr.
static SDF_API SdfLayerTreeHandle New(const SdfLayerHandle &layer, const SdfLayerTreeHandleVector &childTrees, const SdfLayerOffset &cumulativeOffset=SdfLayerOffset())
Create a new layer tree node.
SDF_API const SdfLayerOffset & GetOffset() const
Returns the cumulative layer offset from the root of the tree.
A SdfLayerTree is an immutable tree structure representing a sublayer stack and its recursive structu...
Represents a time offset and scale between layers.
Enable a concrete base class for use with TfWeakPtr.