34 #ifndef AIMS_RESAMPLING_MASK_D_H 
   35 #define AIMS_RESAMPLING_MASK_D_H 
   44                                    const T & val, 
bool insideval )
 
   49     std::vector<float> vs;
 
   51     while( vs.size() < 4 )
 
   56     for( ib=src.begin(); ib!=eb; ++ib )
 
   60       if( t < m->getSizeT() )
 
   67           for( i=bk.begin(), e=bk.end(); i!=e; ++i )
 
   70             if( m->at( pos[0], pos[1], pos[2], t ) == val )
 
   71               bkout[ i->first ] = 
Void();
 
   76           for( i=bk.begin(), e=bk.end(); i!=e; ++i )
 
   79             if( m->at( pos[0], pos[1], pos[2], t ) != val )
 
   80               bkout[ i->first ] = 
Void();
 
void setSizeXYZT(float sizex, float sizey, float sizez, float sizet)
sets X,Y,Z and T resolutions of the data
const aims::PythonHeader & header() const
void setHeader(const aims::PythonHeader &hdr)
virtual bool getProperty(const std::string &, Object &) const
The class for EcatSino data write operation.
BucketMap< Void > * maskWithVolume(const BucketMap< Void > &src, const carto::rc_ptr< carto::Volume< T > > m, const T &val=0, bool insideval=false)
mask src object with m, avoiding value val in m if insideval is true, keeping only val otherwise