HDK
|
#include <USD_TraverseSimple.h>
Public Member Functions | |
GusdUSD_TraverseSimpleT (const Visitor &visitor) | |
~GusdUSD_TraverseSimpleT () override | |
bool | FindPrims (const UsdPrim &root, UsdTimeCode time, GusdPurposeSet purposes, UT_Array< UsdPrim > &prims, bool skipRoot=true, const Opts *opts=NULL) const override |
bool | FindPrims (const UT_Array< UsdPrim > &roots, const GusdDefaultArray< UsdTimeCode > ×, const GusdDefaultArray< GusdPurposeSet > &purposes, UT_Array< PrimIndexPair > &prims, bool skipRoot=true, const Opts *opts=NULL) const override |
Public Member Functions inherited from GusdUSD_Traverse | |
virtual | ~GusdUSD_Traverse () |
virtual Opts * | CreateOpts () const |
bool | FindPrims (const UT_Array< UsdPrim > &roots, const GusdDefaultArray< UsdTimeCode > ×, const GusdDefaultArray< GusdPurposeSet > &purposes, UT_Array< UsdPrim > &prims, bool skipRoot=true, const Opts *opts=nullptr) const |
Additional Inherited Members | |
Public Types inherited from GusdUSD_Traverse | |
typedef std::pair< UsdPrim, exint > | PrimIndexPair |
Templated class for declaring simple, threaded traversals. See GusdUSD_ThreadedTraverse::VisiblePrimVisitorT for an example of the structure expected for visitors.
Definition at line 40 of file USD_TraverseSimple.h.
|
inline |
Definition at line 43 of file USD_TraverseSimple.h.
|
inlineoverride |
Definition at line 46 of file USD_TraverseSimple.h.
|
overridevirtual |
Find prims beneath the given root.
Implements GusdUSD_Traverse.
Definition at line 69 of file USD_TraverseSimple.h.
|
overridevirtual |
Find prims beneath the given root prims. Note that the input array of prims may contain invalid prims. The returned prims array holds the new prims, and the index of their root prim from the roots array. The array is sorted by the index and the prim path.
Implements GusdUSD_Traverse.
Definition at line 83 of file USD_TraverseSimple.h.