A non-negative gridding class. More...
#include <NNGridder.h>
Public Member Functions | |
NNGridder (const IPosition &shape, const Vector< Domain > &scale, const Vector< Domain > &offset) | |
virtual | ~NNGridder () |
virtual Bool | grid (Array< Range > &gridded, const Vector< Domain > &position, const Range &value) |
virtual Bool | degrid (const Array< Range > &gridded, const Vector< Domain > &position, Range &value) |
Protected Member Functions | |
virtual Range | correctionFactor1D (Int loc, Int len) |
Correction factor for 1 dimension. | |
Protected Attributes | |
Vector< Int > | loc |
A non-negative gridding class.
Definition at line 42 of file NNGridder.h.
casacore::NNGridder< Domain, Range >::NNGridder | ( | const IPosition & | shape, | |
const Vector< Domain > & | scale, | |||
const Vector< Domain > & | offset | |||
) |
virtual casacore::NNGridder< Domain, Range >::~NNGridder | ( | ) | [inline, virtual] |
Definition at line 48 of file NNGridder.h.
virtual Range casacore::NNGridder< Domain, Range >::correctionFactor1D | ( | Int | loc, | |
Int | len | |||
) | [protected, virtual] |
Correction factor for 1 dimension.
This is virtual and must be assigned appropriately for derived classes
Implements casacore::Gridder< Domain, Range >.
virtual Bool casacore::NNGridder< Domain, Range >::degrid | ( | const Array< Range > & | gridded, | |
const Vector< Domain > & | position, | |||
Range & | value | |||
) | [virtual] |
Implements casacore::Gridder< Domain, Range >.
virtual Bool casacore::NNGridder< Domain, Range >::grid | ( | Array< Range > & | gridded, | |
const Vector< Domain > & | position, | |||
const Range & | value | |||
) | [virtual] |
Implements casacore::Gridder< Domain, Range >.
Vector<Int> casacore::NNGridder< Domain, Range >::loc [protected] |
Definition at line 61 of file NNGridder.h.