HDK
|
#include <PDG_FrameUtils.h>
Public Types | |
using | BatchSplitArray = UT_Array< PDG_WorkItemArray > |
Static Public Member Functions | |
static void | batchWorkItemsByFrame (BatchSplitArray &batches, PDG_WorkItemArray &missing_items, const PDG_WorkItemArray &work_items, const PDG_NodeArray *input_nodes, bool save_missing=true) |
static bool | detectFrameRange (fpreal &start, fpreal &end, fpreal &step, const PDG_WorkItemArray &work_items, exint step_precision=100) |
static bool | detectFrameRange (fpreal &start, fpreal &end, fpreal &step, const UT_FprealArray &frames, exint step_precision=100) |
Utiliy class for working with work items over a frame range
Definition at line 23 of file PDG_FrameUtils.h.
Array of arrays of workitems, used when splitting a list of work items into batches by frame.
Definition at line 28 of file PDG_FrameUtils.h.
|
static |
Batches work items by frame. Iterates over a list of work items and attempts to extract N contiguous lists that span an increasing frame range.
|
static |
Detects the start, end, and step frame range values from a list of work items. Ignores work items that are missing a frame range.
|
static |
Detects the start, end, and step frame range values from a list of frame values.