Name

OfxParameterSuiteV1::paramGetIntegral — Gets the integral of a parameter over a specific time range,

Synopsis

#include "ofxParam.h" 
OfxStatus(*paramGetIntegral)(OfxParamHandle paramHandle,
 OfxTimetime1,
 OfxTimetime2,
 ...);
 

Arguments

  • paramHandle - parameter handle to fetch integral from
  • time1 - where to start evaluating the integral
  • time2 - where to stop evaluating the integral
  • ... - one or more pointers to variables of the relevant type to hold the parameter's integral

Description

This gets the integral of the parameter over the specified time range.

The varargs needs to be pointer to C variables of the relevant type for this parameter. See OfxParameterSuiteV1::paramGetValue for notes on the varags list.

Only double and colour params can be integrated.

Returns