vol::BlendedVolumeCreator::Blend3D Class Reference

Inheritance diagram for vol::BlendedVolumeCreator::Blend3D:

vol::BlendedVolumeCreator::BlendMap List of all members.

Detailed Description

An optimized class that manages a 3D grid of Observations.

Author:
Lakshman
Version:
Id
vol_BlendedVolumeCreator.h,v 1.45 2012/03/05 18:02:10 Valliappa.Lakshmanan Exp


Public Member Functions

 Blend3D (size_t xdim, size_t ydim, size_t zdim)
size_t xsize () const
size_t ysize () const
size_t zsize () const
size_t getPointNo (size_t x, size_t y, size_t z) const
void addValue (size_t x, size_t y, size_t z, const Observation *val)
const BlendgetPoints (size_t x, size_t y, size_t z) const
template<class ValidPointFunctor>
void foreachValidPoint (ValidPointFunctor &validpt) const
 The parameter to this function should be an object that has a method with this signature: some-ret-value doAction( const Blend& ) That method will be invoked on every grid point that has a valid set of observations.


Constructor & Destructor Documentation

vol::BlendedVolumeCreator::Blend3D::Blend3D ( size_t  xdim,
size_t  ydim,
size_t  zdim 
) [inline]


Member Function Documentation

void vol::BlendedVolumeCreator::Blend3D::addValue ( size_t  x,
size_t  y,
size_t  z,
const Observation val 
) [inline]

template<class ValidPointFunctor>
void vol::BlendedVolumeCreator::Blend3D::foreachValidPoint ( ValidPointFunctor &  validpt  )  const [inline]

The parameter to this function should be an object that has a method with this signature: some-ret-value doAction( const Blend& ) That method will be invoked on every grid point that has a valid set of observations.

However, the order of these calls is not guaranteed i.e. the grid points may be accessed in any order.

size_t vol::BlendedVolumeCreator::Blend3D::getPointNo ( size_t  x,
size_t  y,
size_t  z 
) const [inline]

const Blend& vol::BlendedVolumeCreator::Blend3D::getPoints ( size_t  x,
size_t  y,
size_t  z 
) const [inline]

size_t vol::BlendedVolumeCreator::Blend3D::xsize (  )  const [inline]

size_t vol::BlendedVolumeCreator::Blend3D::ysize (  )  const [inline]

size_t vol::BlendedVolumeCreator::Blend3D::zsize (  )  const [inline]


Generated on Fri May 4 13:40:23 2012 for WDSS-IIw2algs by  doxygen 1.4.7