Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxMfMNpo.h

00001 /*
00002  *  Copyright (c) 2001, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Jan-Mark Geusebroek     (mark@wins.uva.nl)
00007  *  Dennis Koelma (koelma@wins.uva.nl)
00008  *  Edo Poll (poll@wins.uva.nl)
00009  */
00010 
00011 #ifndef HxMfMNpo_h
00012 #define HxMfMNpo_h
00013 
00014 #include "HxString.h"
00015 
00016 class HxImageData;
00017 
00031 class HxMfMNpo {
00032 public:
00034                     HxMfMNpo(HxImageData** srcs, int srcCnt, HxString mnpoName);
00035 
00037                     ~HxMfMNpo();
00038 
00039 
00041     HxImageData**   results() const;
00042 
00044     HxImageData*    results(int n) const;
00045 
00047     int             resultCnt() const;
00048 
00050     HxImageData**   sources() const;
00051 
00053     int             sourceCnt() const;
00054 
00056     bool            preOpIsOk() const;
00057 
00058 private:
00059     HxImageData**   _src;
00060     HxImageData**   _tmp;
00061     HxImageData**   _result;
00062     int             _srcCnt;
00063     int             _resCnt;
00064     bool            _preOpIsOk;
00065 };
00066 
00067 inline bool
00068 HxMfMNpo::preOpIsOk() const
00069 {
00070     return _preOpIsOk;
00071 }
00072 
00073 inline HxImageData*
00074 HxMfMNpo::results(int n) const
00075 {
00076     return ((n>=0) && (n < _resCnt)) ? _result[n] : 0;
00077 }
00078 
00079 #endif

Generated on Tue Feb 3 14:18:39 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001