VTK
vtkImageStencilAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageStencilAlgorithm.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 =========================================================================*/
26 #ifndef __vtkImageStencilAlgorithm_h
27 #define __vtkImageStencilAlgorithm_h
28 
29 
30 #include "vtkAlgorithm.h"
31 
33 
35 {
36 public:
37  static vtkImageStencilAlgorithm *New();
39 
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
44  void SetOutput(vtkImageStencilData *output);
45  vtkImageStencilData *GetOutput();
47 
49 
50  virtual int ProcessRequest(vtkInformation*,
54 
55 protected:
58 
59  virtual int RequestData(vtkInformation *, vtkInformationVector **,
61  virtual int RequestInformation(vtkInformation *, vtkInformationVector **,
63  virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
65  vtkImageStencilData *AllocateOutputData(vtkDataObject *out, int* updateExt);
66 
67  virtual int FillOutputPortInformation(int, vtkInformation*);
68 
69 private:
70  vtkImageStencilAlgorithm(const vtkImageStencilAlgorithm&); // Not implemented.
71  void operator=(const vtkImageStencilAlgorithm&); // Not implemented.
72 };
73 
74 #endif