Main Page | User's guide | Class Hierarchy | Class List | File List | Class Members

Multivac::CInitializer< T > Class Template Reference

Base class for initializers. More...

#include <baseclass.hxx>

Inheritance diagram for Multivac::CInitializer< T >:

Multivac::CFastMarchingNeverInit< T > Multivac::CNarrowBandExtension< T > Multivac::CNarrowBandNeverInit< T > List of all members.

Public Member Functions

 CInitializer () throw ()
 Default constructor.

virtual ~CInitializer () throw ()
 Destructor.

virtual bool IsNarrowBand () const=0
virtual bool IsFastMarching () const=0
virtual void FirstInitMesh (CMesh< T > &Mesh) const=0
virtual void FirstInitInitialCurve (CMesh< T > &Mesh, CInitialCurve< T > &InitialCurve) const=0
virtual void FirstInitPhiAndF (CMesh< T > &Mesh, CInitialCurve< T > &InitialCurve, CLevelSet< T > &Phi, CSpeedFunction< T > &F, CUpdater< T > &Updater)=0
virtual void InitMesh (int iter, CMesh< T > &Mesh, CLevelSet< T > &Phi, CSpeedFunction< T > &F, CUpdater< T > &Updater, T CurrentTime) const=0
virtual void InitPhiAndF (int iter, CMesh< T > &Mesh, CLevelSet< T > &Phi, CSpeedFunction< T > &F, CUpdater< T > &Updater, T CurrentTime)=0
virtual void BuildCurveForDisplay (int iter, CMesh< T > &Mesh, CLevelSet< T > &Phi)=0
Curve< T > & GetFront ()
 Returns the current stored front.

virtual void Save (string CurvesFile, string CurveLengthsFile)
 Saves current stored front.


Protected Attributes

Curve< T > Front
 The front may be saved in this curve.

int LastCurveUpdate
int LastCurveUpdateForDisplay

Detailed Description

template<class T>
class Multivac::CInitializer< T >

Base class for initializers.

Defines the initializers interface. All initializers must be defined in the same way.

Note:
This is an abstract class.


Member Function Documentation

template<class T>
void Multivac::CInitializer< T >::Save string  CurvesFile,
string  CurveLengthsFile
[virtual]
 

Saves current stored front.

Parameters:
CurvesFile file in which the front will be stored.
CurveLengthsFile file in which the number of points (on the front) will be stored.
Note:
The curve contains points of the front. Those points are saved in an ASCII file, in two columns:
0.31500 1.24779
1.88779 1.22890
...
Warning:
The saved curve is the curve currently stored by the initializer. No update is computed in this routine.


Member Data Documentation

template<class T>
int Multivac::CInitializer< T >::LastCurveUpdate [protected]
 

Stores the last iteration when the front was built on updating purpose.

template<class T>
int Multivac::CInitializer< T >::LastCurveUpdateForDisplay [protected]
 

Stores the last iteration when the front was built on displaying purpose.


The documentation for this class was generated from the following files:
Generated on Mon Apr 19 01:59:15 2004 for Multivac by doxygen 1.3.6-20040222