ESyS-Particle  2.3.2
esys::lsm::FittedParticleIterator< TmplFitterTraits > Class Template Reference

#include <RandomBoxPacker.h>

Classes

class  FitTraits

Public Types

typedef TmplFitterTraits FitterTraits
typedef FitterTraits::Plane3D Plane3D
typedef FitterTraits::PlaneVector PlaneVector
typedef FitterTraits::Packer Packer
typedef Packer::Particle Particle
typedef Packer::ParticleVector ParticleVector
typedef SphereFitter< FitTraitsFitter
typedef boost::shared_ptr< FitterFitterPtr
typedef std::vector< FitterPtrFitterPtrVector
typedef MoveToSurfaceFitter
< FitTraits
Move2SurfaceFitter
typedef ThreeDSphereFitter
< FitTraits
ThreeDFitter
typedef TwoDSphereFitter
< FitTraits
TwoDFitter
typedef TwoDPlaneSphereFitter
< FitTraits
TwoDPlaneFitter
typedef
ThreeDPlaneSphereFitter
< FitTraits
ThreeDPlaneFitter

Public Member Functions

 FittedParticleIterator (Packer &packer, int maxInsertionFailures, const PlaneVector &fitPlaneVector)
void initialiseFitterPtrVector ()
int getMaxInsertionFailures () const
const FitterPtrVectorgetFitterPtrVector () const
FitterPtrVectorgetFitterPtrVector ()
const PlaneVectorgetFitPlaneVector () const
const PackergetPacker () const
PackergetPacker ()
Plane3D getClosestFitPlane (const Particle &particle) const
double getRandom (double min, double max) const
Vec3 getRandomPoint () const
Particle getCandidateParticle (const Vec3 &point)
ParticleVector getClosestNeighbours (const Particle &particle, int numClosest)
ParticlegenerateNext ()
bool hasNext ()
Particle next ()
void logInfo ()

Private Attributes

Packerm_pPacker
PlaneVector m_fitPlaneVector
int m_maxInsertionFailures
int m_lastFailCount
int m_successCount
Particle m_next
FitterPtrVector m_fitterPtrVector

Member Typedef Documentation

template<typename TmplFitterTraits>
typedef SphereFitter<FitTraits> esys::lsm::FittedParticleIterator< TmplFitterTraits >::Fitter
template<typename TmplFitterTraits>
typedef boost::shared_ptr<Fitter> esys::lsm::FittedParticleIterator< TmplFitterTraits >::FitterPtr
template<typename TmplFitterTraits>
typedef std::vector<FitterPtr> esys::lsm::FittedParticleIterator< TmplFitterTraits >::FitterPtrVector
template<typename TmplFitterTraits>
typedef TmplFitterTraits esys::lsm::FittedParticleIterator< TmplFitterTraits >::FitterTraits
template<typename TmplFitterTraits>
typedef MoveToSurfaceFitter<FitTraits> esys::lsm::FittedParticleIterator< TmplFitterTraits >::Move2SurfaceFitter
template<typename TmplFitterTraits>
typedef FitterTraits::Packer esys::lsm::FittedParticleIterator< TmplFitterTraits >::Packer
template<typename TmplFitterTraits>
typedef Packer::Particle esys::lsm::FittedParticleIterator< TmplFitterTraits >::Particle
template<typename TmplFitterTraits>
typedef Packer::ParticleVector esys::lsm::FittedParticleIterator< TmplFitterTraits >::ParticleVector
template<typename TmplFitterTraits>
typedef FitterTraits::Plane3D esys::lsm::FittedParticleIterator< TmplFitterTraits >::Plane3D
template<typename TmplFitterTraits>
typedef FitterTraits::PlaneVector esys::lsm::FittedParticleIterator< TmplFitterTraits >::PlaneVector
template<typename TmplFitterTraits>
typedef ThreeDSphereFitter<FitTraits> esys::lsm::FittedParticleIterator< TmplFitterTraits >::ThreeDFitter
template<typename TmplFitterTraits>
typedef ThreeDPlaneSphereFitter<FitTraits> esys::lsm::FittedParticleIterator< TmplFitterTraits >::ThreeDPlaneFitter
template<typename TmplFitterTraits>
typedef TwoDSphereFitter<FitTraits> esys::lsm::FittedParticleIterator< TmplFitterTraits >::TwoDFitter
template<typename TmplFitterTraits>
typedef TwoDPlaneSphereFitter<FitTraits> esys::lsm::FittedParticleIterator< TmplFitterTraits >::TwoDPlaneFitter

Constructor & Destructor Documentation

template<typename TmplTraits >
esys::lsm::FittedParticleIterator< TmplTraits >::FittedParticleIterator ( Packer packer,
int  maxInsertionFailures,
const PlaneVector fitPlaneVector 
)

Member Function Documentation

template<typename TmplTraits >
FittedParticleIterator< TmplTraits >::Particle & esys::lsm::FittedParticleIterator< TmplTraits >::generateNext ( )

References console, and Console::Info().

Here is the call graph for this function:

template<typename TmplTraits >
FittedParticleIterator< TmplTraits >::Particle esys::lsm::FittedParticleIterator< TmplTraits >::getCandidateParticle ( const Vec3 point)
template<typename TmplTraits >
FittedParticleIterator< TmplTraits >::Plane3D esys::lsm::FittedParticleIterator< TmplTraits >::getClosestFitPlane ( const Particle particle) const
template<typename TmplTraits >
FittedParticleIterator< TmplTraits >::ParticleVector esys::lsm::FittedParticleIterator< TmplTraits >::getClosestNeighbours ( const Particle particle,
int  numClosest 
)
template<typename TmplTraits >
const FittedParticleIterator< TmplTraits >::PlaneVector & esys::lsm::FittedParticleIterator< TmplTraits >::getFitPlaneVector ( ) const
template<typename TmplTraits >
const FittedParticleIterator< TmplTraits >::FitterPtrVector & esys::lsm::FittedParticleIterator< TmplTraits >::getFitterPtrVector ( ) const
template<typename TmplTraits >
FittedParticleIterator< TmplTraits >::FitterPtrVector & esys::lsm::FittedParticleIterator< TmplTraits >::getFitterPtrVector ( )
template<typename TmplTraits >
int esys::lsm::FittedParticleIterator< TmplTraits >::getMaxInsertionFailures ( ) const
template<typename TmplTraits >
const FittedParticleIterator< TmplTraits >::Packer & esys::lsm::FittedParticleIterator< TmplTraits >::getPacker ( ) const
template<typename TmplTraits >
FittedParticleIterator< TmplTraits >::Packer & esys::lsm::FittedParticleIterator< TmplTraits >::getPacker ( )
template<typename TmplFitterTraits>
double esys::lsm::FittedParticleIterator< TmplFitterTraits >::getRandom ( double  min,
double  max 
) const
template<typename TmplTraits >
Vec3 esys::lsm::FittedParticleIterator< TmplTraits >::getRandomPoint ( ) const
template<typename TmplTraits >
bool esys::lsm::FittedParticleIterator< TmplTraits >::hasNext ( )
template<typename TmplTraits >
void esys::lsm::FittedParticleIterator< TmplTraits >::initialiseFitterPtrVector ( )

Referenced by esys::lsm::FittedParticleIterator< TmplFitterTraits >::FittedParticleIterator().

Here is the caller graph for this function:

template<typename TmplTraits >
void esys::lsm::FittedParticleIterator< TmplTraits >::logInfo ( )

References console, Console::Info(), and esys::lsm::StringUtil::toString().

Referenced by esys::lsm::RandomBoxPacker< TmplParticleGenerator, TmplCubicBoxPackerWrap >::generateRandomFill().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename TmplTraits >
FittedParticleIterator< TmplTraits >::Particle esys::lsm::FittedParticleIterator< TmplTraits >::next ( )

Member Data Documentation

template<typename TmplFitterTraits>
PlaneVector esys::lsm::FittedParticleIterator< TmplFitterTraits >::m_fitPlaneVector
private
template<typename TmplFitterTraits>
FitterPtrVector esys::lsm::FittedParticleIterator< TmplFitterTraits >::m_fitterPtrVector
private
template<typename TmplFitterTraits>
int esys::lsm::FittedParticleIterator< TmplFitterTraits >::m_lastFailCount
private
template<typename TmplFitterTraits>
int esys::lsm::FittedParticleIterator< TmplFitterTraits >::m_maxInsertionFailures
private
template<typename TmplFitterTraits>
Particle esys::lsm::FittedParticleIterator< TmplFitterTraits >::m_next
private
template<typename TmplFitterTraits>
Packer* esys::lsm::FittedParticleIterator< TmplFitterTraits >::m_pPacker
private
template<typename TmplFitterTraits>
int esys::lsm::FittedParticleIterator< TmplFitterTraits >::m_successCount
private

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