ITK
5.2.0
Insight Toolkit
|
#include <itkChainCodePath.h>
Public Types | |
using | ChainCodeSizeType = typename ChainCodeType::size_type |
using | ChainCodeType = std::vector< OffsetType > |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = Index< VDimension > |
using | InputType = typename Superclass::InputType |
using | OffsetType = OutputType |
using | OutputType = typename Superclass::OutputType |
using | Pointer = SmartPointer< Self > |
using | Self = ChainCodePath< VDimension > |
using | Superclass = Path< unsigned int, Offset< VDimension >, VDimension > |
Public Types inherited from itk::Path< unsigned int, Offset< VDimension >, VDimension > | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = Index< VDimension > |
using | InputType = unsigned int |
using | OffsetType = Offset< VDimension > |
using | OutputType = Offset< VDimension > |
using | Pointer = SmartPointer< Self > |
using | Self = Path |
using | Superclass = DataObject |
Public Types inherited from itk::DataObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = std::string |
using | DataObjectPointerArraySizeType = std::vector< Pointer >::size_type |
using | Pointer = SmartPointer< Self > |
using | Self = DataObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
InputType | EndOfInput () const override |
OutputType | Evaluate (const InputType &input) const override |
IndexType | EvaluateToIndex (const InputType &input) const override |
virtual const char * | GetNameOfClass () const |
OffsetType | IncrementInput (InputType &input) const override |
Public Member Functions inherited from itk::Path< unsigned int, Offset< VDimension >, VDimension > | |
virtual OutputType | Evaluate (const InputType &input) const=0 |
virtual IndexType | EvaluateToIndex (const InputType &input) const=0 |
virtual OffsetType | IncrementInput (InputType &input) const=0 |
virtual InputType | StartOfInput () const |
Public Member Functions inherited from itk::DataObject | |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () const |
SmartPointer< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
bool | ShouldIReleaseData () const |
virtual void | Update () |
virtual void | UpdateOutputData () |
virtual void | UpdateOutputInformation () |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () const |
virtual void | PrepareForNewData () |
virtual void | DataHasBeenGenerated () |
virtual void | SetRequestedRegionToLargestPossibleRegion () |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
virtual bool | VerifyRequestedRegion () |
virtual void | CopyInformation (const DataObject *) |
virtual void | SetRequestedRegion (const DataObject *) |
virtual void | Graft (const DataObject *) |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static Pointer | New () |
static void | SetGlobalReleaseDataFlag (bool val) |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | Dimension = VDimension |
Static Public Attributes inherited from itk::Path< unsigned int, Offset< VDimension >, VDimension > | |
static constexpr unsigned int | PathDimension |
IndexType | m_Start |
ChainCodeType | m_Chain |
virtual void | SetStart (IndexType _arg) |
virtual const IndexType & | GetStart () const |
virtual void | InsertStep (InputType position, OffsetType step) |
virtual void | ChangeStep (InputType position, OffsetType step) |
virtual void | Clear () |
virtual ChainCodeSizeType | NumberOfSteps () const |
void | Initialize () override |
ChainCodePath () | |
~ChainCodePath () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Additional Inherited Members | |
Protected Member Functions inherited from itk::Path< unsigned int, Offset< VDimension >, VDimension > | |
virtual IndexType | GetZeroIndex () const |
virtual OffsetType | GetZeroOffset () const |
Path () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~Path () override=default | |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
~DataObject () override | |
virtual void | PropagateResetPipeline () |
Protected Member Functions inherited from itk::Object | |
Object () | |
~Object () override | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
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 inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Represent a path as a sequence of connected image index offsets.
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 preceding, 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 integer output (either an offset or an image index, depending on whether Evaluate or EvaluateToIndex is called).
Definition at line 50 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::ChainCodeSizeType = typename ChainCodeType::size_type |
Definition at line 78 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::ChainCodeType = std::vector<OffsetType> |
Definition at line 76 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 63 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::IndexType = Index<VDimension> |
Definition at line 74 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::InputType = typename Superclass::InputType |
Definition at line 70 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::OffsetType = OutputType |
The output type of this function is an Index
Definition at line 73 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::OutputType = typename Superclass::OutputType |
OutputType type alias support
Definition at line 69 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::Pointer = SmartPointer<Self> |
Definition at line 62 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::Self = ChainCodePath<VDimension> |
Standard class type aliases.
Definition at line 59 of file itkChainCodePath.h.
using itk::ChainCodePath< VDimension >::Superclass = Path<unsigned int, Offset<VDimension>, VDimension> |
Definition at line 60 of file itkChainCodePath.h.
|
protected |
Set/Get the index associated with the initial position of the path
|
overrideprotecteddefault |
Set/Get the index associated with the initial position of the path
|
inlinevirtual |
Change the direction of a step in the chaincode
Definition at line 126 of file itkChainCodePath.h.
|
inlinevirtual |
Remove all steps from the chain code
Reimplemented in itk::ChainCodePath2D.
Definition at line 135 of file itkChainCodePath.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.
|
inlineoverridevirtual |
Where does the path end (what is the last valid input value)?
Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >.
Definition at line 102 of file itkChainCodePath.h.
|
inlineoverride |
Evaluate the chaincode for the offset at the specified path-position.
Definition at line 84 of file itkChainCodePath.h.
|
override |
Like Evaluate(), but returns the index at the specified path-position.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Path< unsigned int, Offset< VDimension >, VDimension >.
Reimplemented in itk::ChainCodePath2D.
|
virtual |
Set/Get the index associated with the initial position of the path
|
override |
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.
|
inlineoverridevirtual |
Needed for Pipelining
Reimplemented from itk::DataObject.
Definition at line 151 of file itkChainCodePath.h.
|
inlinevirtual |
Insert a new step into the chaincode at a specified position
Definition at line 117 of file itkChainCodePath.h.
|
static |
New() method for dynamic construction
|
inlinevirtual |
How many steps in the chaincode?
Reimplemented in itk::ChainCodePath2D.
Definition at line 144 of file itkChainCodePath.h.
|
overrideprotectedvirtual |
Set/Get the index associated with the initial position of the path
Reimplemented from itk::DataObject.
|
virtual |
Set/Get the index associated with the initial position of the path
|
staticconstexpr |
Dimension underlying input image.
Definition at line 56 of file itkChainCodePath.h.
|
private |
Set/Get the index associated with the initial position of the path
Definition at line 166 of file itkChainCodePath.h.
|
private |
Set/Get the index associated with the initial position of the path
Definition at line 165 of file itkChainCodePath.h.