Instantiations of the pattern are invoked via
template<class ValT, class ValDoubleT> class RgbT { public: RgbT(HxTagList& tags); int doIt(const ValT& pixV); int doItDouble(const ValDoubleT& pixV); static HxString className(); };
Depending on the display parameters set by the GUI the function doIt will be called with 1 parameter of type ImgSigT::ArithType or the doItDouble function will be called with 1 parameter of type ImgSigT::ArithTypeDouble.
Example(s):