InPixOp(Out, PixOp)
{
foreach o in Out
Out(o) = PixOp.doIt(o.x, o.y, o.z);
}
The requirements on the PixOpT template parameter expressed as class definition are:
template<class ArithT>
class PixOpT
{
public:
typedef HxTagPixOpIn DirectionCategory;
typedef HxTagTransVar TransVarianceCategory;
typedef HxTag1Phase PhaseCategory;
PixOpT(HxTagList&, int w, int h, int d);
ArithT doIt(int x, int y, int z);
static HxString className();
};
1.2.12 written by Dimitri van Heesch,
© 1997-2001