A.I.M.S


aims::strel::ConnectivityFactory Class Reference

aims::strel::Connectivity generator More...

#include <aims/connectivity/structuring_element.h>

Static Public Member Functions

static Connectivitycreate (const std::string &type, const bool usecenter=false)
 
static Connectivitycreate (const std::string &type, const Point3d &origin, const bool usecenter=false)
 
static void registerConnectivity (const std::string &type, const Connectivity &strel)
 
static std::set< std::string > connectivities ()
 

Static Protected Member Functions

static void init ()
 
static std::map< std::string,
carto::rc_ptr< Connectivity > > & 
_map ()
 

Detailed Description

aims::strel::Connectivity generator

Here are listed the registered keywords as of July 2014:

registerConnectivity( "4xy", Connectivity4XY() );
registerConnectivity( "4xz", Connectivity4XZ() );
registerConnectivity( "4yz", Connectivity4YZ() );
registerConnectivity( "4xydiag", Connectivity4XYDiag() );
registerConnectivity( "4xzdiag", Connectivity4XZDiag() );
registerConnectivity( "4yzdiag", Connectivity4YZDiag() );
registerConnectivity( "6", Connectivity6XYZ() );
registerConnectivity( "8xy", Connectivity8XY() );
registerConnectivity( "8xz", Connectivity8XZ() );
registerConnectivity( "8yz", Connectivity8YZ() );
registerConnectivity( "8xyz", Connectivity8XYZ() );
registerConnectivity( "18", Connectivity18XYZ() );
registerConnectivity( "26", Connectivity26XYZ() );
registerConnectivity( "9xyz-", Connectivity9XYZMinus() );
registerConnectivity( "9xyz+", Connectivity9XYZPlus() );
registerConnectivity( "9xzy-", Connectivity9XZYMinus() );
registerConnectivity( "9xzy+", Connectivity9XZYPlus() );
registerConnectivity( "9yzx-", Connectivity9YZXMinus() );
registerConnectivity( "9yzx+", Connectivity9YZXPlus() );
registerConnectivity( "5x-y", Connectivity5XMinusY() );
registerConnectivity( "5x+y", Connectivity5XPlusY() );
registerConnectivity( "5xy-", Connectivity5XYMinus() );
registerConnectivity( "5xy+", Connectivity5XYPlus() );
registerConnectivity( "5x-z", Connectivity5XMinusZ() );
registerConnectivity( "5x+z", Connectivity5XPlusZ() );
registerConnectivity( "5xz-", Connectivity5XZMinus() );
registerConnectivity( "5xz+", Connectivity5XZPlus() );
registerConnectivity( "5y-z", Connectivity5YMinusZ() );
registerConnectivity( "5y+z", Connectivity5YPlusZ() );
registerConnectivity( "5yz-", Connectivity5YZMinus() );
registerConnectivity( "5yz+", Connectivity5YZPlus() );

Definition at line 421 of file structuring_element.h.

Member Function Documentation

static std::map<std::string,carto::rc_ptr<Connectivity> >& aims::strel::ConnectivityFactory::_map ( )
staticprotected
static std::set<std::string> aims::strel::ConnectivityFactory::connectivities ( )
static
static Connectivity* aims::strel::ConnectivityFactory::create ( const std::string &  type,
const bool  usecenter = false 
)
static
static Connectivity* aims::strel::ConnectivityFactory::create ( const std::string &  type,
const Point3d origin,
const bool  usecenter = false 
)
static
static void aims::strel::ConnectivityFactory::init ( )
staticprotected
static void aims::strel::ConnectivityFactory::registerConnectivity ( const std::string &  type,
const Connectivity strel 
)
static

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