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 "vtkImageAlgorithm.h"
43 
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
50 protected:
53 
54  // These are called by the superclass.
55  virtual int RequestUpdateExtent (vtkInformation *,
58 
59  // You don't have to touch this unless you have a good reason.
60  virtual int RequestData(vtkInformation *,
63 
64  // In the simplest case, this is the only method you need to define.
65  virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) = 0;
66 
67 private:
68  vtkSimpleImageToImageFilter(const vtkSimpleImageToImageFilter&); // Not implemented.
69  void operator=(const vtkSimpleImageToImageFilter&); // Not implemented.
70 };
71 
72 #endif
73 
74 
75 
76 
77 
78 
79 
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
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)