#include <vtkImageSubSample.h>
Inheritance diagram for vtkImageSubSample:


vtkImageSubSample is a filter that samples in image dataset based on the specified sample rate. The filter differs from vtkExtractVOI in that specific regions cannot be extracted (operates on the entire dataset) and the user may specify a non-integer sample rate. Sampling is performed evenly in each dimension. Sampling rates less than 1 are set to 1 (use vtkImageConstantPad to increase the size of the image).
Definition at line 49 of file vtkImageSubSample.h.
Public Member Functions | |
| vtkTypeRevisionMacro (vtkImageSubSample, vtkImageToImageFilter) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | SetSampleRate (float, float, float) |
| virtual void | SetSampleRate (float[3]) |
| virtual float * | GetSampleRate () |
| virtual void | GetSampleRate (float data[3]) |
Static Public Member Functions | |
| static vtkImageSubSample * | New () |
Protected Member Functions | |
| vtkImageSubSample () | |
| ~vtkImageSubSample () | |
| virtual void | ComputeInputUpdateExtent (int inExt[6], int outExt[6]) |
| void | ExecuteInformation (vtkImageData *input, vtkImageData *output) |
| void | ExecuteInformation () |
| virtual void | ExecuteData (vtkDataObject *) |
Protected Attributes | |
| float | SampleRate [3] |
| vtkImageSubSample::vtkImageSubSample | ( | ) | [protected] |
| vtkImageSubSample::~vtkImageSubSample | ( | ) | [inline, protected] |
Definition at line 69 of file vtkImageSubSample.h.
| vtkImageSubSample::vtkTypeRevisionMacro | ( | vtkImageSubSample | , | |
| vtkImageToImageFilter | ||||
| ) |
| void vtkImageSubSample::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkImageToImageFilter.
| static vtkImageSubSample* vtkImageSubSample::New | ( | ) | [static] |
Construct object to extract all of the input data.
Reimplemented from vtkAlgorithm.
| virtual void vtkImageSubSample::SetSampleRate | ( | float | , | |
| float | , | |||
| float | ||||
| ) | [virtual] |
Set the sampling rate in the i, j, and k directions. If the rate is > 1, then the resulting image will be the subsampled representation of the input. For example, if the SampleRate=(2,2,2), every other point will be selected, resulting in a volume 1/8th the original size.
| virtual void vtkImageSubSample::SetSampleRate | ( | float | [3] | ) | [virtual] |
Set the sampling rate in the i, j, and k directions. If the rate is > 1, then the resulting image will be the subsampled representation of the input. For example, if the SampleRate=(2,2,2), every other point will be selected, resulting in a volume 1/8th the original size.
| virtual float* vtkImageSubSample::GetSampleRate | ( | ) | [virtual] |
Set the sampling rate in the i, j, and k directions. If the rate is > 1, then the resulting image will be the subsampled representation of the input. For example, if the SampleRate=(2,2,2), every other point will be selected, resulting in a volume 1/8th the original size.
| virtual void vtkImageSubSample::GetSampleRate | ( | float | data[3] | ) | [virtual] |
Set the sampling rate in the i, j, and k directions. If the rate is > 1, then the resulting image will be the subsampled representation of the input. For example, if the SampleRate=(2,2,2), every other point will be selected, resulting in a volume 1/8th the original size.
| virtual void vtkImageSubSample::ComputeInputUpdateExtent | ( | int | inExt[6], | |
| int | outExt[6] | |||
| ) | [protected, virtual] |
Reimplemented from vtkImageToImageFilter.
| void vtkImageSubSample::ExecuteInformation | ( | vtkImageData * | input, | |
| vtkImageData * | output | |||
| ) | [protected, virtual] |
Reimplemented from vtkImageToImageFilter.
| void vtkImageSubSample::ExecuteInformation | ( | ) | [inline, protected, virtual] |
Reimplemented from vtkImageToImageFilter.
Definition at line 73 of file vtkImageSubSample.h.
References vtkImageToImageFilter::ExecuteInformation().
| virtual void vtkImageSubSample::ExecuteData | ( | vtkDataObject * | ) | [protected, virtual] |
Reimplemented from vtkImageToImageFilter.
float vtkImageSubSample::SampleRate[3] [protected] |
Definition at line 76 of file vtkImageSubSample.h.
1.4.7