VTK
vtkImageSobel3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageSobel3D.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 =========================================================================*/
28 #ifndef vtkImageSobel3D_h
29 #define vtkImageSobel3D_h
30 
31 
32 #include "vtkImagingGeneralModule.h" // For export macro
34 
35 class VTKIMAGINGGENERAL_EXPORT vtkImageSobel3D : public vtkImageSpatialAlgorithm
36 {
37 public:
38  static vtkImageSobel3D *New();
40  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41 
42 protected:
44  ~vtkImageSobel3D()VTK_OVERRIDE {}
45 
46  void ThreadedRequestData(vtkInformation *request,
47  vtkInformationVector **inputVector,
48  vtkInformationVector *outputVector,
49  vtkImageData ***inData, vtkImageData **outData,
50  int outExt[6], int id) VTK_OVERRIDE;
51  int RequestInformation (vtkInformation *request,
52  vtkInformationVector **inputVector,
53  vtkInformationVector *outputVector) VTK_OVERRIDE;
54 
55 private:
56  vtkImageSobel3D(const vtkImageSobel3D&) VTK_DELETE_FUNCTION;
57  void operator=(const vtkImageSobel3D&) VTK_DELETE_FUNCTION;
58 };
59 
60 #endif
Store vtkAlgorithm input/output information.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
~vtkImageSobel3D() override
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
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.
Filters that operate on pixel neighborhoods.
Computes a vector field using sobel functions.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageSpatialAlgorithm * New()