usdrt::UsdPrimRange
Defined in usdrt/scenegraph/usd/usd/impl/usd_decl.h
Functions
usdrt::UsdPrimRange::UsdPrimRange: Create a PrimRange that traverses the subtree rooted at
start
in depth-first order.usdrt::UsdPrimRange::begin: Return an iterator to the start of this range.
usdrt::UsdPrimRange::empty: Check if this range is empty.
usdrt::UsdPrimRange::end: Return a past-the-end iterator to the end of this range.
Structs
usdrt::UsdPrimRange::iterator: A forward iterator into a UsdPrimRange .
Variables
usdrt::UsdPrimRange::m_startPrim: Start prim for iteration.
-
class UsdPrimRange
a forward-iterable range that traverses a subtree of prims rooted at a given prim in depth-first order.
TODO Usage example TODO iterator needs more doc details…
Note
post-visit iterators not yet supported.
Public Functions
-
inline UsdPrimRange()
-
UsdPrimRange(const UsdPrim &start)
Create a PrimRange that traverses the subtree rooted at
start
in depth-first order.- Parameters
start – UsdPrim to use as root of traversal.
-
bool empty() const
Check if this range is empty.
- Returns
Return true if this range contains no prims, and false otherwise.
-
explicit operator bool() const
- Returns
Return true if this range contains one or more prims, false otherwise.
-
inline UsdPrimRange()