A.I.M.S


aims::strel::Connectivity Class Referenceabstract

aims::strel::Connectivity pure abstract class representing a "connectivity" 3D structuring element. More...

#include <aims/connectivity/structuring_element.h>

Inheritance diagram for aims::strel::Connectivity:
Collaboration diagram for aims::strel::Connectivity:

Public Types

typedef
StructuringElement::iterator 
iterator
 
typedef
StructuringElement::const_iterator 
const_iterator
 
typedef const bool(& Matrix3x3x3Const )[3][3][3]
 
- Public Types inherited from aims::StructuringElement
typedef std::vector< Point3d >
::iterator 
iterator
 
typedef std::vector< Point3d >
::const_iterator 
const_iterator
 

Public Member Functions

virtual ~Connectivity ()
 
virtual Connectivityclone () const =0
 Clone the StructuringElement. More...
 
virtual Matrix3x3x3Const getMatrix () const =0
 return the Matrix3x3x3Const representing a structuring element. More...
 
- Public Member Functions inherited from aims::StructuringElement
 StructuringElement ()
 
 StructuringElement (const std::vector< Point3d > &vector)
 
virtual ~StructuringElement ()
 
iterator begin ()
 Return iterator to beginning. More...
 
iterator end ()
 Return iterator to end. More...
 
const_iterator begin () const
 Return const_iterator to beginning. More...
 
const_iterator end () const
 Return const_iterator to end. More...
 
size_t size () const
 
const std::vector< Point3d > & getVector () const
 Return std::vector<Point3d> More...
 
std::vector< int > getAmplitude (const Point3d &origin=Point3d(0, 0, 0)) const
 Maximum distance to origin in each direction. More...
 

Protected Member Functions

void setVectorFromMatrix (const Point3d &origin=Point3d(0, 0, 0), const bool usecenter=false)
 

Friends

class ConnectivityFactory
 

Additional Inherited Members

- Protected Attributes inherited from aims::StructuringElement
std::vector< Point3d_vector
 

Detailed Description

aims::strel::Connectivity pure abstract class representing a "connectivity" 3D structuring element.

Connectivities are defined by a 3x3x3 boolean matrix. They can be generated from a keyword using aims::strel::ConnectivityFactory

See also
aims::strel::Connectivity4XY

Definition at line 352 of file structuring_element.h.

Member Typedef Documentation

typedef const bool(& aims::strel::Connectivity::Matrix3x3x3Const)[3][3][3]

Definition at line 365 of file structuring_element.h.

Constructor & Destructor Documentation

virtual aims::strel::Connectivity::~Connectivity ( )
inlinevirtual

Definition at line 358 of file structuring_element.h.

Member Function Documentation

virtual Connectivity* aims::strel::Connectivity::clone ( ) const
pure virtual

Clone the StructuringElement.

Reimplemented from aims::StructuringElement.

virtual Matrix3x3x3Const aims::strel::Connectivity::getMatrix ( ) const
pure virtual

return the Matrix3x3x3Const representing a structuring element.

Template Parameters
ConnectivityTypeConnectivity::Type used to get the Matrix3x3x3Const.
Returns
Matrix3x3x3Const that contains bool set to true for the structuring element.
void aims::strel::Connectivity::setVectorFromMatrix ( const Point3d origin = Point3d(0, 0, 0),
const bool  usecenter = false 
)
protected

Friends And Related Function Documentation

friend class ConnectivityFactory
friend

Definition at line 354 of file structuring_element.h.


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