bioprocessing 6.0.4
Cah< T > Class Template Reference

#include <bioprocessing/classification/cah.h>

Public Member Functions

 Cah (const CahElementFactory< T > *method)
 
 ~Cah ()
 
bool addElement (Element< T > *el)
 Returns false if el ca not be added.
 
void initialisationDist ()
 
void oneStep (int)
 
const std::vector< std::pair< Point2d, float > > & doit ()
 
const std::vector< std::pair< Point2d, float > > & result ()
 
std::vector< Point2d > cut (const std::vector< std::pair< Point2d, float > > &res, int)
 
std::vector< Point2d > distanceCut (const std::vector< std::pair< Point2d, float > > &res, float)
 
std::vector< Point2d > maxCurvatureCut (const std::vector< std::pair< Point2d, float > > &res)
 
void save (const std::string &name)
 
const std::vector< std::pair< Point2d, float > > & load (const std::string &name)
 
const std::vector< std::set< short > > & newAgregateConstitution () const
 

Detailed Description

template<typename T>
class Cah< T >

Definition at line 415 of file cah.h.

Constructor & Destructor Documentation

◆ Cah()

template<typename T>
Cah< T >::Cah ( const CahElementFactory< T > * method)

◆ ~Cah()

template<typename T>
Cah< T >::~Cah ( )
inline

Definition at line 420 of file cah.h.

Member Function Documentation

◆ addElement()

template<typename T>
bool Cah< T >::addElement ( Element< T > * el)

Returns false if el ca not be added.

Definition at line 1289 of file cah_d.h.

References Element< T >::number(), and Element< T >::setNumber().

◆ cut()

template<typename T>
std::vector< Point2d > Cah< T >::cut ( const std::vector< std::pair< Point2d, float > > & res,
int nc )

Definition at line 1522 of file cah_d.h.

Referenced by distanceCut(), and maxCurvatureCut().

◆ distanceCut()

template<typename T>
std::vector< Point2d > Cah< T >::distanceCut ( const std::vector< std::pair< Point2d, float > > & res,
float d )

Definition at line 1568 of file cah_d.h.

References cut().

◆ doit()

template<typename T>
const std::vector< std::pair< Point2d, float > > & Cah< T >::doit ( )

Definition at line 1432 of file cah_d.h.

References initialisationDist(), and oneStep().

Referenced by result().

◆ initialisationDist()

template<typename T>
void Cah< T >::initialisationDist ( )

Definition at line 1303 of file cah_d.h.

Referenced by doit().

◆ load()

template<typename T>
const std::vector< std::pair< Point2d, float > > & Cah< T >::load ( const std::string & name)

Definition at line 1654 of file cah_d.h.

◆ maxCurvatureCut()

template<typename T>
std::vector< Point2d > Cah< T >::maxCurvatureCut ( const std::vector< std::pair< Point2d, float > > & res)

Definition at line 1582 of file cah_d.h.

References cut().

◆ newAgregateConstitution()

template<typename T>
const std::vector< std::set< short > > & Cah< T >::newAgregateConstitution ( ) const
inline

Definition at line 440 of file cah.h.

◆ oneStep()

template<typename T>
void Cah< T >::oneStep ( int etape)

◆ result()

template<typename T>
const std::vector< std::pair< Point2d, float > > & Cah< T >::result ( )
inline

Definition at line 429 of file cah.h.

References doit().

◆ save()

template<typename T>
void Cah< T >::save ( const std::string & name)

Definition at line 1619 of file cah_d.h.


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