Instantiations of the pattern are invoked via
Instantiation is done via the HxImgFtorRgb3d functor, with the following template parameters:
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):
1.2.12 written by Dimitri van Heesch,
© 1997-2001