#include <itkImageRandomConstIteratorWithIndex.h>
Inheritance diagram for itk::ImageRandomConstIteratorWithIndex< TImage >:


Public Types | |
| typedef TImage::AccessorFunctorType | AccessorFunctorType |
| typedef TImage::AccessorType | AccessorType |
| typedef TImage | ImageType |
| typedef TImage::IndexType | IndexType |
| typedef IndexType::IndexValueType | IndexValueType |
| typedef TImage::InternalPixelType | InternalPixelType |
| typedef TImage::OffsetType | OffsetType |
| typedef OffsetType::OffsetValueType | OffsetValueType |
| typedef TImage::PixelContainer | PixelContainer |
| typedef PixelContainer::Pointer | PixelContainerPointer |
| typedef TImage::PixelType | PixelType |
| typedef TImage::RegionType | RegionType |
| typedef ImageRandomConstIteratorWithIndex | Self |
| typedef TImage::SizeType | SizeType |
| typedef SizeType::SizeValueType | SizeValueType |
| typedef ImageConstIteratorWithIndex< TImage > | Superclass |
Public Member Functions | |
| Self | Begin (void) const |
| Decrement (prefix) the selected dimension.*No bounds checking is performed.\sa GetIndex\sa operator++*/Self &operator--() | |
| Self | End (void) const |
| PixelType | Get (void) const |
| const IndexType & | GetIndex () const |
| unsigned long | GetNumberOfSamples (void) const |
| const RegionType & | GetRegion () const |
| Move an iterator to the beginning of the region *void | GoToBegin (void) |
| Move an iterator to one position past the End of the region *void | GoToEnd (void) |
| void | GoToReverseBegin (void) |
| ImageRandomConstIteratorWithIndex (const ImageConstIteratorWithIndex< TImage > &it) | |
| ImageRandomConstIteratorWithIndex (const ImageType *ptr, const RegionType ®ion) | |
| Default constructor Needed since we provide a cast constructor * | ImageRandomConstIteratorWithIndex () |
| Increment (prefix) the selected dimension.*No bounds checking is performed.\sa GetIndex\sa operator--*/Self &operator++() | |
| bool | IsAtBegin (void) const |
| bool | IsAtEnd (void) const |
| bool | IsAtReverseEnd (void) const |
| itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension) | |
| Comparison | operator.An iterator is"greater than"another if it *"points to"a higher location.*/bool operator> (const Self &it) const |
| Comparison | operator.An iterator is"greater than"another if it *"points to"a higher location.*/bool operator>= (const Self &it) const |
| Comparison | operator.An iterator is"less than"another if it"points to"*a lower memory location.*/bool operator< (const Self &it) const |
| Comparison | operator.An iterator is"less than"another if it"points to"*a lower memory location.*/bool operator<= (const Self &it) const |
| Comparison | operator.Two iterators are the same if they"point to"the *same memory location */bool operator!= (const Self &it) const |
| Comparison | operator.Two iterators are the same if they"point to"the *same memory location */bool operator== (const Self &it) const |
| void | ReinitializeSeed (int) |
| Reinitialize the seed of the random number generator *void | ReinitializeSeed () |
| bool | Remaining () |
| Set the index No bounds checking is performed *sa GetIndex *void | SetIndex (const IndexType &ind) |
| Set Get number of random samples to get from the image region *void | SetNumberOfSamples (unsigned long number) |
| const PixelType & | Value (void) const |
| ~ImageRandomConstIteratorWithIndex () | |
Static Public Member Functions | |
| static unsigned int | GetImageDimension () |
Protected Attributes | |
| const InternalPixelType * | m_Begin |
| IndexType | m_BeginIndex |
| const InternalPixelType * | m_End |
| IndexType | m_EndIndex |
| TImage::ConstWeakPointer | m_Image |
| unsigned long | m_OffsetTable [ImageDimension+1] |
| AccessorType | m_PixelAccessor |
| AccessorFunctorType | m_PixelAccessorFunctor |
| const InternalPixelType * | m_Position |
| IndexType | m_PositionIndex |
| RegionType | m_Region |
| bool | m_Remaining |
|
|||||
|
Definition at line 132 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Accessor type that convert data between internal and external representations. Reimplemented in itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, and itk::ImageLinearIteratorWithIndex< TImageType >. Definition at line 131 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Image typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc. Note that we have to rescope Index back to itk::Index to that is it not confused with ImageIterator::Index. Reimplemented from itk::ImageConstIteratorWithIndex< TImage >. Reimplemented in itk::ImageRandomIteratorWithIndex< TImage >. Definition at line 136 of file itkImageRandomConstIteratorWithIndex.h. |
|
|||||
|
Index typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc. Note that we have to rescope Index back to itk::Index to that is it not confused with ImageIterator::Index. Reimplemented from itk::ImageConstIteratorWithIndex< TImage >. Reimplemented in itk::ImageRandomIteratorWithIndex< TImage >. Definition at line 124 of file itkImageRandomConstIteratorWithIndex.h. |
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
|
PixelContainer typedef support. Used to refer to the container for the pixel data. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc. Reimplemented from itk::ImageConstIteratorWithIndex< TImage >. Reimplemented in itk::ImageRandomIteratorWithIndex< TImage >. Definition at line 141 of file itkImageRandomConstIteratorWithIndex.h. |
|
|||||
|
Reimplemented from itk::ImageConstIteratorWithIndex< TImage >. Reimplemented in itk::ImageRandomIteratorWithIndex< TImage >. Definition at line 142 of file itkImageRandomConstIteratorWithIndex.h. |
|
|||||
|
|||||
|
Region typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc. Note that we have to rescope Region back to itk::ImageRegion so that is it not confused with ImageIterator::Index. Reimplemented from itk::ImageConstIteratorWithIndex< TImage >. Reimplemented in itk::ImageRandomIteratorWithIndex< TImage >. Definition at line 130 of file itkImageRandomConstIteratorWithIndex.h. |
|
|||||
|
Standard class typedefs. Reimplemented from itk::ImageConstIteratorWithIndex< TImage >. Reimplemented in itk::ImageRandomIteratorWithIndex< TImage >. Definition at line 117 of file itkImageRandomConstIteratorWithIndex.h. |
|
|||||
|
|||||
|
|||||
|
Reimplemented in itk::ImageRandomIteratorWithIndex< TImage >. Definition at line 118 of file itkImageRandomConstIteratorWithIndex.h. |
|
|||||||||
|
|
|
|||||||||
|
Definition at line 146 of file itkImageRandomConstIteratorWithIndex.h. |
|
||||||||||||||||
|
Constructor establishes an iterator to walk a particular image and a particular region of that image. |
|
||||||||||
|
Constructor that can be used to cast from an ImageIterator to an ImageRandomConstIteratorWithIndex. Many routines return an ImageIterator but for a particular task, you may want an ImageRandomConstIteratorWithIndex. Rather than provide overloaded APIs that return different types of Iterators, itk returns ImageIterators and uses constructors to cast from an ImageIterator to a ImageRandomConstIteratorWithIndex. Definition at line 159 of file itkImageRandomConstIteratorWithIndex.h. |
|
||||||||||
|
Move an iterator to the beginning of the region.
|
|
||||||||||
|
Definition at line 196 of file itkImageRandomConstIteratorWithIndex.h. |
|
||||||||||
|
Move an iterator to the End of the region.
|
|
||||||||||
|
Get the pixel value Definition at line 241 of file itkImageConstIteratorWithIndex.h. |
|
|||||||||
|
Get the dimension (size) of the index. Definition at line 156 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
Get the index. This provides a read only reference to the index.
Definition at line 225 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
|
|
|||||||||
|
Get the region that this iterator walks. ImageIterators know the beginning and the end of the region of the image to iterate over. Definition at line 230 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
Move an iterator to the beginning of the region. Reimplemented from itk::ImageConstIteratorWithIndex< TImage >. Definition at line 163 of file itkImageRandomConstIteratorWithIndex.h. |
|
||||||||||
|
Definition at line 171 of file itkImageRandomConstIteratorWithIndex.h. |
|
||||||||||
|
Move an iterator to the End of the region. |
|
||||||||||
|
Definition at line 186 of file itkImageRandomConstIteratorWithIndex.h. |
|
||||||||||
|
Is the iterator at the beginning of the region? Definition at line 179 of file itkImageRandomConstIteratorWithIndex.h. |
|
||||||||||
|
Is the iterator at the end of the region? Reimplemented from itk::ImageConstIteratorWithIndex< TImage >. Definition at line 183 of file itkImageRandomConstIteratorWithIndex.h. |
|
||||||||||
|
Is the iterator at the beginning of the region? Definition at line 265 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||||||||||||
|
Dimension of the image the iterator walks. This constant is needed so functions that are templated over image iterator type (as opposed to being templated over pixel type and dimension) can have compile time access to the dimension of the image that the iterator walks. |
|
||||||||||
|
Definition at line 215 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
Definition at line 204 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
Definition at line 193 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
Definition at line 182 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
Definition at line 162 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
Definition at line 172 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Are there data remainning in the region ? Definition at line 277 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
Definition at line 235 of file itkImageConstIteratorWithIndex.h. |
|
||||||||||
|
|
|
||||||||||
|
Return a const reference to the pixel This method will provide the fastest access to pixel data, but it will NOT support ImageAdaptors. Definition at line 247 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 296 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 286 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 297 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 287 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 283 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 293 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 301 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 302 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 295 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 285 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 291 of file itkImageConstIteratorWithIndex.h. |
|
|||||
|
Definition at line 299 of file itkImageConstIteratorWithIndex.h. |
1.4.2 written by Dimitri van Heesch,
© 1997-2000