18 #ifndef __itkFlatStructuringElement_h
19 #define __itkFlatStructuringElement_h
87 template<
unsigned int VDimension >
146 unsigned int thickness = 1,
147 bool includeCenter =
false,
148 bool radiusIsParametric =
false);
204 itkBooleanMacro(RadiusIsParametric);
217 template<
unsigned int VDimension3 >
223 template<
typename TStructuringElement,
typename TRadius>
224 static void GeneratePolygon(TStructuringElement & res, TRadius radius,
unsigned lines);
238 #ifndef ITK_MANUAL_INSTANTIATION
239 #include "itkFlatStructuringElement.hxx"
FlatStructuringElement< VDimension > Self
Vector< float, 3 > LType3
typedef::itk::Size< VDimension > RadiusType
Neighborhood< bool, VDimension > Superclass
A light-weight container object for storing an N-dimensional neighborhood of values.
static Self Polygon(RadiusType radius, unsigned lines)
StructuringElementFacet< VDimension > FacetType
Vector< float, VDimension3 > P1
Superclass::SliceIteratorType SliceIteratorType
bool CheckParallel(LType NewVec) const
Superclass::PixelType PixelType
Superclass::RadiusType RadiusType
static const unsigned int NeighborhoodDimension
Superclass::OffsetType OffsetType
A templated class holding a n-Dimensional vector.
typedef::itk::Size< VDimension > SizeType
bool m_RadiusIsParametric
bool GetRadiusIsParametric() const
void SetDecomposable(bool v)
Vector< float, 2 > LType2
void PrintSelf(std::ostream &os, Indent indent) const
static Self Ball(RadiusType radius, bool radiusIsParametric=false)
Superclass::Iterator Iterator
A flexible iterator for itk containers(i.e. itk::Neighborhood) that support pixel access through oper...
static Self Annulus(RadiusType radius, unsigned int thickness=1, bool includeCenter=false, bool radiusIsParametric=false)
bool GetDecomposable() const
A class to support a variety of flat structuring elements, including versions created by decompositio...
static Self Box(RadiusType radius)
Vector< float, VDimension > LType
Vector< float, VDimension3 > P2
AllocatorType::iterator Iterator
Control indentation during Print() invocation.
AllocatorType::const_iterator ConstIterator
virtual ~FlatStructuringElement()
StructuringElementFacet< 3 > FacetType3
Vector< float, VDimension3 > P3
static void GeneratePolygon(TStructuringElement &res, TRadius radius, unsigned lines)
void SetRadiusIsParametric(bool flag)
static Self Cross(RadiusType radius)
std::vector< LType > DecompType
const DecompType & GetLines() const
Superclass::SizeType SizeType
void ComputeBufferFromLines()
Superclass::ConstIterator ConstIterator