LatticeHistProgress.h

Classes

LatticeHistProgress -- Provides a progress meter for the LatticeHistograms class (full description)

class LatticeHistProgress : public LatticeProgress

Interface

Public Members
LatticeHistProgress() : itsMeter(0)
virtual ~LatticeHistProgress()
virtual void initDerived()
virtual void nstepsDone (uInt nsteps)
virtual void done()

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Display a progress meter for the class LatticeHistograms

Synopsis

Progress meters can be displayed by the LatticeApply class which is used by LatticeHistograms in order to optimally iterate through the image. To do this, one must derive a class from LatticeProgress. LatticeApply calls methods declared in LatticeProgress and implemented in the derived class.

Motivation

I like progress meters !

To Do

Member Description

LatticeHistProgress() : itsMeter(0)

Constructor makes a null object

virtual ~LatticeHistProgress()

Destructor deletes the ProgressMeter pointer

virtual void initDerived()

Initialize this object. Here we create the ProgressMeter This function is called by the init in LatticeProgress

virtual void nstepsDone (uInt nsteps)

Tell the number of steps done so far.

virtual void done()

The process has ended so clean things up.