ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkPolyLineParametricPath.h>
Represent a path of line segments through ND Space.
This class is intended to represent parametric paths through an image, where the paths are composed of line segments. Each line segment traverses one unit of input. A classic application of this class is the representation of contours in 2D images, especially when the contours only need to be approximately correct. Another use of a path is to guide the movement of an iterator through an image.
Definition at line 56 of file itkPolyLineParametricPath.h.
typedef SmartPointer< const Self > itk::PolyLineParametricPath< VDimension >::ConstPointer |
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 64 of file itkPolyLineParametricPath.h.
typedef ContinuousIndex< double, VDimension > itk::PolyLineParametricPath< VDimension >::ContinuousIndexType |
Basic data-structure types used
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 76 of file itkPolyLineParametricPath.h.
typedef Index< VDimension > itk::PolyLineParametricPath< VDimension >::IndexType |
All paths must be mapable to index space
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 77 of file itkPolyLineParametricPath.h.
typedef Superclass::InputType itk::PolyLineParametricPath< VDimension >::InputType |
Input type
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 67 of file itkPolyLineParametricPath.h.
typedef Offset< VDimension > itk::PolyLineParametricPath< VDimension >::OffsetType |
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 78 of file itkPolyLineParametricPath.h.
typedef Superclass::OutputType itk::PolyLineParametricPath< VDimension >::OutputType |
Output type
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 73 of file itkPolyLineParametricPath.h.
typedef SmartPointer< Self > itk::PolyLineParametricPath< VDimension >::Pointer |
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 63 of file itkPolyLineParametricPath.h.
typedef Point< double, VDimension > itk::PolyLineParametricPath< VDimension >::PointType |
Definition at line 79 of file itkPolyLineParametricPath.h.
typedef PolyLineParametricPath itk::PolyLineParametricPath< VDimension >::Self |
Standard class typedefs.
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 61 of file itkPolyLineParametricPath.h.
typedef ParametricPath< VDimension > itk::PolyLineParametricPath< VDimension >::Superclass |
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 62 of file itkPolyLineParametricPath.h.
typedef Vector< double, VDimension > itk::PolyLineParametricPath< VDimension >::VectorType |
Reimplemented from itk::ParametricPath< VDimension >.
Definition at line 80 of file itkPolyLineParametricPath.h.
typedef VertexListType::Pointer itk::PolyLineParametricPath< VDimension >::VertexListPointer |
Definition at line 83 of file itkPolyLineParametricPath.h.
typedef VectorContainer< unsigned, VertexType > itk::PolyLineParametricPath< VDimension >::VertexListType |
Definition at line 82 of file itkPolyLineParametricPath.h.
typedef ContinuousIndexType itk::PolyLineParametricPath< VDimension >::VertexType |
Definition at line 81 of file itkPolyLineParametricPath.h.
itk::PolyLineParametricPath< VDimension >::PolyLineParametricPath | ( | ) | [protected] |
Return the container of Vertices as a const object.
itk::PolyLineParametricPath< VDimension >::~PolyLineParametricPath | ( | ) | [inline, protected] |
Return the container of Vertices as a const object.
Definition at line 124 of file itkPolyLineParametricPath.h.
itk::PolyLineParametricPath< VDimension >::PolyLineParametricPath | ( | const Self & | ) | [private] |
void itk::PolyLineParametricPath< VDimension >::AddVertex | ( | const ContinuousIndexType & | vertex | ) | [inline] |
Evaluate the first derivative of the ND output with respect to the 1D input. This is an exact, algebraic function. Add a vertex (and a connecting line segment to the previous vertex). Adding a vertex has the additional effect of extending the domain of the PolyLineParametricPath by 1.0 (each pair of consecutive verticies is seperated by one unit of input).
Definition at line 96 of file itkPolyLineParametricPath.h.
virtual::itk::LightObject::Pointer itk::PolyLineParametricPath< VDimension >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
virtual InputType itk::PolyLineParametricPath< VDimension >::EndOfInput | ( | ) | const [inline, virtual] |
Where does the path end? This value is necessary for IncrementInput() to know how to go to the end of a path. Since each line segment covers one unit of input, this is the number of verticies - 1.
Reimplemented from itk::Path< double, ContinuousIndex< double, VDimension >, VDimension >.
Definition at line 106 of file itkPolyLineParametricPath.h.
virtual OutputType itk::PolyLineParametricPath< VDimension >::Evaluate | ( | const InputType & | input | ) | const [virtual] |
Return the location of the parametric path at the specified location.
virtual const char* itk::PolyLineParametricPath< VDimension >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ParametricPath< VDimension >.
virtual const VertexListType* itk::PolyLineParametricPath< VDimension >::GetVertexList | ( | ) | [virtual] |
Return the container of Vertices as a const object.
virtual void itk::PolyLineParametricPath< VDimension >::Initialize | ( | void | ) | [inline, virtual] |
Needed for Pipelining
Reimplemented from itk::DataObject.
Definition at line 115 of file itkPolyLineParametricPath.h.
static Pointer itk::PolyLineParametricPath< VDimension >::New | ( | ) | [static] |
New() method for dynamic construction
Reimplemented from itk::Object.
void itk::PolyLineParametricPath< VDimension >::operator= | ( | const Self & | ) | [private] |
Default 1D input increment amount to trace along the path. Also, the value used by the defualt implementation of EvaluateDerivative() for numerically approximating the derivative with the change over a single default-sized step. (NOTE that the default implementation of EvaluateDerivative() should never be used in practice, but users or lazzy developers may nevertheless unwisely choose to do so anyway.) For integer- input-types, 1 is probably the correct value. For double-input-types, either 1 or 0.1 are probably good values. This value should be set in the constructor of all instantiable children. Values set in child constructors overwrite values set in parent constructors.
Reimplemented from itk::ParametricPath< VDimension >.
void itk::PolyLineParametricPath< VDimension >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Return the container of Vertices as a const object.
Reimplemented from itk::ParametricPath< VDimension >.
VertexListPointer itk::PolyLineParametricPath< VDimension >::m_VertexList [private] |
Definition at line 132 of file itkPolyLineParametricPath.h.