#include <itkChainCodePath.h>
Inheritance diagram for itk::ChainCodePath< VDimension >:
Public Types | |
typedef ChainCodePath< VDimension > | Self |
typedef Path< unsigned int, Offset< VDimension >, VDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::OutputType | OutputType |
typedef Superclass::InputType | InputType |
typedef OutputType | OffsetType |
typedef Index< VDimension > | IndexType |
typedef std::vector< OffsetType > | ChainCodeType |
Public Member Functions | |
itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
virtual const char * | GetNameOfClass () const |
virtual OutputType | Evaluate (const InputType &input) const |
virtual IndexType | EvaluateToIndex (const InputType &input) const |
virtual OffsetType | IncrementInput (InputType &input) const |
virtual InputType | EndOfInput () const |
virtual unsigned int | NumberOfSteps () const |
virtual void | SetStart (IndexType _arg) |
virtual const IndexType & | GetStart () |
virtual void | InsertStep (InputType position, OffsetType step) |
virtual void | ChangeStep (InputType position, OffsetType step) |
virtual void | Clear () |
virtual void | Initialize (void) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
ChainCodePath () | |
~ChainCodePath () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
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.
|
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 68 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 156 of file itkChainCodePath.h. |
|
Change the direction of a step in the chaincode Reimplemented in itk::ChainCodePath2D. Definition at line 123 of file itkChainCodePath.h. |
|
Remove all steps from the chain code Reimplemented in itk::ChainCodePath2D. Definition at line 131 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 97 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 82 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. |
|
Set/Get the index associated with the initial position of the path |
|
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. |
|
Needed for Pipelining Reimplemented from itk::DataObject. Definition at line 145 of file itkChainCodePath.h. |
|
Insert a new step into the chaincode at a specified position Reimplemented in itk::ChainCodePath2D. Definition at line 115 of file itkChainCodePath.h. |
|
Dimension underlying input image. |
|
New() method for dynamic construction Reimplemented from itk::Object. Reimplemented in itk::ChainCodePath2D. |
|
How many steps in the chaincode? Reimplemented in itk::ChainCodePath2D. Definition at line 139 of file itkChainCodePath.h. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >. Reimplemented in itk::ChainCodePath2D. |
|
Set/Get the index associated with the initial position of the path |