17 #ifndef itkSpeedFunctionToPathFilter_h
18 #define itkSpeedFunctionToPathFilter_h
64 template <
class TInputImage,
65 class TOutputPath = PolyLineParametricPath<TInputImage::ImageDimension> >
83 itkStaticConstMacro(InputImageDimension,
unsigned int,
84 TInputImage::ImageDimension);
114 itkWarningMacro(
"SetPathEndPoint() is not valid for this filter. Use AddPathInfo() instead.");
123 itkWarningMacro(
"AddPathEndPoint() is not valid for this filter. Use AddPathInfo() instead.");
132 itkWarningMacro(
"ClearPathEndPoints() is not valid for this filter. Use ClearPathInfo() instead.");
139 m_Information.push_back( info );
145 m_Information.clear( );
154 virtual void PrintSelf( std::ostream& os,
Indent indent )
const;
157 void GenerateData(
void );
160 virtual unsigned int GetNumberOfPathsToExtract( )
const;
163 virtual InputImageType * ComputeArrivalFunction( );
166 virtual const PointType & GetNextEndPoint( );
173 void operator=(
const Self& );
179 #ifndef ITK_MANUAL_INSTANTIATION
180 #include "itkSpeedFunctionToPathFilter.hxx"
InputImageType::Pointer InputImagePointer
InputImageType::RegionType InputImageRegionType
Light weight base class for most itk classes.
Extracts a path from a Fast Marching arrival function.
InputImageType::ConstPointer InputImageConstPointer
void AddPathEndPoint(const PointType &)
SmartPointer< Self > Pointer
std::vector< typename PathInformationType::Pointer > m_Information
OutputPathType::ConstPointer OutputPathConstPointer
InputImageType::Pointer InputImagePointer
Superclass::IndexType IndexType
SpeedFunctionPathInformation< PointType > PathInformationType
void AddPathInformation(PathInformationType *info)
TOutputPath OutputPathType
InputImageType::PixelType InputImagePixelType
Superclass::ContinuousIndexType ContinuousIndexType
void SetPathEndPoint(const PointType &)
Extracts a path from a speed function between a start point and end point, which also passes near the...
int Execute(int argc, char *argv[])
Superclass::PointType PointType
Abstraction of the Events used to communicating among filters and with GUIs.
SpeedFunctionToPathFilter Self
ArrivalFunctionToPathFilter< TInputImage, TOutputPath > Superclass
Superclass::OptimizerType OptimizerType
InputImagePointer m_CurrentArrivalFunction
void ClearPathInformation()
OutputPathType::Pointer OutputPathPointer
TInputImage InputImageType
Superclass::CostFunctionType CostFunctionType
Control indentation during Print() invocation.
Base class for most ITK classes.
A templated class holding a geometric point in n-Dimensional space.
void ClearPathEndPoints()
SmartPointer< const Self > ConstPointer