Lumiera
0.pre.03
»edit your freedom«
|
Test Quantiser allowing to use plain numbers.
1 Frame == 3 micro ticks
Definition at line 111 of file quantiser-basics-test.cpp.
Public Member Functions | |
TestQuant (int origin=0) | |
int | quant (int testPoint) |
Public Member Functions inherited from FixedFrameQuantiser | |
FixedFrameQuantiser (FrameRate const &frames_per_second, TimeValue referencePoint=TimeValue(0)) | |
Create a quantiser based on a fixed constant spaced grid, rooted at the reference point as origin of the scale. More... | |
FixedFrameQuantiser (Duration const &frame_duration, TimeValue referencePoint=TimeValue(0)) | |
TimeValue | gridLocal (TimeValue const &) const |
transform into the local time scale grid aligned. More... | |
FrameCnt | gridPoint (TimeValue const &) const |
grid quantisation (alignment). More... | |
TimeValue | timeOf (FrameCnt gridPoint) const |
calculate time value of a grid interval (frame) start point More... | |
TimeValue | timeOf (FSecs, int=0) const |
calculate time coordinates of a time spec relative to this quantised time scale More... | |
Public Member Functions inherited from Quantiser | |
TimeValue | materialise (TimeValue const &raw) const |
convenience shortcut: materialise a raw time value based on this grid or time axis, but returning a raw time value. More... | |
template<class FMT > | |
bool | supports () const |
Public Member Functions inherited from Grid | |
virtual | ~Grid () |
this is an Interface | |
Additional Inherited Members | |
Static Public Member Functions inherited from Quantiser | |
static PQuant | retrieve (Symbol gridID) |
Access an existing grid definition or quantiser, known by the given symbolic ID. More... | |
Protected Attributes inherited from Quantiser | |
format::Supported | supportedFormats_ |