The interface for Image Motion Blur.
This interface is implemented in the Effect plug-in MotionBlur.dlv, which must be present to use it. This interface is does NOT support scripting, only direct calling. The sample code below shows how this is done:
ClassDesc2* mbcd = GET_MBLUR_CD; if (mbcd) { IMBOps* imb = GetIMBInterface(mbcd); imb->ApplyMotionBlur(bm, &imbcb, 1.2f); }
#include <imblur.h>
Public Member Functions |
|
virtual ULONG | ChannelsRequired (ULONG flags=0)=0 |
virtual int | ApplyMotionBlur (Bitmap *bm, CheckAbortCallback *progCallback=NULL, float duration=1.0f, ULONG flags=IMB_TRANSP, Bitmap *extraBM=NULL)=0 |
virtual ULONG ChannelsRequired | ( | ULONG | flags = 0 |
) | [pure virtual] |
virtual int ApplyMotionBlur | ( | Bitmap * | bm, |
CheckAbortCallback * | progCallback =
NULL , |
||
float | duration = 1.0f , |
||
ULONG | flags =
IMB_TRANSP , |
||
Bitmap * | extraBM =
NULL |
||
) | [pure virtual] |