VTK
vtkImageContinuousErode3D.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageContinuousErode3D.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
27#ifndef vtkImageContinuousErode3D_h
28#define vtkImageContinuousErode3D_h
29
30
31#include "vtkImagingMorphologicalModule.h" // For export macro
33
35
36class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageContinuousErode3D : public vtkImageSpatialAlgorithm
37{
38public:
40
46 void PrintSelf(ostream& os, vtkIndent indent);
48
53 void SetKernelSize(int size0, int size1, int size2);
54
55protected:
58
60
62 vtkInformationVector **inputVector,
63 vtkInformationVector *outputVector,
64 vtkImageData ***inData, vtkImageData **outData,
65 int extent[6], int id);
66 virtual int RequestData(vtkInformation *request,
67 vtkInformationVector **inputVector,
68 vtkInformationVector *outputVector);
69
70private:
71 vtkImageContinuousErode3D(const vtkImageContinuousErode3D&) VTK_DELETE_FUNCTION;
72 void operator=(const vtkImageContinuousErode3D&) VTK_DELETE_FUNCTION;
73};
74
75#endif
Erosion implemented as a minimum.
void SetKernelSize(int size0, int size1, int size2)
This method sets the size of the neighborhood.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id)
If the subclass does not define an Execute method, then the task will be broken up,...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkImageContinuousErode3D * New()
Construct an instance of vtkImageContinuousErode3D filter.
vtkImageEllipsoidSource * Ellipse
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
Create a binary image of an ellipsoid.
Filters that operate on pixel neighborhoods.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
@ extent
Definition: vtkX3D.h:345