18 #ifndef itkContourExtractor2DImageFilter_h
19 #define itkContourExtractor2DImageFilter_h
24 #include "itksys/hash_map.hxx"
25 #if !defined( ITK_LEGACY_FUTURE_REMOVE )
26 # include "vcl_deque.h"
29 #if !defined( ITK_LEGACY_FUTURE_REMOVE )
30 # include "vcl_list.h"
101 template<
typename TInputImage >
107 itkStaticConstMacro(InputImageDimension,
unsigned int,
108 TInputImage::ImageDimension);
143 itkSetMacro(ReverseContourOrientation,
bool);
144 itkGetConstReferenceMacro(ReverseContourOrientation,
bool);
145 itkBooleanMacro(ReverseContourOrientation);
151 itkSetMacro(VertexConnectHighPixels,
bool);
152 itkGetConstReferenceMacro(VertexConnectHighPixels,
bool);
153 itkBooleanMacro(VertexConnectHighPixels);
161 void ClearRequestedRegion();
169 #ifdef ITK_USE_CONCEPT_CHECKING
186 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
188 void GenerateData() ITK_OVERRIDE;
193 virtual
void GenerateInputRequestedRegion() ITK_OVERRIDE;
208 bool m_ReverseContourOrientation;
209 bool m_VertexConnectHighPixels;
210 bool m_UseCustomRegion;
212 unsigned int m_NumberOfContoursCreated;
250 const SizeValueType hashVertex1 = this->float_hash(k[0] * 0xbeef);
268 value = ( 2 * value - 1 ) * ~0U;
298 #ifndef ITK_MANUAL_INSTANTIATION
299 #include "itkContourExtractor2DImageFilter.hxx"
Represent a path of line segments through ND Space.
Light weight base class for most itk classes.
Base class for filters that take an image as input and produce an path as output. ...
unsigned long SizeValueType
A templated class holding a point in n-Dimensional image space.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
ImageBaseType::IndexType IndexType