|
HDK
|
#include <HUSD_ApexScene.h>
Classes | |
| struct | GeoImportOptions |
| Options for how to convert USD prims to geometry for APEX rig inputs. More... | |
| struct | ShapeOutputInfo |
| struct | XformOutputInfo |
Public Member Functions | |
| HUSD_ApexScene () | |
| ~HUSD_ApexScene () | |
| bool | evaluateOutputs (HUSD_AutoWriteLock &write_lock, const UT_SortedSet< fpreal > &samples, const UT_StringRef &xform_description, bool use_xform_common_api) |
Static Public Member Functions | |
| static bool | loadScenes (const HUSD_AutoAnyLock &read_lock, const HUSD_FindPrims &find_prims, const GeoImportOptions &import_options, UT_Array< HUSD_ApexScene > &scenes) |
| static GU_DetailHandle | loadSceneGeometry (const HUSD_AutoAnyLock &read_lock, const HUSD_Path &scene_path, const GeoImportOptions &import_options) |
Stores an APEX scene loaded from USD (a HoudiniApexScene prim), along with information about the USD primitives bound to APEX scene outputs. This can be safely cached between LOP cooks to avoid rebuilding APEX scenes unless the input stage has changed.
Definition at line 45 of file HUSD_ApexScene.h.
| HUSD_ApexScene::HUSD_ApexScene | ( | ) |
| HUSD_ApexScene::~HUSD_ApexScene | ( | ) |
| bool HUSD_ApexScene::evaluateOutputs | ( | HUSD_AutoWriteLock & | write_lock, |
| const UT_SortedSet< fpreal > & | samples, | ||
| const UT_StringRef & | xform_description, | ||
| bool | use_xform_common_api | ||
| ) |
Evaluates the scene at the specified list of samples, and updates any prims bound to a scene output.
|
static |
Assemble the input geometry for an APEX scene from the specified HoudiniApexScene prim.
|
static |
Assembles APEX scenes from the specified list of HoudiniApexScene prims. This performs validation checks to ensure that e.g. a prim isn't driven by the output of more than one scene.