Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxNeighbFunctorTem.h

00001 /*
00002  *  Copyright (c) 1998, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *
00006  *  Author(s):
00007  *  Dennis Koelma (koelma@wins.uva.nl)
00008  *  Edo Poll (poll@wins.uva.nl)
00009  */
00010 
00011 #ifndef HxNeighbFunctorTem_h
00012 #define HxNeighbFunctorTem_h
00013 
00014 #include "HxNeighbFunctorTable.h"
00015 #include "HxPoint.h"
00016 #include "HxValueList.h"
00017 
00019 template <class ArgType, class ResType>
00020 class HxNeighbFunctorTem
00021 {
00022 public:
00024                         HxNeighbFunctorTem(HxString name);
00025 
00026     virtual             ~HxNeighbFunctorTem();
00027 
00029     virtual void        init() = 0;
00030 
00032     virtual void        next(ArgType pixV, ArgType maskV, HxPoint p) = 0;
00033 
00035     virtual ResType     result() = 0;
00036 
00038     virtual int         hasPhase2();
00039 
00041     virtual void        init2();
00042 
00044     virtual void        next2(ArgType pixV, ArgType maskV, HxPoint p);
00045 
00047     virtual ResType     result2();
00048 private:
00049                         HxNeighbFunctorTem();
00050     HxString            _name;
00051 };
00052 
00053 #ifdef INC_TEMPLATE_SRC
00054 #include "HxNeighbFunctorTem.c"
00055 #endif
00056 
00057 #endif

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