Loading...
Searching...
No Matches
UsdviewqUtils Class Reference

Performance enhancing utilities for usdview. More...

#include <utils.h>

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.
 
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.
 

Detailed Description

Performance enhancing utilities for usdview.

Definition at line 43 of file utils.h.

Member Function Documentation

◆ _GetAllPrimsOfType()

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.

◆ GetPrimInfo()

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: