#include <vtkImageDilateErode3D.h>
vtkImageDilateErode3D will dilate one value and erode another. It uses an elliptical foot print, and only erodes/dilates on the boundary of the two values. The filter is restricted to the X, Y, and Z axes for now. It can degenerate to a 2 or 1 dimensional filter by setting the kernel size to 1 for a specific axis.
Definition at line 33 of file vtkImageDilateErode3D.h.
typedef vtkImageSpatialAlgorithm | Superclass |
static vtkImageDilateErode3D * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageDilateErode3D * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Public Member Functions | |
void | SetKernelSize (int size0, int size1, int size2) |
virtual void | SetDilateValue (double) |
virtual double | GetDilateValue () |
virtual void | SetErodeValue (double) |
virtual double | GetErodeValue () |
Protected Member Functions | |
vtkImageDilateErode3D () | |
~vtkImageDilateErode3D () | |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Attributes | |
vtkImageEllipsoidSource * | Ellipse |
double | DilateValue |
double | ErodeValue |
Construct an instance of vtkImageDilateErode3D filter. By default zero values are dilated.
Reimplemented from vtkImageSpatialAlgorithm.
Definition at line 40 of file vtkImageDilateErode3D.h.
vtkImageDilateErode3D::vtkImageDilateErode3D | ( | ) | [protected] |
vtkImageDilateErode3D::~vtkImageDilateErode3D | ( | ) | [protected] |
static vtkImageDilateErode3D* vtkImageDilateErode3D::New | ( | ) | [static] |
Construct an instance of vtkImageDilateErode3D filter. By default zero values are dilated.
Reimplemented from vtkImageSpatialAlgorithm.
virtual const char* vtkImageDilateErode3D::GetClassName | ( | ) | [virtual] |
Construct an instance of vtkImageDilateErode3D filter. By default zero values are dilated.
Reimplemented from vtkImageSpatialAlgorithm.
static int vtkImageDilateErode3D::IsTypeOf | ( | const char * | type | ) | [static] |
Construct an instance of vtkImageDilateErode3D filter. By default zero values are dilated.
Reimplemented from vtkImageSpatialAlgorithm.
virtual int vtkImageDilateErode3D::IsA | ( | const char * | type | ) | [virtual] |
Construct an instance of vtkImageDilateErode3D filter. By default zero values are dilated.
Reimplemented from vtkImageSpatialAlgorithm.
static vtkImageDilateErode3D* vtkImageDilateErode3D::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Construct an instance of vtkImageDilateErode3D filter. By default zero values are dilated.
Reimplemented from vtkImageSpatialAlgorithm.
void vtkImageDilateErode3D::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Construct an instance of vtkImageDilateErode3D filter. By default zero values are dilated.
Reimplemented from vtkImageSpatialAlgorithm.
void vtkImageDilateErode3D::SetKernelSize | ( | int | size0, | |
int | size1, | |||
int | size2 | |||
) |
This method sets the size of the neighborhood. It also sets the default middle of the neighborhood and computes the elliptical foot print.
virtual void vtkImageDilateErode3D::SetDilateValue | ( | double | ) | [virtual] |
Set/Get the Dilate and Erode values to be used by this filter.
virtual double vtkImageDilateErode3D::GetDilateValue | ( | ) | [virtual] |
Set/Get the Dilate and Erode values to be used by this filter.
virtual void vtkImageDilateErode3D::SetErodeValue | ( | double | ) | [virtual] |
Set/Get the Dilate and Erode values to be used by this filter.
virtual double vtkImageDilateErode3D::GetErodeValue | ( | ) | [virtual] |
Set/Get the Dilate and Erode values to be used by this filter.
void vtkImageDilateErode3D::ThreadedRequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector, | |||
vtkImageData *** | inData, | |||
vtkImageData ** | outData, | |||
int | extent[6], | |||
int | threadId | |||
) | [protected, virtual] |
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageDilateErode3D::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkThreadedImageAlgorithm.
vtkImageEllipsoidSource* vtkImageDilateErode3D::Ellipse [protected] |
Definition at line 62 of file vtkImageDilateErode3D.h.
double vtkImageDilateErode3D::DilateValue [protected] |
Definition at line 63 of file vtkImageDilateErode3D.h.
double vtkImageDilateErode3D::ErodeValue [protected] |
Definition at line 64 of file vtkImageDilateErode3D.h.