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 "vtkImagePadFilter.h"
34 
36 {
37 public:
38  static vtkImageConstantPad *New();
40 
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  vtkSetMacro(Constant, double);
46  vtkGetMacro(Constant, double);
48 
49 
50 protected:
53 
54  double Constant;
55 
56  void ThreadedRequestData (vtkInformation* request,
57  vtkInformationVector** inputVector,
58  vtkInformationVector* outputVector,
59  vtkImageData ***inData, vtkImageData **outData,
60  int ext[6], int id);
61 private:
62  vtkImageConstantPad(const vtkImageConstantPad&); // Not implemented.
63  void operator=(const vtkImageConstantPad&); // Not implemented.
64 };
65 
66 #endif
67 
68 
69 
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:37
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
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.