ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkSpeedFunctionPathInformation.h>
PathInfo class for encapsulating information about a path for a SpeedFunctionToPathFilter Object. The points are stored as follows: end, start, way0, way1, ..., wayN. Each element of a path can be a set of points - e.g. "end" may be derived from a segmentation mask. Alternatively start and end may be the left and right sides of a 2d image, producing a minimal path across the image. Fronts are propagated in reverse order: wayN, ..., way1, way0, start. (NOTE: a front is never propagated from end).
The user must provide at least one PathInfo object using SpeedFunctionToPathFilter::AddPathInfo(). If multiple PathInfo objects are added, multiple paths are extracted and saved to separate filter outputs.
Definition at line 52 of file itkSpeedFunctionPathInformation.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | PointsContainerType = std::vector< PointType > |
using | PointType = TPoint |
using | Self = SpeedFunctionPathInformation |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
PointsContainerType | PtoPVec (const PointType &P) |
SpeedFunctionPathInformation () | |
~SpeedFunctionPathInformation () override | |
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 () |
Protected Attributes | |
SizeValueType | m_Front |
std::vector< PointsContainerType > | m_Information |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::SpeedFunctionPathInformation< TPoint >::ConstPointer = SmartPointer<const Self> |
Definition at line 62 of file itkSpeedFunctionPathInformation.h.
using itk::SpeedFunctionPathInformation< TPoint >::Pointer = SmartPointer<Self> |
Definition at line 61 of file itkSpeedFunctionPathInformation.h.
using itk::SpeedFunctionPathInformation< TPoint >::PointsContainerType = std::vector< PointType > |
Definition at line 73 of file itkSpeedFunctionPathInformation.h.
using itk::SpeedFunctionPathInformation< TPoint >::PointType = TPoint |
Some point type alias.
Definition at line 72 of file itkSpeedFunctionPathInformation.h.
using itk::SpeedFunctionPathInformation< TPoint >::Self = SpeedFunctionPathInformation |
Standard class type alias.
Definition at line 59 of file itkSpeedFunctionPathInformation.h.
using itk::SpeedFunctionPathInformation< TPoint >::Superclass = LightObject |
Definition at line 60 of file itkSpeedFunctionPathInformation.h.
|
protected |
|
overrideprotected |
void itk::SpeedFunctionPathInformation< TPoint >::AddWayPoint | ( | const PointType & | way | ) |
void itk::SpeedFunctionPathInformation< TPoint >::AddWayPoint | ( | const PointsContainerType & | way | ) |
void itk::SpeedFunctionPathInformation< TPoint >::Advance | ( | ) |
void itk::SpeedFunctionPathInformation< TPoint >::ClearInfo | ( | ) |
|
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::LightObject.
const PointsContainerType& itk::SpeedFunctionPathInformation< TPoint >::GetCurrentFrontAndAdvance | ( | ) |
const PointsContainerType& itk::SpeedFunctionPathInformation< TPoint >::GetEndPoint | ( | ) | const |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightObject.
unsigned int itk::SpeedFunctionPathInformation< TPoint >::GetNumberOfPoints | ( | ) | const |
const PointsContainerType& itk::SpeedFunctionPathInformation< TPoint >::GetStartPoint | ( | ) | const |
const PointsContainerType& itk::SpeedFunctionPathInformation< TPoint >::GetWayPoint | ( | SizeValueType | i | ) | const |
bool itk::SpeedFunctionPathInformation< TPoint >::HasNextFront | ( | ) | const |
|
static |
Method for creation through the object factory.
const PointsContainerType& itk::SpeedFunctionPathInformation< TPoint >::PeekCurrentFront | ( | ) | const |
const PointsContainerType& itk::SpeedFunctionPathInformation< TPoint >::PeekNextFront | ( | ) | const |
const PointsContainerType& itk::SpeedFunctionPathInformation< TPoint >::PeekPreviousFront | ( | ) | const |
|
overrideprotectedvirtual |
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::LightObject.
|
inlineprotected |
Definition at line 131 of file itkSpeedFunctionPathInformation.h.
void itk::SpeedFunctionPathInformation< TPoint >::SetCurrent | ( | const PointsContainerType & | newcurrent | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetCurrent | ( | const PointType & | current | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetEndPoint | ( | const PointType & | end | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetEndPoint | ( | const PointsContainerType & | end | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetNext | ( | const PointsContainerType & | newnext | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetNext | ( | const PointType & | newnext | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetPrevious | ( | const PointsContainerType & | newprevious | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetPrevious | ( | const PointType & | newprevious | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetStartPoint | ( | const PointType & | start | ) |
void itk::SpeedFunctionPathInformation< TPoint >::SetStartPoint | ( | const PointsContainerType & | start | ) |
Methods for adding extended path components
|
protected |
Definition at line 128 of file itkSpeedFunctionPathInformation.h.
|
protected |
Definition at line 127 of file itkSpeedFunctionPathInformation.h.