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 
28 
30 {
31 public:
32  static vtkImagePadFilter *New();
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
37 
38  void SetOutputWholeExtent(int extent[6]);
39  void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY,
40  int minZ, int maxZ);
41  void GetOutputWholeExtent(int extent[6]);
42  int *GetOutputWholeExtent() {return this->OutputWholeExtent;}
44 
46 
47  vtkSetMacro(OutputNumberOfScalarComponents, int);
48  vtkGetMacro(OutputNumberOfScalarComponents, int);
50 
51 protected:
54 
55  int OutputWholeExtent[6];
57 
58  virtual int RequestInformation (vtkInformation*,
64 
65  virtual void ComputeInputUpdateExtent (int inExt[6], int outExt[6],
66  int wExt[6]);
67 
68 private:
69  vtkImagePadFilter(const vtkImagePadFilter&); // Not implemented.
70  void operator=(const vtkImagePadFilter&); // Not implemented.
71 };
72 
73 #endif
74 
75 
76 
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:37
#define VTK_IMAGING_EXPORT
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()