#include <itkChainCodePath.h>
Inheritance diagram for itk::ChainCodePath< VDimension >:


This class is intended to represent sequences of connected indices in an image. It does so by storing the offset of each index from its immediately preceeding, connected, index. The only image index stored directly is that of the first index. ChainCodePath maps a 1D integer input (step number) to an ND interger output (either an offset or an image index, depending on whether Evaluate or EvaluateToIndex is called).
Definition at line 49 of file itkChainCodePath.h.
Public Types | |
| typedef std::vector< OffsetType > | ChainCodeType |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef Index< VDimension > | IndexType |
| typedef Superclass::InputType | InputType |
| typedef OutputType | OffsetType |
| typedef Superclass::OutputType | OutputType |
| typedef SmartPointer< Self > | Pointer |
| typedef ChainCodePath< VDimension > | Self |
| typedef Path< unsigned int, Offset< VDimension >, VDimension > | Superclass |
Public Member Functions | |
| Change the direction of a step in the chaincode *virtual void | ChangeStep (InputType position, OffsetType step) |
| Remove all steps from the chain code *virtual void | Clear () |
| virtual InputType | EndOfInput () const |
| virtual OutputType | Evaluate (const InputType &input) const |
| virtual IndexType | EvaluateToIndex (const InputType &input) const |
| virtual const char * | GetNameOfClass () const |
| virtual const IndexType & | GetStart () |
| virtual OffsetType | IncrementInput (InputType &input) const |
| Needed for Pipelining *virtual void | Initialize (void) |
| Insert a new step into the chaincode at a specified position *virtual void | InsertStep (InputType position, OffsetType step) |
| itkStaticConstMacro (PathDimension, unsigned int, VDimension) | |
| itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
| virtual unsigned int | NumberOfSteps () const |
| Set Get the index associated with the initial position of the path *virtual void | SetStart (IndexType _arg) |
| virtual InputType | StartOfInput () const |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| ChainCodePath () | |
| virtual IndexType | GetZeroIndex () const |
| virtual OffsetType | GetZeroOffset () const |
| Path () | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| ~ChainCodePath () | |
|
|||||
|
Reimplemented in itk::ChainCodePath2D. Definition at line 75 of file itkChainCodePath.h. |
|
|||||
|
Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 61 of file itkChainCodePath.h. |
|
|||||
|
All paths must be mapable to index space Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 73 of file itkChainCodePath.h. |
|
|||||
|
Input type Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 69 of file itkChainCodePath.h. |
|
|||||
|
The output type of this function is an Index Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 72 of file itkChainCodePath.h. |
|
|||||
|
OutputType typedef support. Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 64 of file itkChainCodePath.h. |
|
|||||
|
Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 60 of file itkChainCodePath.h. |
|
|||||
|
Standard class typedefs. Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 57 of file itkChainCodePath.h. |
|
|||||
|
Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 58 of file itkChainCodePath.h. |
|
|||||||||
|
|
|
|||||||||
|
Definition at line 152 of file itkChainCodePath.h. |
|
||||||||||||||||
|
Reimplemented in itk::ChainCodePath2D. Definition at line 121 of file itkChainCodePath.h. |
|
|||||||||
|
Reimplemented in itk::ChainCodePath2D. Definition at line 129 of file itkChainCodePath.h. |
|
|||||||||
|
Where does the path end (what is the last valid input value)? Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Definition at line 95 of file itkChainCodePath.h. |
|
||||||||||
|
Evaluate the chaincode for the offset at the specified path-position. Implements itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. Definition at line 80 of file itkChainCodePath.h. |
|
||||||||||
|
Like Evaluate(), but returns the index at the specified path-position. Implements itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. |
|
|||||||||
|
Run-time type information (and related methods). Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. |
|
|||||||||
|
|
|
|
|
|
|
|
|
||||||||||
|
Increment the input variable passed by reference and then return the offset stored at the new path-position. If the chaincode is unable to be incremented, input is not changed and an offset of zero is returned, which may be used to check for the end of the chain code. Implements itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. |
|
||||||||||
|
Definition at line 143 of file itkChainCodePath.h. |
|
||||||||||||||||
|
Reimplemented in itk::ChainCodePath2D. Definition at line 113 of file itkChainCodePath.h. |
|
||||||||||||||||
|
Path dimension. The dimension of a path is fixed at construction. |
|
||||||||||||||||||||
|
Dimension underlying input image. |
|
|||||||||
|
New() method for dynamic construction Reimplemented in itk::ChainCodePath2D. |
|
|||||||||
|
How many steps in the chaincode? Reimplemented in itk::ChainCodePath2D. Definition at line 137 of file itkChainCodePath.h. |
|
|
|
|
||||||||||||||||
|
Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. |
|
||||||||||
|
|
|
|
Where does the path begin? For most types of paths, the path will begin at zero. This value can be overridden in children, and is necessary for iterators to know how to go to the beginning of a path. |
1.4.2 written by Dimitri van Heesch,
© 1997-2000