| VTK
    | 
an image region iterator More...
#include <vtkImageStencilIterator.h>
| Public Member Functions | |
| vtkImageStencilIterator () | |
| void | NextSpan () | 
| vtkImageStencilIterator (vtkImageData *image, vtkImageStencilData *stencil, int extent[6], vtkAlgorithm *algorithm=0, int threadId=0) | |
| void | Initialize (vtkImageData *image, vtkImageStencilData *stencil, int extent[6]) | 
| bool | IsInStencil () | 
| bool | IsAtEnd () | 
| DType * | BeginSpan () | 
| DType * | EndSpan () | 
| Protected Member Functions | |
| void | SetSpanState (int idX) | 
| void | ReportProgress () | 
| Protected Attributes | |
| DType * | Pointer | 
| DType * | SpanEndPointer | 
| DType * | RowEndPointer | 
| DType * | SliceEndPointer | 
| DType * | EndPointer | 
| vtkIdType | PixelIncrement | 
| vtkIdType | RowIncrement | 
| vtkIdType | SliceIncrement | 
| vtkIdType | RowEndIncrement | 
| vtkIdType | SliceEndIncrement | 
| bool | HasStencil | 
| bool | InStencil | 
| int | SpanSliceEndIncrement | 
| int | SpanSliceIncrement | 
| int | SpanMinX | 
| int | SpanMaxX | 
| int | SpanMinY | 
| int | SpanMaxY | 
| int | SpanMinZ | 
| int | SpanMaxZ | 
| int | SpanIndexX | 
| int | SpanIndexY | 
| int | SpanIndexZ | 
| int * | SpanCountPointer | 
| int ** | SpanListPointer | 
| vtkAlgorithm * | Algorithm | 
| vtkIdType | Count | 
| vtkIdType | Target | 
an image region iterator
This is an image iterator that can be used to iterate over a region of an image.
Definition at line 35 of file vtkImageStencilIterator.h.
| vtkImageStencilIterator< DType >::vtkImageStencilIterator | ( | ) | 
Default empty constructor, useful only when creating an array of iterators. Call Initialize() on each iterator before using.
| vtkImageStencilIterator< DType >::vtkImageStencilIterator | ( | vtkImageData * | image, | 
| vtkImageStencilData * | stencil, | ||
| int | extent[6], | ||
| vtkAlgorithm * | algorithm = 0, | ||
| int | threadId = 0 | ||
| ) | 
Create an iterator for an extent of an image. If a stencil is provided, it must have an extent at least as large as the desired extent.
| void vtkImageStencilIterator< DType >::Initialize | ( | vtkImageData * | image, | 
| vtkImageStencilData * | stencil, | ||
| int | extent[6] | ||
| ) | 
Initialize an iterator for an extent of the image. If a stencil is provided, it must have an extent at least as large as the desired extent.
| 
 | inline | 
Check if the iterator is within the stencilled region. This is updated when NextSpan() is called.
Definition at line 62 of file vtkImageStencilIterator.h.
| void vtkImageStencilIterator< DType >::NextSpan | ( | ) | 
Move the iterator to the start of the next span. A span is a contiguous region over which nothing but the X index changes.
| 
 | inline | 
Test if the end of the extent has been reached
Definition at line 74 of file vtkImageStencilIterator.h.
| 
 | inline | 
Return a pointer to the beginning of the current span.
Definition at line 82 of file vtkImageStencilIterator.h.
| 
 | inline | 
Return a pointer to the end of the current span.
Definition at line 90 of file vtkImageStencilIterator.h.
| 
 | protected | 
Set all the state variables for the stencil span that includes idX.
| 
 | protected | 
Report the progress and do an abort check. This must be called every time that one row of the image is completed. Only called if Algorithm is not null.
| 
 | protected | 
Definition at line 107 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 108 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 109 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 110 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 111 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 114 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 115 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 116 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 117 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 118 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 121 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 122 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 123 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 124 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 125 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 126 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 127 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 128 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 129 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 130 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 131 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 132 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 133 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 134 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 135 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 138 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 139 of file vtkImageStencilIterator.h.
| 
 | protected | 
Definition at line 140 of file vtkImageStencilIterator.h.
 1.8.9.1
 1.8.9.1