#include <itkNeighborhoodAllocator.h>
Collaboration diagram for itk::NeighborhoodAllocator< TPixel >:

The decision to create this allocator with the vnl_vector api (versus using an STL allocator and wrapping the vnl_vector API) was made because the STL allocator API is not guaranteed stable at this time.
Definition at line 35 of file itkNeighborhoodAllocator.h.
Public Types | |
| typedef const TPixel * | const_iterator |
| typedef TPixel * | iterator |
| typedef NeighborhoodAllocator | Self |
Public Member Functions | |
| const_iterator | begin () const |
| STL style iterator support for the memory buffer *iterator | begin () |
| const_iterator | end () const |
| iterator | end () |
| Copy constructor * | NeighborhoodAllocator (const Self &other) |
| NeighborhoodAllocator () | |
| bool | operator!= (const Self &other) const |
| Assignment | operator.*/const Self &operator= (const Self &other) |
| bool | operator== (const Self &other) const |
| TPixel & | operator[] (unsigned int i) |
| Data access methods *const TPixel & | operator[] (unsigned int i) const |
| Allocates or Reallocates a buffer of size n *void | set_size (unsigned int n) |
| unsigned int | size () const |
| ~NeighborhoodAllocator () | |
Public Attributes | |
| m_ElementCount = n | |
Protected Attributes | |
| TPixel * | m_Data |
| unsigned int | m_ElementCount |
|
|||||
|
Definition at line 46 of file itkNeighborhoodAllocator.h. |
|
|||||
|
Iterator support. Note that the naming of the typedefs is on purpose. itk::Neighborhood makes reference to the allocator, which because it may be vnl or other type, uses the lower case/underscore forms iterator and const_iterator. Definition at line 45 of file itkNeighborhoodAllocator.h. |
|
|||||
|
Standard class typedefs. Definition at line 39 of file itkNeighborhoodAllocator.h. |
|
|||||||||
|
Default constructor Definition at line 49 of file itkNeighborhoodAllocator.h. |
|
|||||||||
|
Default destructor Definition at line 52 of file itkNeighborhoodAllocator.h. |
|
||||||||||
|
Definition at line 72 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_ElementCount, itk::NeighborhoodAllocator< TPixel >::operator[](), and itk::NeighborhoodAllocator< TPixel >::set_size(). |
|
|||||||||
|
Definition at line 107 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data. |
|
|||||||||
|
Definition at line 105 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data. |
|
|||||||||
|
Definition at line 111 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data, and itk::NeighborhoodAllocator< TPixel >::m_ElementCount. |
|
|||||||||
|
Definition at line 109 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data, and itk::NeighborhoodAllocator< TPixel >::m_ElementCount. |
|
||||||||||
|
Not Equal operator. Definition at line 99 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data. |
|
||||||||||
|
Definition at line 82 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_ElementCount, itk::NeighborhoodAllocator< TPixel >::operator[](), and itk::NeighborhoodAllocator< TPixel >::set_size(). |
|
||||||||||
|
Comparison operator. Definition at line 93 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data. |
|
||||||||||
|
Definition at line 120 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data. |
|
||||||||||
|
Definition at line 118 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data. Referenced by itk::NeighborhoodAllocator< TPixel >::NeighborhoodAllocator(), and itk::NeighborhoodAllocator< TPixel >::operator.*/const Self &operator=(). |
|
||||||||||
|
Definition at line 125 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_Data. Referenced by itk::NeighborhoodAllocator< TPixel >::NeighborhoodAllocator(), and itk::NeighborhoodAllocator< TPixel >::operator.*/const Self &operator=(). |
|
||||||||||
|
Definition at line 113 of file itkNeighborhoodAllocator.h. References itk::NeighborhoodAllocator< TPixel >::m_ElementCount. |
|
|||||
|
|||||
|
Definition at line 133 of file itkNeighborhoodAllocator.h. |
|
|||||
1.4.2 written by Dimitri van Heesch,
© 1997-2000