ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkSparseFieldLayer.h>
Classes | |
struct | RegionType |
Public Types | |
typedef ConstSparseFieldLayerIterator < NodeType > | ConstIterator |
typedef SmartPointer< const Self > | ConstPointer |
typedef SparseFieldLayerIterator < NodeType > | Iterator |
typedef TNodeType | NodeType |
typedef SmartPointer< Self > | Pointer |
typedef std::vector< RegionType > | RegionListType |
typedef SparseFieldLayer | Self |
typedef Object | Superclass |
typedef NodeType | ValueType |
Public Member Functions | |
Iterator | Begin () |
ConstIterator | Begin () const |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
Iterator | End () |
ConstIterator | End () const |
NodeType * | Front () |
const NodeType * | Front () const |
virtual const char * | GetNameOfClass () const |
void | PopFront () |
void | PushFront (NodeType *n) |
unsigned int | Size () const |
RegionListType | SplitRegions (int num) const |
void | Unlink (NodeType *n) |
bool | Empty () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
SparseFieldLayer () | |
~SparseFieldLayer () | |
Private Member Functions | |
void | operator= (const Self &) |
SparseFieldLayer (const Self &) | |
Private Attributes | |
NodeType * | m_HeadNode |
unsigned int | m_Size |
A very simple linked list that is used to manage nodes in a layer of a sparse field level-set solver.
Definition at line 151 of file itkSparseFieldLayer.h.
typedef ConstSparseFieldLayerIterator< NodeType > itk::SparseFieldLayer< TNodeType >::ConstIterator |
Const iterator type for the list.
Definition at line 178 of file itkSparseFieldLayer.h.
typedef SmartPointer< const Self > itk::SparseFieldLayer< TNodeType >::ConstPointer |
Reimplemented from itk::Object.
Definition at line 159 of file itkSparseFieldLayer.h.
typedef SparseFieldLayerIterator< NodeType > itk::SparseFieldLayer< TNodeType >::Iterator |
Iterator type for the list.
Definition at line 175 of file itkSparseFieldLayer.h.
typedef TNodeType itk::SparseFieldLayer< TNodeType >::NodeType |
Type of node stored in the linked list.
Definition at line 165 of file itkSparseFieldLayer.h.
typedef SmartPointer< Self > itk::SparseFieldLayer< TNodeType >::Pointer |
Reimplemented from itk::Object.
Definition at line 158 of file itkSparseFieldLayer.h.
typedef std::vector< RegionType > itk::SparseFieldLayer< TNodeType >::RegionListType |
Definition at line 186 of file itkSparseFieldLayer.h.
typedef SparseFieldLayer itk::SparseFieldLayer< TNodeType >::Self |
Standard typedefs.
Reimplemented from itk::Object.
Definition at line 156 of file itkSparseFieldLayer.h.
typedef Object itk::SparseFieldLayer< TNodeType >::Superclass |
Reimplemented from itk::Object.
Definition at line 157 of file itkSparseFieldLayer.h.
typedef NodeType itk::SparseFieldLayer< TNodeType >::ValueType |
Alias for the type of value stored in the list. Conforms to Standard Template Library vocabulary.
Definition at line 172 of file itkSparseFieldLayer.h.
itk::SparseFieldLayer< TNodeType >::SparseFieldLayer | ( | ) | [protected] |
itk::SparseFieldLayer< TNodeType >::~SparseFieldLayer | ( | ) | [protected] |
itk::SparseFieldLayer< TNodeType >::SparseFieldLayer | ( | const Self & | ) | [private] |
Iterator itk::SparseFieldLayer< TNodeType >::Begin | ( | void | ) | [inline] |
Returns an iterator pointing to the first node in the list.
Definition at line 224 of file itkSparseFieldLayer.h.
ConstIterator itk::SparseFieldLayer< TNodeType >::Begin | ( | void | ) | const [inline] |
Returns a const iterator pointing to the first node in the list.
Definition at line 229 of file itkSparseFieldLayer.h.
virtual::itk::LightObject::Pointer itk::SparseFieldLayer< TNodeType >::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.
bool itk::SparseFieldLayer< TNodeType >::Empty | ( | ) | const [inline] |
Returns TRUE if the list is empty, FALSE otherwise. Executes in constant time.
Definition at line 242 of file itkSparseFieldLayer.h.
Iterator itk::SparseFieldLayer< TNodeType >::End | ( | void | ) | [inline] |
Returns an iterator pointing one node past the end of the list.
Definition at line 233 of file itkSparseFieldLayer.h.
ConstIterator itk::SparseFieldLayer< TNodeType >::End | ( | void | ) | const [inline] |
Returns a const iterator pointing one node past the end of the list.
Definition at line 237 of file itkSparseFieldLayer.h.
NodeType* itk::SparseFieldLayer< TNodeType >::Front | ( | ) | [inline] |
Returns a pointer to the first node in the list. Constant time.
Definition at line 190 of file itkSparseFieldLayer.h.
const NodeType* itk::SparseFieldLayer< TNodeType >::Front | ( | ) | const [inline] |
Returns a const pointer to the first node in the list. Constant time.
Definition at line 194 of file itkSparseFieldLayer.h.
virtual const char* itk::SparseFieldLayer< TNodeType >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Object.
static Pointer itk::SparseFieldLayer< TNodeType >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::SparseFieldLayer< TNodeType >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::Object.
void itk::SparseFieldLayer< TNodeType >::PopFront | ( | ) | [inline] |
Unlinks the first node from the list. Constant time.
Definition at line 198 of file itkSparseFieldLayer.h.
virtual void itk::SparseFieldLayer< TNodeType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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.
void itk::SparseFieldLayer< TNodeType >::PushFront | ( | NodeType * | n | ) | [inline] |
Links a node into the front of the list. Constant time.
Definition at line 206 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
void itk::SparseFieldLayer< TNodeType >::Unlink | ( | NodeType * | n | ) | [inline] |
Unlinks a node from the list
Definition at line 216 of file itkSparseFieldLayer.h.
NodeType* itk::SparseFieldLayer< TNodeType >::m_HeadNode [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 268 of file itkSparseFieldLayer.h.
unsigned int itk::SparseFieldLayer< TNodeType >::m_Size [private] |
Definition at line 269 of file itkSparseFieldLayer.h.