|  | aimsdata
    5.1.2
    Neuroimaging data handling | 
aims::StructuringElement class representing a 3D structuring element. More...
#include <aims/connectivity/structuring_element.h>


| Public Types | |
| typedef std::vector< Point3dl >::iterator | iterator | 
| typedef std::vector< Point3dl >::const_iterator | const_iterator | 
| Public Member Functions | |
| 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 originin each direction.  More... | |
| virtual StructuringElement * | clone () const | 
| Clone the StructuringElement.  More... | |
| Protected Attributes | |
| std::vector< Point3dl > | _vector | 
aims::StructuringElement class representing a 3D structuring element.
The aims::StructuringElement class is used to get neighbors of a coordinate in a 3D grid.
Each type of structuring element is a class deriving from aims::StructuringElement. There are currently two intermediate interface classes which are aims::strel::Shape and aims::strel::Connectivity. Two factory classes are also there to get specific structuring elements from string identifiers.
Definition at line 89 of file structuring_element.h.
| typedef std::vector<Point3dl>::const_iterator aims::StructuringElement::const_iterator | 
Definition at line 98 of file structuring_element.h.
| typedef std::vector<Point3dl>::iterator aims::StructuringElement::iterator | 
Definition at line 95 of file structuring_element.h.
| 
 | inline | 
Definition at line 103 of file structuring_element.h.
Referenced by clone().
| 
 | inline | 
Definition at line 104 of file structuring_element.h.
| 
 | inlinevirtual | 
Definition at line 106 of file structuring_element.h.
| 
 | inline | 
Return iterator to beginning.
Definition at line 115 of file structuring_element.h.
References _vector.
Referenced by aims::StructuredConstVolume< T >::StructuredConstVolume(), and aims::StructuredVolume< T >::StructuredVolume().
| 
 | inline | 
Return const_iterator to beginning.
Definition at line 121 of file structuring_element.h.
References _vector.
| 
 | inlinevirtual | 
Clone the StructuringElement.
Reimplemented in aims::strel::Connectivity, and aims::strel::Shape.
Definition at line 149 of file structuring_element.h.
References StructuringElement().
| 
 | inline | 
Return iterator to end.
Definition at line 117 of file structuring_element.h.
References _vector.
Referenced by aims::StructuredConstVolume< T >::StructuredConstVolume(), and aims::StructuredVolume< T >::StructuredVolume().
| 
 | inline | 
Return const_iterator to end.
Definition at line 125 of file structuring_element.h.
References _vector.
| std::vector<int> aims::StructuringElement::getAmplitude | ( | const Point3dl & | origin = Point3dl(0, 0, 0) | ) | const | 
Maximum distance to origin in each direction. 
Warning: it is computed at each call.
| 
 | inline | 
Return std::vector<Point3dl>
Definition at line 135 of file structuring_element.h.
References _vector.
| 
 | inline | 
Definition at line 131 of file structuring_element.h.
References _vector.
| 
 | protected | 
Definition at line 151 of file structuring_element.h.
Referenced by begin(), end(), getVector(), and size().