Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxSfMean.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 HxSfMean_h
00012 #define HxSfMean_h
00013 
00014 #include "HxSampleFunTem.h"
00015 
00016 template <class ArgType, class ResType>
00017 class HxSfMean : public HxSampleFunTem<ArgType,ResType>
00018 {
00019 public:
00020                         HxSfMean();
00021     virtual void        init();
00022     virtual void        next(ArgType pixV, ArgType maskV, HxPoint p);
00023     virtual ResType     result();
00024 private:
00025     ResType             _accum;
00026     HxScalarInt         _num;
00027 };
00028 
00029 #ifdef INC_TEMPLATE_SRC
00030 #include "HxSfMean.c"
00031 #endif
00032 
00033 #endif

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