casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
casa::NNGridder< Domain, Range > Class Template Reference

A non-negative gridding class. More...

#include <NNGridder.h>

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

List of all members.

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)

Protected Member Functions

virtual Range correctionFactor1D (Int loc, Int len)
 Correction factor for 1 dimension.

Protected Attributes

Vector< Intloc

Detailed Description

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

A non-negative gridding class.

Definition at line 41 of file NNGridder.h.


Constructor & Destructor Documentation

template<class Domain , class Range >
casa::NNGridder< Domain, Range >::NNGridder ( const IPosition shape,
const Vector< Domain > &  scale,
const Vector< Domain > &  offset 
)
template<class Domain , class Range >
virtual casa::NNGridder< Domain, Range >::~NNGridder ( ) [inline, virtual]

Definition at line 47 of file NNGridder.h.


Member Function Documentation

template<class Domain , class Range >
virtual Range casa::NNGridder< Domain, Range >::correctionFactor1D ( Int  loc,
Int  len 
) [protected, virtual]

Correction factor for 1 dimension.

This is virtual and must be assigned appropriately for derived classes

Implements casa::Gridder< Domain, Range >.

template<class Domain , class Range >
virtual Bool casa::NNGridder< Domain, Range >::degrid ( const Array< Range > &  gridded,
const Vector< Domain > &  position,
Range &  value 
) [virtual]
template<class Domain , class Range >
virtual Bool casa::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> casa::NNGridder< Domain, Range >::loc [protected]

Definition at line 60 of file NNGridder.h.


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