VTK
vtkSimpleImageToImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSimpleImageToImageFilter.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 =========================================================================*/
39 #ifndef vtkSimpleImageToImageFilter_h
40 #define vtkSimpleImageToImageFilter_h
41 
42 #include "vtkCommonExecutionModelModule.h" // For export macro
43 #include "vtkImageAlgorithm.h"
44 
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
51 protected:
54 
55  // These are called by the superclass.
56  virtual int RequestUpdateExtent (vtkInformation *,
59 
60  // You don't have to touch this unless you have a good reason.
61  virtual int RequestData(vtkInformation *,
64 
65  // In the simplest case, this is the only method you need to define.
66  virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) = 0;
67 
68 private:
69  vtkSimpleImageToImageFilter(const vtkSimpleImageToImageFilter&); // Not implemented.
70  void operator=(const vtkSimpleImageToImageFilter&); // Not implemented.
71 };
72 
73 #endif
74 
75 
76 
77 
78 
79 
80 
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Store vtkAlgorithm input/output information.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
Generic image filter with one input.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)