HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GusdUSD_CustomTraverse Class Reference

#include <USD_CustomTraverse.h>

+ Inheritance diagram for GusdUSD_CustomTraverse:

Classes

struct  Opts
 

Public Types

enum  TriState { TRUE_STATE, FALSE_STATE, ANY_STATE }
 
- Public Types inherited from GusdUSD_Traverse
typedef std::pair< UsdPrim, exintPrimIndexPair
 

Public Member Functions

OptsCreateOpts () const override
 
bool FindPrims (const UsdPrim &root, UsdTimeCode time, GusdPurposeSet purposes, UT_Array< UsdPrim > &prims, bool skipRoot=true, const GusdUSD_Traverse::Opts *opts=nullptr) const override
 
bool FindPrims (const UT_Array< UsdPrim > &roots, const GusdDefaultArray< UsdTimeCode > &times, const GusdDefaultArray< GusdPurposeSet > &purposes, UT_Array< PrimIndexPair > &prims, bool skipRoot=true, const GusdUSD_Traverse::Opts *opts=nullptr) const override
 
- Public Member Functions inherited from GusdUSD_Traverse
virtual ~GusdUSD_Traverse ()
 
bool FindPrims (const UT_Array< UsdPrim > &roots, const GusdDefaultArray< UsdTimeCode > &times, const GusdDefaultArray< GusdPurposeSet > &purposes, UT_Array< UsdPrim > &prims, bool skipRoot=true, const Opts *opts=nullptr) const
 

Static Public Member Functions

static void Initialize ()
 

Detailed Description

A traversal implementation offering users full configuration over many aspects of traversal.

Definition at line 37 of file USD_CustomTraverse.h.

Member Enumeration Documentation

Enumerator
TRUE_STATE 
FALSE_STATE 
ANY_STATE 

Definition at line 40 of file USD_CustomTraverse.h.

Member Function Documentation

Opts* GusdUSD_CustomTraverse::CreateOpts ( ) const
inlineoverridevirtual

Reimplemented from GusdUSD_Traverse.

Definition at line 92 of file USD_CustomTraverse.h.

bool GusdUSD_CustomTraverse::FindPrims ( const UsdPrim root,
UsdTimeCode  time,
GusdPurposeSet  purposes,
UT_Array< UsdPrim > &  prims,
bool  skipRoot = true,
const GusdUSD_Traverse::Opts opts = nullptr 
) const
overridevirtual

Find prims beneath the given root.

Implements GusdUSD_Traverse.

bool GusdUSD_CustomTraverse::FindPrims ( const UT_Array< UsdPrim > &  roots,
const GusdDefaultArray< UsdTimeCode > &  times,
const GusdDefaultArray< GusdPurposeSet > &  purposes,
UT_Array< PrimIndexPair > &  prims,
bool  skipRoot = true,
const GusdUSD_Traverse::Opts opts = nullptr 
) const
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.

static void GusdUSD_CustomTraverse::Initialize ( )
static

The documentation for this class was generated from the following file: