#include "ofxImageEffect.h" #define kOfxImageEffectActionGetRegionOfDefinition "OfxImageEffectActionGetRegionOfDefinition"
handlehandle to the instance, cast to an
inArgshas the following properties...
outArgshas the following property which the plug-in may set...
kOfxImageEffectPropRegionOfDefinition, the calculated region of definition, initially set by the host to the default RoD (see below), in Canonical Coordinates.
The region of definition for an image effect is the rectangular section of the 2D image plane that it is capable of filling, given the state of its input clips and parameters. This action is used to calculate the RoD for a plugin instance at a given frame. For more details on regions of definition see Image Effect Architectures .
Note that hosts that have constant sized imagery need not call this action, only hosts that allow image sizes to vary need call this.
If the effect did not trap this, it means the host should use the default RoD instead, which depends on the context. This is...