Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

Translation variant, 1 phase pixel import operation.

Pseudo code of the operation:

InPixOp(Out, PixOp)
{
    foreach o in Out
        Out(o) = PixOp(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 HxPixOpInTag            DirectionCategory;
    typedef HxPixOpTransVarTag      TransVarianceCategory;
    typedef HxPixOp1PhaseTag        PhaseCategory;

                        PixOpT(HxTagList&, int w, int h, int d);

    ArithT              doIt(int x, int y, int z);

    static HxString     className();
};


Return to patterns.


Generated on Tue Jan 8 13:59:38 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001