OutPixOp(In, PixOp)
{
    for p = 1 to PixOp.nrPhases();
    {
        PixOp.init(p)
        foreach i in In
            PixOp.doIt(In(i));
        PixOp.done(p)
    }
}
The requirements on the PixOpT template parameter expressed as class definition are:
template<class ArithT>
class PixOpT
{
public:
    typedef HxTagPixOpOut   DirectionCategory;
    typedef HxTagTransInVar TransVarianceCategory;
    typedef HxTagNPhase     PhaseCategory;
                        PixOpT(HxTagList&);
    void                doIt(const ArithT& v);
    int                 nrPhases() const;
    void                init(int phase);
    void                done(int phase);
    static HxString     className();
};
 1.2.12 written by Dimitri van Heesch,
 © 1997-2001
1.2.12 written by Dimitri van Heesch,
 © 1997-2001