VTK
vtkImagePadFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImagePadFilter.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 =========================================================================*/
24 #ifndef vtkImagePadFilter_h
25 #define vtkImagePadFilter_h
26 
27 #include "vtkImagingCoreModule.h" // For export macro
29 
31 {
32 public:
33  static vtkImagePadFilter *New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
39  void SetOutputWholeExtent(int extent[6]);
40  void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY,
41  int minZ, int maxZ);
42  void GetOutputWholeExtent(int extent[6]);
43  int *GetOutputWholeExtent() {return this->OutputWholeExtent;}
45 
47 
48  vtkSetMacro(OutputNumberOfScalarComponents, int);
49  vtkGetMacro(OutputNumberOfScalarComponents, int);
51 
52 protected:
55 
56  int OutputWholeExtent[6];
58 
59  virtual int RequestInformation (vtkInformation*,
65 
66  virtual void ComputeInputUpdateExtent (int inExt[6], int outExt[6],
67  int wExt[6]);
68 
69 private:
70  vtkImagePadFilter(const vtkImagePadFilter&); // Not implemented.
71  void operator=(const vtkImagePadFilter&); // Not implemented.
72 };
73 
74 #endif
75 
76 
77 
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generic filter that has one input..
Super class for filters that fill in extra pixels.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIMAGINGCORE_EXPORT
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()