ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkSparseImage.h>
A storage type for sparse image data.
struct NodeType { NodeType* Next; NodeType* Previous; ImageType::IndexType m_Index; unsigned char m_Data; }; typedef itk::SparseImage<NodeType, 2> SparseImageType;
Definition at line 67 of file itkSparseImage.h.
typedef SmartPointer< const Self > itk::SparseImage< TNode, VImageDimension >::ConstPointer |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 74 of file itkSparseImage.h.
typedef WeakPointer< const Self > itk::SparseImage< TNode, VImageDimension >::ConstWeakPointer |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 75 of file itkSparseImage.h.
typedef Superclass::IndexType itk::SparseImage< TNode, VImageDimension >::IndexType |
Types derived from the Superclass
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 91 of file itkSparseImage.h.
typedef Superclass::IOPixelType itk::SparseImage< TNode, VImageDimension >::IOPixelType |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 98 of file itkSparseImage.h.
typedef NeighborhoodAccessorFunctor< Self > itk::SparseImage< TNode, VImageDimension >::NeighborhoodAccessorFunctorType |
Tyepdef for the functor used to access a neighborhood of pixel pointers.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 96 of file itkSparseImage.h.
typedef SparseFieldLayer< NodeType > itk::SparseImage< TNode, VImageDimension >::NodeListType |
The list types for storing the active pixels.
Definition at line 101 of file itkSparseImage.h.
typedef ObjectStore< NodeType > itk::SparseImage< TNode, VImageDimension >::NodeStoreType |
Definition at line 102 of file itkSparseImage.h.
typedef TNode itk::SparseImage< TNode, VImageDimension >::NodeType |
The actual sparse pixel type.
Definition at line 88 of file itkSparseImage.h.
typedef SmartPointer< Self > itk::SparseImage< TNode, VImageDimension >::Pointer |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 73 of file itkSparseImage.h.
typedef SparseImage itk::SparseImage< TNode, VImageDimension >::Self |
Standard typedefs.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 71 of file itkSparseImage.h.
typedef Image< TNode *, VImageDimension > itk::SparseImage< TNode, VImageDimension >::Superclass |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 72 of file itkSparseImage.h.
itk::SparseImage< TNode, VImageDimension >::SparseImage | ( | ) | [protected] |
itk::SparseImage< TNode, VImageDimension >::~SparseImage | ( | ) | [inline, protected] |
Definition at line 139 of file itkSparseImage.h.
itk::SparseImage< TNode, VImageDimension >::SparseImage | ( | const Self & | ) | [private] |
NodeType* itk::SparseImage< TNode, VImageDimension >::AddNode | ( | const IndexType & | index | ) | [inline] |
This function should be used to allocate memory for a variable at the desired pixel location.
Definition at line 116 of file itkSparseImage.h.
virtual::itk::LightObject::Pointer itk::SparseImage< TNode, VImageDimension >::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::Image< TNode *, VImageDimension >.
virtual const char* itk::SparseImage< TNode, VImageDimension >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Image< TNode *, VImageDimension >.
NeighborhoodAccessorFunctorType itk::SparseImage< TNode, VImageDimension >::GetNeighborhoodAccessor | ( | ) | [inline] |
Return the NeighborhoodAccessor functor. This method is called by the neighborhood iterators.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 106 of file itkSparseImage.h.
const NeighborhoodAccessorFunctorType itk::SparseImage< TNode, VImageDimension >::GetNeighborhoodAccessor | ( | ) | const [inline] |
Return the NeighborhoodAccessor functor. This method is called by the neighborhood iterators.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 111 of file itkSparseImage.h.
NodeListType* itk::SparseImage< TNode, VImageDimension >::GetNodeList | ( | ) | [inline] |
This function returns the allocated node list which can be used to iterate through the valid nodes.
Definition at line 128 of file itkSparseImage.h.
virtual void itk::SparseImage< TNode, VImageDimension >::Initialize | ( | ) | [virtual] |
This function initializes the m_NodeList and m_NodeStore variables, and calls the superclass Initialize method.
Reimplemented from itk::Image< TNode *, VImageDimension >.
static Pointer itk::SparseImage< TNode, VImageDimension >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Image< TNode *, VImageDimension >.
void itk::SparseImage< TNode, VImageDimension >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::Image< TNode *, VImageDimension >.
void itk::SparseImage< TNode, VImageDimension >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.
Reimplemented from itk::Image< TNode *, VImageDimension >.
const unsigned int itk::SparseImage< TNode, VImageDimension >::ImageDimension = Superclass::ImageDimension [static] |
Dimension of the image.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 85 of file itkSparseImage.h.
NodeListType::Pointer itk::SparseImage< TNode, VImageDimension >::m_NodeList [private] |
The variables for storing the node variables.
Definition at line 145 of file itkSparseImage.h.
NodeStoreType::Pointer itk::SparseImage< TNode, VImageDimension >::m_NodeStore [private] |
Definition at line 147 of file itkSparseImage.h.