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

#include <utils.h>

Classes

struct  PrimInfo
 

Static Public Member Functions

static USDVIEWQ_API
std::vector< UsdPrim
_GetAllPrimsOfType (UsdStagePtr const &stage, TfType const &schemaType)
 
static USDVIEWQ_API
UsdviewqUtils::PrimInfo 
GetPrimInfo (const UsdPrim &prim, const UsdTimeCode time)
 

Detailed Description

Performance enhancing utilities for usdview.

Definition at line 43 of file utils.h.

Member Function Documentation

static USDVIEWQ_API std::vector<UsdPrim> UsdviewqUtils::_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 UsdviewqUtils::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: