#include <GrArbFunc.h>
Pass this block a pointer to a function. The function should return type oType, and take a single argument of type "const iType &" For example, to make a bock which returns the angle of a gr_complex input, invoke: GrArbFunc<gr_complex,float>(&arg)
Public Member Functions | |
GrArbFunc (oType(*f)(const iType &)) | |
virtual const char * | name () |
virtual int | work (VrSampleRange output, void *o[], VrSampleRange inputs[], void *i[]) |
Protected Attributes | |
oType(* | func )(const iType &) |
|
|
|
|
|
|
|
|