VTK
vtkImageConstantPad.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageConstantPad.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 =========================================================================*/
29 #ifndef vtkImageConstantPad_h
30 #define vtkImageConstantPad_h
31 
32 
33 #include "vtkImagingCoreModule.h" // For export macro
34 #include "vtkImagePadFilter.h"
35 
37 {
38 public:
39  static vtkImageConstantPad *New();
41 
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkSetMacro(Constant, double);
47  vtkGetMacro(Constant, double);
49 
50 
51 protected:
54 
55  double Constant;
56 
57  void ThreadedRequestData (vtkInformation* request,
58  vtkInformationVector** inputVector,
59  vtkInformationVector* outputVector,
60  vtkImageData ***inData, vtkImageData **outData,
61  int ext[6], int id);
62 private:
63  vtkImageConstantPad(const vtkImageConstantPad&); // Not implemented.
64  void operator=(const vtkImageConstantPad&); // Not implemented.
65 };
66 
67 #endif
68 
69 
70 
static vtkImagePadFilter * New()
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
Super class for filters that fill in extra pixels.
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
#define VTKIMAGINGCORE_EXPORT
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Makes image larger by padding with constant.
Store zero or more vtkInformation instances.