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