casa
$Rev:20696$
|
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. | |
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. | |
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.
casa::Gridder< Domain, Range >::Gridder | ( | ) |
casa::Gridder< Domain, Range >::Gridder | ( | const IPosition & | shape, |
const Vector< Domain > & | scale, | ||
const Vector< Domain > & | offset | ||
) |
virtual casa::Gridder< Domain, Range >::~Gridder | ( | ) | [virtual] |
virtual Range casa::Gridder< Domain, Range >::correct | ( | const IPosition & | loc | ) | [virtual] |
virtual Range casa::Gridder< Domain, Range >::correctionFactor1D | ( | Int | loc, |
Int | len | ||
) | [protected, pure virtual] |
Correction factor for 1 dimension.
This is virtual and must be assigned appropriately for derived classes
Implemented in casa::ConvolveGridder< Domain, Range >, casa::ConvolveGridder< Double, Complex >, and casa::NNGridder< Domain, Range >.
virtual void casa::Gridder< Domain, Range >::correctX1D | ( | Vector< Range > & | factor, |
const Int | locy | ||
) | [virtual] |
Return a correction vector in x for loc y.
virtual Bool casa::Gridder< Domain, Range >::degrid | ( | const Array< Range > & | , |
const Vector< Domain > & | position, | ||
Range & | value | ||
) | [pure virtual] |
virtual void casa::Gridder< Domain, Range >::fillCorrectionVectors | ( | ) | [protected, virtual] |
virtual Bool casa::Gridder< Domain, Range >::grid | ( | Array< Range > & | , |
const Vector< Domain > & | position, | ||
const Range & | value | ||
) | [pure virtual] |
Vector<Int>& casa::Gridder< Domain, Range >::location | ( | Vector< Int > & | loc, |
const Vector< Domain > & | pos | ||
) |
Int casa::Gridder< Domain, Range >::nint | ( | Double | val | ) | [inline, protected] |
virtual Bool casa::Gridder< Domain, Range >::onGrid | ( | const Vector< Int > & | loc | ) | [virtual] |
virtual Bool casa::Gridder< Domain, Range >::onGrid | ( | const Vector< Int > & | loc, |
const Vector< Int > & | delta | ||
) | [virtual] |
virtual Bool casa::Gridder< Domain, Range >::onGrid | ( | const Vector< Domain > & | pos | ) | [virtual] |
Vector<Domain>& casa::Gridder< Domain, Range >::position | ( | Vector< Domain > & | gpos, |
const Vector< Domain > & | pos | ||
) |
void casa::Gridder< Domain, Range >::setOffset | ( | const Vector< Int > & | off | ) |
void casa::Gridder< Domain, Range >::setOffset | ( | const IPosition & | off | ) |
Vector<Int> casa::Gridder< Domain, Range >::centerVec [protected] |
Vector<Vector<Range> > casa::Gridder< Domain, Range >::correctionVectors [protected] |
Vector<Int> casa::Gridder< Domain, Range >::locVec [protected] |
Int casa::Gridder< Domain, Range >::ndim [protected] |
Vector<Domain> casa::Gridder< Domain, Range >::offset [protected] |
Vector<Int> casa::Gridder< Domain, Range >::offsetVec [protected] |
Vector<Domain> casa::Gridder< Domain, Range >::posVec [protected] |
Vector<Domain> casa::Gridder< Domain, Range >::scale [protected] |
IPosition casa::Gridder< Domain, Range >::shape [protected] |
Vector<Int> casa::Gridder< Domain, Range >::shapeVec [protected] |
Vector<Int> casa::Gridder< Domain, Range >::zeroShapeVec [protected] |