#include <TimeSamplingType.h>
The TimeSamplingType class controls how properties in Alembic relate time values to their sample indices.
The default behavior is where there is a time value associated with sample zero, and a uniform time amount between each subsequent sample. This is called "Uniform" time sampling, and would correspond to sampling every frame at 1/24 per second, or similar.
The second behavior is where there is a period of time over which a fixed number of samples are distributed unevenly - imagine a render scene sampled across a shutter period at shutter-begin-open, shutter-full-open, shutter-begin-close, shutter-full-close. This is (perhaps confusingly) called "Cyclic" time sampling.
The final behavior is where the time samples are totally uneven. We make a restriction that they must be strictly increasing, as the indices are increasing. This is so we can bisection search to find the lower or upper bounds when searching for floor, ceiling, or nearest samples by comparing time. This is called "Acyclic" time sampling.
Definition at line 68 of file TimeSamplingType.h.
ACYCLIC This enum exists solely as a way of distinguishing between the argument-less static time sampling, and the argument-less acyclic time sampling.
Definition at line 123 of file TimeSamplingType.h.
Uniform default.
Definition at line 77 of file TimeSamplingType.h.
UNIFORM ...
Definition at line 83 of file TimeSamplingType.h.
CYCLIC ...
Definition at line 95 of file TimeSamplingType.h.
Definition at line 124 of file TimeSamplingType.h.
Definition at line 148 of file TimeSamplingType.h.
Definition at line 150 of file TimeSamplingType.h.
Definition at line 145 of file TimeSamplingType.h.
Definition at line 140 of file TimeSamplingType.h.
Asks if the sampling is: Uniform (1 sample per cycle) Cyclic (N>1 samples per cycle) Acyclic (INF samples per cycle - acyclic!)
Definition at line 139 of file TimeSamplingType.h.
Using Default Copy Constructor Using Default Assignment Operator