ESyS-Particle  2.3.2
esys::lsm::SphereFitter< TmplFitTraits > Class Template Reference

#include <SphereFitter.h>

Inheritance diagram for esys::lsm::SphereFitter< TmplFitTraits >:
Collaboration diagram for esys::lsm::SphereFitter< TmplFitTraits >:

Public Types

typedef TmplFitTraits FitTraits
typedef FitTraits::Validator Validator
typedef FitTraits::Particle Particle
typedef Validator::ParticleVector ParticleVector
typedef FitTraits::Plane3D Plane3D

Public Member Functions

 SphereFitter (const std::string &name, Validator &validator)
virtual ~SphereFitter ()
virtual Particle getFitParticle (const Particle &particle, const ParticleVector &neighbours, const Plane3D &plane)=0
void incrGetFit ()
void incrFailedFit ()
void incrSuccessfulFit ()
const std::string & getName () const
void write (std::ostream &oStream) const
std::string toString () const
bool particleIsValid (const Particle &particle) const

Static Public Member Functions

static Particle getInvalidParticle ()

Protected Member Functions

ValidatorgetValidator ()
const ValidatorgetValidator () const

Private Attributes

Validatorm_pValidator
int m_successfulFitCount
int m_getFitCount
int m_failedFitCount
std::string m_name

Member Typedef Documentation

template<typename TmplFitTraits>
typedef TmplFitTraits esys::lsm::SphereFitter< TmplFitTraits >::FitTraits
template<typename TmplFitTraits>
typedef FitTraits::Particle esys::lsm::SphereFitter< TmplFitTraits >::Particle
template<typename TmplFitTraits>
typedef Validator::ParticleVector esys::lsm::SphereFitter< TmplFitTraits >::ParticleVector
template<typename TmplFitTraits>
typedef FitTraits::Plane3D esys::lsm::SphereFitter< TmplFitTraits >::Plane3D
template<typename TmplFitTraits>
typedef FitTraits::Validator esys::lsm::SphereFitter< TmplFitTraits >::Validator

Constructor & Destructor Documentation

template<typename TmplFitTraits>
esys::lsm::SphereFitter< TmplFitTraits >::SphereFitter ( const std::string &  name,
Validator validator 
)
inline
template<typename TmplFitTraits>
virtual esys::lsm::SphereFitter< TmplFitTraits >::~SphereFitter ( )
inlinevirtual

Member Function Documentation

template<typename TmplFitTraits>
const std::string& esys::lsm::SphereFitter< TmplFitTraits >::getName ( ) const
inline
template<typename TmplFitTraits>
Validator& esys::lsm::SphereFitter< TmplFitTraits >::getValidator ( )
inlineprotected
template<typename TmplFitTraits>
const Validator& esys::lsm::SphereFitter< TmplFitTraits >::getValidator ( ) const
inlineprotected
template<typename TmplFitTraits>
std::string esys::lsm::SphereFitter< TmplFitTraits >::toString ( ) const
inline

References esys::lsm::SphereFitter< TmplFitTraits >::write().

Here is the call graph for this function:

template<typename TmplFitTraits>
void esys::lsm::SphereFitter< TmplFitTraits >::write ( std::ostream &  oStream) const
inline

Member Data Documentation

template<typename TmplFitTraits>
int esys::lsm::SphereFitter< TmplFitTraits >::m_failedFitCount
private
template<typename TmplFitTraits>
int esys::lsm::SphereFitter< TmplFitTraits >::m_getFitCount
private
template<typename TmplFitTraits>
std::string esys::lsm::SphereFitter< TmplFitTraits >::m_name
private
template<typename TmplFitTraits>
Validator* esys::lsm::SphereFitter< TmplFitTraits >::m_pValidator
private
template<typename TmplFitTraits>
int esys::lsm::SphereFitter< TmplFitTraits >::m_successfulFitCount
private

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