w2img::PolarVIL Class Reference

Inheritance diagram for w2img::PolarVIL:

w2img::PolarGridAlgorithm< code::PolarGrid > w2img::VolumeAlgorithm< code::PolarGrid > w2img::VolumeAlgorithmInterface List of all members.

Detailed Description

An algorithm base class to efficiently process normalized volumes of radial sets.

Author:
Claire Thomas
Version:
Id
w2img_PolarVIL.h,v 1.17 2009/06/02 20:18:01 lakshman Exp


Public Member Functions

 PolarVIL (const code::Angle &angular_resolution, const code::Length &gate_width, const code::Length &total_range)
 specify the dimensions and resolution of the output polar grid.
virtual ~PolarVIL ()
void setVILFlag (bool)
 turn on or off VIL processing.
void setMaxFlag (bool)
 turn on or off Composite processing.
virtual std::vector< code::SmartPtr<
code::DataType > > 
process (const std::vector< code::PolarGrid > &elevations, int index_of_latest)
 does the VIL/Composite tasks.
code::SmartPtr< code::DataType > computeVIL (const std::vector< code::PolarGrid > &elevations, int latest_tilt)
 computes and returns VIL.
code::SmartPtr< code::DataType > computeMax (const std::vector< code::PolarGrid > &elevations, int latest_tilt)
 computes and returns the vertical maximum.
virtual code::PolarGrid preprocess (const code::RadialSet &rs)
 maps the given radial set onto the normalized grid.
virtual void setVirtualVolumeFlag (bool flag)
 By default, rapid update should be on.
virtual bool atLastTilt () const
void setElevationTimeCorrection (bool flag)
void setTimeOfEarliest (bool flag)
void setRoundOffPrecision (float p)
float shouldUseTimeOfEarliest () const
void roundOff (code::PolarGrid &p)
std::vector< code::SmartPtr<
code::DataType > > 
processRecord (const code::Index::Record &inputRecord)
 process the input record, and return data corresponding to input.
std::vector< code::SmartPtr<
code::DataType > > 
processElevation (const code::PolarGrid &inputData)
 process the input data, and return data corresponding to input.
const code::Angle & getCurrentElevation () const
 Returns the most current elevation scan seen.

Static Public Member Functions

static void computeMidbeamSines (const std::vector< code::PolarGrid > &elevations, std::vector< float > &midbeam_sines)
static double heightAboveGround (double rng, double midbeam_sine_angle)

Protected Attributes

code::Angle myAngularResolution
code::Length myRadialResolution
int numAngles
int numGates


Constructor & Destructor Documentation

w2img::PolarVIL::PolarVIL ( const code::Angle &  angular_resolution,
const code::Length &  gate_width,
const code::Length &  total_range 
)

specify the dimensions and resolution of the output polar grid.

virtual w2img::PolarVIL::~PolarVIL (  )  [virtual]


Member Function Documentation

virtual bool w2img::VolumeAlgorithm< code::PolarGrid >::atLastTilt (  )  const [virtual, inherited]

Implements w2img::VolumeAlgorithmInterface.

code::SmartPtr< code::DataType > w2img::PolarVIL::computeMax ( const std::vector< code::PolarGrid > &  elevations,
int  latest_tilt 
)

computes and returns the vertical maximum.

static void w2img::PolarVIL::computeMidbeamSines ( const std::vector< code::PolarGrid > &  elevations,
std::vector< float > &  midbeam_sines 
) [static]

code::SmartPtr< code::DataType > w2img::PolarVIL::computeVIL ( const std::vector< code::PolarGrid > &  elevations,
int  latest_tilt 
)

computes and returns VIL.

const code::Angle& w2img::VolumeAlgorithm< code::PolarGrid >::getCurrentElevation (  )  const [inline, virtual, inherited]

Returns the most current elevation scan seen.

If for some reason the data are not available, may return the zero angle.

Implements w2img::VolumeAlgorithmInterface.

static double w2img::PolarVIL::heightAboveGround ( double  rng,
double  midbeam_sine_angle 
) [static]

virtual code::PolarGrid w2img::PolarGridAlgorithm< code::PolarGrid >::preprocess ( const code::RadialSet &  rs  )  [virtual, inherited]

maps the given radial set onto the normalized grid.

Reimplemented from w2img::VolumeAlgorithm< code::PolarGrid >.

Reimplemented in w2img::CleanRef.

virtual std::vector< code::SmartPtr< code::DataType > > w2img::PolarVIL::process ( const std::vector< code::PolarGrid > &  elevations,
int  index_of_latest 
) [virtual]

does the VIL/Composite tasks.

Implements w2img::VolumeAlgorithm< code::PolarGrid >.

std::vector< code::SmartPtr< code::DataType > > w2img::VolumeAlgorithm< code::PolarGrid >::processElevation ( const code::PolarGrid &  inputData  )  [inherited]

process the input data, and return data corresponding to input.

std::vector< code::SmartPtr< code::DataType > > w2img::VolumeAlgorithm< code::PolarGrid >::processRecord ( const code::Index::Record &  inputRecord  )  [virtual, inherited]

process the input record, and return data corresponding to input.

Implements w2img::VolumeAlgorithmInterface.

void w2img::VolumeAlgorithm< code::PolarGrid >::roundOff ( code::PolarGrid &  p  )  [inherited]

void w2img::VolumeAlgorithm< code::PolarGrid >::setElevationTimeCorrection ( bool  flag  )  [inline, inherited]

void w2img::PolarVIL::setMaxFlag ( bool   ) 

turn on or off Composite processing.

True by default.

void w2img::VolumeAlgorithm< code::PolarGrid >::setRoundOffPrecision ( float  p  )  [inline, inherited]

void w2img::VolumeAlgorithm< code::PolarGrid >::setTimeOfEarliest ( bool  flag  )  [inline, inherited]

void w2img::PolarVIL::setVILFlag ( bool   ) 

turn on or off VIL processing.

True by default.

virtual void w2img::VolumeAlgorithm< code::PolarGrid >::setVirtualVolumeFlag ( bool  flag  )  [inline, virtual, inherited]

By default, rapid update should be on.

Implements w2img::VolumeAlgorithmInterface.

Reimplemented in w2img::CleanRef.

float w2img::VolumeAlgorithm< code::PolarGrid >::shouldUseTimeOfEarliest (  )  const [inline, inherited]


Member Data Documentation

code::Angle w2img::PolarGridAlgorithm< code::PolarGrid >::myAngularResolution [protected, inherited]

code::Length w2img::PolarGridAlgorithm< code::PolarGrid >::myRadialResolution [protected, inherited]

int w2img::PolarGridAlgorithm< code::PolarGrid >::numAngles [protected, inherited]

int w2img::PolarGridAlgorithm< code::PolarGrid >::numGates [protected, inherited]


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