aimsdata  5.0.5
Neuroimaging data handling
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< Point3dl >::iterator iterator
 
typedef std::vector< Point3dl >::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< Point3dl > &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< Point3dl > & getVector () const
 Return std::vector<Point3dl> More...
 
std::vector< int > getAmplitude (const Point3dl &origin=Point3dl(0, 0, 0)) const
 Maximum distance to origin in each direction. More...
 

Protected Member Functions

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

Friends

class ConnectivityFactory
 

Additional Inherited Members

- Protected Attributes inherited from aims::StructuringElement
std::vector< Point3dl_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 370 of file structuring_element.h.

Member Typedef Documentation

◆ const_iterator

◆ iterator

◆ Matrix3x3x3Const

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

Definition at line 383 of file structuring_element.h.

Constructor & Destructor Documentation

◆ ~Connectivity()

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

Definition at line 376 of file structuring_element.h.

Member Function Documentation

◆ clone()

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

Clone the StructuringElement.

Reimplemented from aims::StructuringElement.

◆ getMatrix()

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.

◆ setVectorFromMatrix()

void aims::strel::Connectivity::setVectorFromMatrix ( const Point3dl origin = Point3dl(0, 0, 0),
const bool  usecenter = false 
)
protected

Friends And Related Function Documentation

◆ ConnectivityFactory

friend class ConnectivityFactory
friend

Definition at line 372 of file structuring_element.h.


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