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

Performance enhancing utilities for usdview. More...

Static Public Member Functions

static USDVIEWQ_API
std::vector< UsdPrim
_GetAllPrimsOfType (UsdStagePtr const &stage, TfType const &schemaType)
 For the given stage and schemaType, return all active, defined prims that either match the schemaType exactly or are a descendant type. More...
 
static USDVIEWQ_API
UsdviewqUtils::PrimInfo 
GetPrimInfo (const UsdPrim &prim, const UsdTimeCode time)
 Fetch prim-related data in batch to to speed up Qt treeview item population. More...
 

Detailed Description

Performance enhancing utilities for usdview.

Definition at line 43 of file utils.h.

Member Function Documentation

static USDVIEWQ_API std::vector<UsdPrim> _GetAllPrimsOfType ( UsdStagePtr const &  stage,
TfType const &  schemaType 
)
static

For the given stage and schemaType, return all active, defined prims that either match the schemaType exactly or are a descendant type.

static USDVIEWQ_API UsdviewqUtils::PrimInfo GetPrimInfo ( const UsdPrim prim,
const UsdTimeCode  time 
)
static

Fetch prim-related data in batch to to speed up Qt treeview item population.

Takes a time argument so that we can evaluate the prim's visibiity if it is imageable.


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