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

#include <RandomSpherePacker.h>

Collaboration diagram for esys::lsm::SphereFittedPIterator< TmplFitterTraits >:

Classes

class  FitTraits

Public Types

typedef TmplFitterTraits FitterTraits
typedef FitterTraits::Plane3D Plane
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
TwoDSFitter
typedef TwoDSphereSphereFitter
< FitTraits
TwoDSSphereFitter
typedef
ThreeDSphereSphereFitter
< FitTraits
ThreeDSSphereFitter

Public Member Functions

 SphereFittedPIterator (Packer &packer, int maxInsertionFailures, const BoundingSphere &bSphere)
void initialiseFitterPtrVector ()
const BoundingSpheregetBSphere () const
int getMaxInsertionFailures () const
const FitterPtrVectorgetFitterPtrVector () const
FitterPtrVectorgetFitterPtrVector ()
const PackergetPacker () const
PackergetPacker ()
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
FitterPtrVector m_fitterPtrVector
int m_maxInsertionFailures
int m_lastFailCount
int m_successCount
Particle m_next
BoundingSphere m_bSphere

Member Typedef Documentation

template<typename TmplFitterTraits>
typedef SphereFitter<FitTraits> esys::lsm::SphereFittedPIterator< TmplFitterTraits >::Fitter
template<typename TmplFitterTraits>
typedef boost::shared_ptr<Fitter> esys::lsm::SphereFittedPIterator< TmplFitterTraits >::FitterPtr
template<typename TmplFitterTraits>
typedef std::vector<FitterPtr> esys::lsm::SphereFittedPIterator< TmplFitterTraits >::FitterPtrVector
template<typename TmplFitterTraits>
typedef TmplFitterTraits esys::lsm::SphereFittedPIterator< TmplFitterTraits >::FitterTraits
template<typename TmplFitterTraits>
typedef MoveToSurfaceFitter<FitTraits> esys::lsm::SphereFittedPIterator< TmplFitterTraits >::Move2SurfaceFitter
template<typename TmplFitterTraits>
typedef FitterTraits::Packer esys::lsm::SphereFittedPIterator< TmplFitterTraits >::Packer
template<typename TmplFitterTraits>
typedef Packer::Particle esys::lsm::SphereFittedPIterator< TmplFitterTraits >::Particle
template<typename TmplFitterTraits>
typedef Packer::ParticleVector esys::lsm::SphereFittedPIterator< TmplFitterTraits >::ParticleVector
template<typename TmplFitterTraits>
typedef FitterTraits::Plane3D esys::lsm::SphereFittedPIterator< TmplFitterTraits >::Plane
template<typename TmplFitterTraits>
typedef FitterTraits::PlaneVector esys::lsm::SphereFittedPIterator< TmplFitterTraits >::PlaneVector
template<typename TmplFitterTraits>
typedef ThreeDSphereFitter<FitTraits> esys::lsm::SphereFittedPIterator< TmplFitterTraits >::ThreeDFitter
template<typename TmplFitterTraits>
typedef ThreeDSphereSphereFitter<FitTraits> esys::lsm::SphereFittedPIterator< TmplFitterTraits >::ThreeDSSphereFitter
template<typename TmplFitterTraits>
typedef TwoDSphereFitter<FitTraits> esys::lsm::SphereFittedPIterator< TmplFitterTraits >::TwoDSFitter
template<typename TmplFitterTraits>
typedef TwoDSphereSphereFitter<FitTraits> esys::lsm::SphereFittedPIterator< TmplFitterTraits >::TwoDSSphereFitter

Constructor & Destructor Documentation

template<typename TmplTraits >
esys::lsm::SphereFittedPIterator< TmplTraits >::SphereFittedPIterator ( Packer packer,
int  maxInsertionFailures,
const BoundingSphere bSphere 
)

Member Function Documentation

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

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

Here is the caller graph for this function:

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

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Member Data Documentation

template<typename TmplFitterTraits>
BoundingSphere esys::lsm::SphereFittedPIterator< TmplFitterTraits >::m_bSphere
private
template<typename TmplFitterTraits>
FitterPtrVector esys::lsm::SphereFittedPIterator< TmplFitterTraits >::m_fitterPtrVector
private
template<typename TmplFitterTraits>
int esys::lsm::SphereFittedPIterator< TmplFitterTraits >::m_lastFailCount
private
template<typename TmplFitterTraits>
int esys::lsm::SphereFittedPIterator< TmplFitterTraits >::m_maxInsertionFailures
private
template<typename TmplFitterTraits>
Particle esys::lsm::SphereFittedPIterator< TmplFitterTraits >::m_next
private
template<typename TmplFitterTraits>
Packer* esys::lsm::SphereFittedPIterator< TmplFitterTraits >::m_pPacker
private
template<typename TmplFitterTraits>
int esys::lsm::SphereFittedPIterator< TmplFitterTraits >::m_successCount
private

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