casacore
|
A base class for gridding. More...
#include <Gridder.h>
Public Member Functions | |
Gridder () | |
Gridder (const IPosition &shape, const Vector< Domain > &scale, const Vector< Domain > &offset) | |
virtual | ~Gridder () |
virtual Bool | grid (Array< Range > &, const Vector< Domain > &position, const Range &value)=0 |
virtual Bool | degrid (const Array< Range > &, const Vector< Domain > &position, Range &value)=0 |
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 | |
Int | nint (Double val) |
virtual void | fillCorrectionVectors () |
virtual Range | correctionFactor1D (Int loc, Int len)=0 |
Correction factor for 1 dimension. More... | |
Protected Attributes | |
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 base class for gridding.
casacore::Gridder< Domain, Range >::Gridder | ( | ) |
casacore::Gridder< Domain, Range >::Gridder | ( | const IPosition & | shape, |
const Vector< Domain > & | scale, | ||
const Vector< Domain > & | offset | ||
) |
|
virtual |
|
virtual |
|
protectedpure virtual |
Correction factor for 1 dimension.
This is virtual and must be assigned appropriately for derived classes
Implemented in casacore::ConvolveGridder< Domain, Range >, and casacore::NNGridder< Domain, Range >.
|
virtual |
Return a correction vector in x for loc y.
|
pure virtual |
Implemented in casacore::ConvolveGridder< Domain, Range >, and casacore::NNGridder< Domain, Range >.
|
protectedvirtual |
|
pure virtual |
Implemented in casacore::ConvolveGridder< Domain, Range >, and casacore::NNGridder< Domain, Range >.
Vector<Int>& casacore::Gridder< Domain, Range >::location | ( | Vector< Int > & | loc, |
const Vector< Domain > & | pos | ||
) |
|
inlineprotected |
Definition at line 83 of file Gridder.h.
References casacore::floor().
|
virtual |
|
virtual |
|
virtual |
Vector<Domain>& casacore::Gridder< Domain, Range >::position | ( | Vector< Domain > & | gpos, |
const Vector< Domain > & | pos | ||
) |
void casacore::Gridder< Domain, Range >::setOffset | ( | const Vector< Int > & | off | ) |
void casacore::Gridder< Domain, Range >::setOffset | ( | const IPosition & | off | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |