casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
casacore::NNGridder< Domain, Range > Class Template Reference

A non-negative gridding class. More...

#include <NNGridder.h>

Inheritance diagram for casacore::NNGridder< Domain, Range >:
casacore::Gridder< Domain, Range >

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< Intloc
 
- Protected Attributes inherited from casacore::Gridder< Domain, Range >
Int ndim
 
IPosition shape
 
Vector< Domain > scale
 
Vector< Domain > offset
 
Vector< Domain > posVec
 
Vector< IntlocVec
 
Vector< IntshapeVec
 
Vector< IntzeroShapeVec
 
Vector< IntoffsetVec
 
Vector< IntcenterVec
 
Vector< Vector< Range > > correctionVectors
 

Detailed Description

template<class Domain, class Range>
class casacore::NNGridder< Domain, Range >

A non-negative gridding class.

Definition at line 42 of file NNGridder.h.

Constructor & Destructor Documentation

template<class Domain , class Range >
casacore::NNGridder< Domain, Range >::NNGridder ( const IPosition shape,
const Vector< Domain > &  scale,
const Vector< Domain > &  offset 
)
template<class Domain , class Range >
virtual casacore::NNGridder< Domain, Range >::~NNGridder ( )
inlinevirtual

Definition at line 48 of file NNGridder.h.

Member Function Documentation

template<class Domain , class Range >
virtual Range casacore::NNGridder< Domain, Range >::correctionFactor1D ( Int  loc,
Int  len 
)
protectedvirtual

Correction factor for 1 dimension.

This is virtual and must be assigned appropriately for derived classes

Implements casacore::Gridder< Domain, Range >.

template<class Domain , class Range >
virtual Bool casacore::NNGridder< Domain, Range >::degrid ( const Array< Range > &  gridded,
const Vector< Domain > &  position,
Range &  value 
)
virtual
template<class Domain , class Range >
virtual Bool casacore::NNGridder< Domain, Range >::grid ( Array< Range > &  gridded,
const Vector< Domain > &  position,
const Range &  value 
)
virtual

Member Data Documentation

template<class Domain , class Range >
Vector<Int> casacore::NNGridder< Domain, Range >::loc
protected

Definition at line 61 of file NNGridder.h.


The documentation for this class was generated from the following file: