ITK
6.0.0
Insight Toolkit
|
#include <itkSparseFieldLayer.h>
A very simple linked list that is used to manage nodes in a layer of a sparse field level-set solver.
Definition at line 162 of file itkSparseFieldLayer.h.
Classes | |
struct | RegionType |
Public Types | |
using | ConstIterator = ConstSparseFieldLayerIterator< NodeType > |
using | ConstPointer = SmartPointer< const Self > |
using | Iterator = SparseFieldLayerIterator< NodeType > |
using | NodeType = TNodeType |
using | Pointer = SmartPointer< Self > |
using | RegionListType = std::vector< RegionType > |
using | Self = SparseFieldLayer |
using | Superclass = Object |
using | ValueType = NodeType |
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 | |
Iterator | Begin () |
ConstIterator | Begin () const |
Iterator | End () |
ConstIterator | End () const |
NodeType * | Front () |
const NodeType * | Front () const |
const char * | GetNameOfClass () const override |
unsigned int | Size () const |
RegionListType | SplitRegions (int num) const |
void | Unlink (NodeType *n) |
void | PopFront () |
void | PushFront (NodeType *n) |
bool | Empty () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
const char * | GetNameOfClass () const override |
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) const |
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 Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Static Public Member Functions | |
static Pointer | New () |
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 () |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
SparseFieldLayer () | |
~SparseFieldLayer () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () 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 | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
const std::unique_ptr< NodeType > | m_HeadNode { std::make_unique<NodeType>() } |
unsigned int | m_Size {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::SparseFieldLayer< TNodeType >::ConstIterator = ConstSparseFieldLayerIterator<NodeType> |
Const iterator type for the list.
Definition at line 190 of file itkSparseFieldLayer.h.
using itk::SparseFieldLayer< TNodeType >::ConstPointer = SmartPointer<const Self> |
Definition at line 171 of file itkSparseFieldLayer.h.
using itk::SparseFieldLayer< TNodeType >::Iterator = SparseFieldLayerIterator<NodeType> |
Iterator type for the list.
Definition at line 187 of file itkSparseFieldLayer.h.
using itk::SparseFieldLayer< TNodeType >::NodeType = TNodeType |
Type of node stored in the linked list.
Definition at line 180 of file itkSparseFieldLayer.h.
using itk::SparseFieldLayer< TNodeType >::Pointer = SmartPointer<Self> |
Definition at line 170 of file itkSparseFieldLayer.h.
using itk::SparseFieldLayer< TNodeType >::RegionListType = std::vector<RegionType> |
Definition at line 199 of file itkSparseFieldLayer.h.
using itk::SparseFieldLayer< TNodeType >::Self = SparseFieldLayer |
Standard type alias.
Definition at line 168 of file itkSparseFieldLayer.h.
using itk::SparseFieldLayer< TNodeType >::Superclass = Object |
Definition at line 169 of file itkSparseFieldLayer.h.
using itk::SparseFieldLayer< TNodeType >::ValueType = NodeType |
Alias for the type of value stored in the list. Conforms to Standard Template Library vocabulary.
Definition at line 184 of file itkSparseFieldLayer.h.
|
protected |
|
overrideprotecteddefault |
|
inline |
Returns an iterator pointing to the first node in the list.
Definition at line 249 of file itkSparseFieldLayer.h.
|
inline |
Returns a const iterator pointing to the first node in the list.
Definition at line 257 of file itkSparseFieldLayer.h.
|
inline |
Returns TRUE if the list is empty, FALSE otherwise. Executes in constant time.
Definition at line 279 of file itkSparseFieldLayer.h.
|
inline |
Returns an iterator pointing one node past the end of the list.
Definition at line 264 of file itkSparseFieldLayer.h.
|
inline |
Returns a const iterator pointing one node past the end of the list.
Definition at line 271 of file itkSparseFieldLayer.h.
|
inline |
Returns a pointer to the first node in the list. Constant time.
Definition at line 204 of file itkSparseFieldLayer.h.
|
inline |
Returns a const pointer to the first node in the list. Constant time.
Definition at line 211 of file itkSparseFieldLayer.h.
|
overridevirtual |
Reimplemented from itk::Object.
|
static |
Method for creation through the object factory.
|
inline |
Unlinks the first node from the list. Constant time.
Definition at line 218 of file itkSparseFieldLayer.h.
|
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::Object.
|
inline |
Links a node into the front of the list. Constant time.
Definition at line 228 of file itkSparseFieldLayer.h.
unsigned int itk::SparseFieldLayer< TNodeType >::Size | ( | ) | const |
Returns the number of elements in the list. Size() executes in constant time.
RegionListType itk::SparseFieldLayer< TNodeType >::SplitRegions | ( | int | num | ) | const |
Returns pointers to first and last+1 elements of num partitions of the itkSparseFieldLayer
|
inline |
Unlinks a node from the list
Definition at line 240 of file itkSparseFieldLayer.h.
|
private |
The anchor node of the list. m_HeadNode->Next is the first node in the list. If m_HeadNode->Next == m_HeadNode, then the list is empty.
Definition at line 311 of file itkSparseFieldLayer.h.
|
private |
Definition at line 312 of file itkSparseFieldLayer.h.