casacore
|
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) |
Public Member Functions inherited from casacore::Gridder< Domain, Range > | |
Gridder () | |
Gridder (const IPosition &shape, const Vector< Domain > &scale, const Vector< Domain > &offset) | |
virtual | ~Gridder () |
virtual Range | correct (const IPosition &loc) |
virtual void | correctX1D (Vector< Range > &factor, const Int locy) |
Return a correction vector in x for loc y. More... | |
Vector< Int > & | location (Vector< Int > &loc, const Vector< Domain > &pos) |
Vector< Domain > & | position (Vector< Domain > &gpos, const Vector< Domain > &pos) |
virtual Bool | onGrid (const Vector< Int > &loc) |
virtual Bool | onGrid (const Vector< Int > &loc, const Vector< Int > &delta) |
virtual Bool | onGrid (const Vector< Domain > &pos) |
void | setOffset (const Vector< Int > &off) |
void | setOffset (const IPosition &off) |
Protected Member Functions | |
virtual Range | correctionFactor1D (Int loc, Int len) |
Correction factor for 1 dimension. More... | |
Protected Member Functions inherited from casacore::Gridder< Domain, Range > | |
Int | nint (Double val) |
virtual void | fillCorrectionVectors () |
Protected Attributes | |
Vector< Int > | loc |
Protected Attributes inherited from casacore::Gridder< Domain, Range > | |
Int | ndim |
IPosition | shape |
Vector< Domain > | scale |
Vector< Domain > | offset |
Vector< Domain > | posVec |
Vector< Int > | locVec |
Vector< Int > | shapeVec |
Vector< Int > | zeroShapeVec |
Vector< Int > | offsetVec |
Vector< Int > | centerVec |
Vector< Vector< Range > > | correctionVectors |
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 | ||
) |
|
inlinevirtual |
Definition at line 48 of file NNGridder.h.
|
protectedvirtual |
Correction factor for 1 dimension.
This is virtual and must be assigned appropriately for derived classes
Implements casacore::Gridder< Domain, Range >.
|
virtual |
Implements casacore::Gridder< Domain, Range >.
|
virtual |
Implements casacore::Gridder< Domain, Range >.
|
protected |
Definition at line 61 of file NNGridder.h.