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:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
40  void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY,
41  int minZ, int maxZ);
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 
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 
vtkImagePadFilter::~vtkImagePadFilter
~vtkImagePadFilter()
Definition: vtkImagePadFilter.h:54
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkImagePadFilter::New
static vtkImagePadFilter * New()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImagePadFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkThreadedImageAlgorithm
Generic filter that has one input..
Definition: vtkThreadedImageAlgorithm.h:37
vtkImagePadFilter::GetOutputWholeExtent
int * GetOutputWholeExtent()
Definition: vtkImagePadFilter.h:43
vtkThreadedImageAlgorithm.h
vtkImagePadFilter::SetOutputWholeExtent
void SetOutputWholeExtent(int extent[6])
vtkImagePadFilter::SetOutputWholeExtent
void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
vtkImagePadFilter::ComputeInputUpdateExtent
virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wExt[6])
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkImagePadFilter
Super class for filters that fill in extra pixels.
Definition: vtkImagePadFilter.h:31
vtkImagingCoreModule.h
vtkImagePadFilter::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
VTKIMAGINGCORE_EXPORT
#define VTKIMAGINGCORE_EXPORT
Definition: vtkImagingCoreModule.h:15
vtkImagePadFilter::OutputNumberOfScalarComponents
int OutputNumberOfScalarComponents
Definition: vtkImagePadFilter.h:57
vtkImagePadFilter::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImagePadFilter::GetOutputWholeExtent
void GetOutputWholeExtent(int extent[6])
vtkImagePadFilter::vtkImagePadFilter
vtkImagePadFilter()