ITK
4.4.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.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef ContinuousIndex < double, VDimension > | ContinuousIndexType |
typedef Index< VDimension > | IndexType |
typedef Superclass::InputType | InputType |
typedef Offset< VDimension > | OffsetType |
typedef Superclass::OutputType | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef Point< double, VDimension > | PointType |
typedef PolyLineParametricPath | Self |
typedef ParametricPath < VDimension > | Superclass |
typedef Vector< double, VDimension > | VectorType |
typedef VertexListType::Pointer | VertexListPointer |
typedef VectorContainer < unsigned, VertexType > | VertexListType |
typedef ContinuousIndexType | VertexType |
Public Types inherited from itk::ParametricPath< VDimension > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef ContinuousIndex < double, VDimension > | ContinuousIndexType |
typedef Index< VDimension > | IndexType |
typedef Superclass::InputType | InputType |
typedef Offset< VDimension > | OffsetType |
typedef Superclass::OutputType | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef ParametricPath | Self |
typedef Path< double, ContinuousIndex< double, VDimension >, VDimension > | Superclass |
typedef Vector< double, VDimension > | VectorType |
Public Types inherited from itk::Path< double, ContinuousIndex< double, VDimension >, VDimension > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Index< VDimension > | IndexType |
typedef double | InputType |
typedef Offset< VDimension > | OffsetType |
typedef ContinuousIndex < double, VDimension > | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef Path | Self |
typedef DataObject | Superclass |
Public Types inherited from itk::DataObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef std::string | DataObjectIdentifierType |
typedef std::vector< Pointer > ::size_type | DataObjectPointerArraySizeType |
typedef SmartPointer< Self > | Pointer |
typedef DataObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
PolyLineParametricPath () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
~PolyLineParametricPath () | |
Protected Member Functions inherited from itk::ParametricPath< VDimension > | |
ParametricPath () | |
~ParametricPath () | |
Protected Member Functions inherited from itk::Path< double, ContinuousIndex< double, VDimension >, VDimension > | |
virtual IndexType | GetZeroIndex () const |
virtual OffsetType | GetZeroOffset () const |
Path () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
~Path () | |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
void | operator= (const Self &) |
PolyLineParametricPath (const Self &) | |
Private Attributes | |
VertexListPointer | m_VertexList |
Additional Inherited Members | |
Static Public Attributes inherited from itk::Path< double, ContinuousIndex< double, VDimension >, VDimension > | |
static const unsigned int | PathDimension |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::ParametricPath< VDimension > | |
InputType | m_DefaultInputStepSize |
typedef SmartPointer< const Self > itk::PolyLineParametricPath< VDimension >::ConstPointer |
Definition at line 64 of file itkPolyLineParametricPath.h.
typedef ContinuousIndex< double, VDimension > itk::PolyLineParametricPath< VDimension >::ContinuousIndexType |
Basic data-structure types used
Definition at line 76 of file itkPolyLineParametricPath.h.
typedef Index< VDimension > itk::PolyLineParametricPath< VDimension >::IndexType |
Definition at line 77 of file itkPolyLineParametricPath.h.
typedef Superclass::InputType itk::PolyLineParametricPath< VDimension >::InputType |
Input type
Definition at line 67 of file itkPolyLineParametricPath.h.
typedef Offset< VDimension > itk::PolyLineParametricPath< VDimension >::OffsetType |
Definition at line 78 of file itkPolyLineParametricPath.h.
typedef Superclass::OutputType itk::PolyLineParametricPath< VDimension >::OutputType |
Output type
Definition at line 73 of file itkPolyLineParametricPath.h.
typedef SmartPointer< Self > itk::PolyLineParametricPath< VDimension >::Pointer |
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.
Definition at line 61 of file itkPolyLineParametricPath.h.
typedef ParametricPath< VDimension > itk::PolyLineParametricPath< VDimension >::Superclass |
Definition at line 62 of file itkPolyLineParametricPath.h.
typedef Vector< double, VDimension > itk::PolyLineParametricPath< VDimension >::VectorType |
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.
|
protected |
|
inlineprotected |
Definition at line 136 of file itkPolyLineParametricPath.h.
|
private |
|
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 separated by one unit of input).
Definition at line 96 of file itkPolyLineParametricPath.h.
|
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.
|
inlinevirtual |
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 |
Return the location of the parametric path at the specified location.
|
virtual |
This function overrides the superclass EvaluateDerivative and instead calculates the instantaneous derivative of input by taking the index of the previous and next integral timepoints and subtracting them
Reimplemented from itk::ParametricPath< VDimension >.
|
virtual |
Return the container of Vertices as a const object.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ParametricPath< VDimension >.
|
virtual |
|
virtual |
This function overrides the superclass IncrementInput and calculates the next pixel along the path to visit by using the instantaneous partial derivatives to calculate the timestep needed to move along the path by one pixel
Reimplemented from itk::ParametricPath< VDimension >.
|
inlinevirtual |
Needed for Pipelining
Reimplemented from itk::DataObject.
Definition at line 115 of file itkPolyLineParametricPath.h.
|
static |
New() method for dynamic construction
|
private |
|
protectedvirtual |
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::ParametricPath< VDimension >.
|
private |
Definition at line 143 of file itkPolyLineParametricPath.h.