Gridder.h

Classes

Gridder -- A base class for gridding (full description)

class Gridder

Interface

Public Members
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)
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 Members
Int nint(Double val)
virtual void fillCorrectionVectors()
virtual Range correctionFactor1D(Int loc, Int len) = 0

Description

Member Description

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)

Int nint(Double val)

virtual void fillCorrectionVectors()

virtual Range correctionFactor1D(Int loc, Int len) = 0

Correction factor for 1 dimension. This is virtual and must be assigned appropriately for derived classes