Wavelet and Image class library  1.3.2
ImageVector.hh
Go to the documentation of this file.
00001 /*
00002  * class ImageVector
00003  *
00004  * $Date$
00005  * $Revision$
00006  *
00007  */
00008 
00009 #ifndef IMAGE_VECTOR_HH__
00010 #define IMAGE_VECTOR_HH__
00011 
00012 #include "WImage/miscdefs.h"
00013 #include "WImage/ImageArray.hh"
00014 #include "WImage/ReferenceVector.hh"
00015 
00025 /*abstract*/
00026 class
00027 ImageVector : public ReferenceVector
00028 {
00029 public:
00030 
00032   ImageVector (ImageArray<coeff> *ar);
00034   virtual ~ImageVector (void) {};
00035 
00038   virtual bool sanity (void);
00041   virtual void update (void);
00042 
00049   virtual void go (int root);
00050 
00057   virtual coeff at (int pos) = 0;
00058 
00065   virtual void to (int pos, coeff val) = 0;
00070   virtual int size (void) = 0;
00075   coeff weight(void);
00076 
00077 protected:
00080   ImageArray<coeff> *m_array;
00082   int m_xsize;
00084   int m_ysize;
00085 
00086 }; /* class ImageVector */
00087 
00090 #endif /* IMAGE_VECTOR_HH__ */
00091 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines