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 "vtkImagingCoreModule.h" // For export macro
31 #include "vtkAlgorithm.h"
32 
34 
36 {
37 public:
38  static vtkImageStencilAlgorithm *New();
40 
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  void SetOutput(vtkImageStencilData *output);
46  vtkImageStencilData *GetOutput();
48 
50 
51  virtual int ProcessRequest(vtkInformation*,
55 
56 protected:
59 
60  virtual int RequestData(vtkInformation *, vtkInformationVector **,
62  virtual int RequestInformation(vtkInformation *, vtkInformationVector **,
64  virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
66  vtkImageStencilData *AllocateOutputData(vtkDataObject *out, int* updateExt);
67 
68  virtual int FillOutputPortInformation(int, vtkInformation*);
69 
70 private:
71  vtkImageStencilAlgorithm(const vtkImageStencilAlgorithm&); // Not implemented.
72  void operator=(const vtkImageStencilAlgorithm&); // Not implemented.
73 };
74 
75 #endif
Store vtkAlgorithm input/output information.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
producer of vtkImageStencilData
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
efficient description of an image stencil
#define VTKIMAGINGCORE_EXPORT
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:64
void PrintSelf(ostream &os, vtkIndent indent)