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 =========================================================================*/
30 #ifndef vtkImageConstantPad_h
31 #define vtkImageConstantPad_h
32 
33 
34 #include "vtkImagingCoreModule.h" // For export macro
35 #include "vtkImagePadFilter.h"
36 
37 class VTKIMAGINGCORE_EXPORT vtkImageConstantPad : public vtkImagePadFilter
38 {
39 public:
42 
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
49  vtkSetMacro(Constant, double);
50  vtkGetMacro(Constant, double);
52 
53 
54 protected:
57 
58  double Constant;
59 
61  vtkInformationVector** inputVector,
62  vtkInformationVector* outputVector,
63  vtkImageData ***inData, vtkImageData **outData,
64  int ext[6], int id);
65 private:
66  vtkImageConstantPad(const vtkImageConstantPad&) VTK_DELETE_FUNCTION;
67  void operator=(const vtkImageConstantPad&) VTK_DELETE_FUNCTION;
68 };
69 
70 #endif
71 
72 
73 
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkImageConstantPad
Makes image larger by padding with constant.
Definition: vtkImageConstantPad.h:38
vtkImageConstantPad::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkImageConstantPad::ThreadedRequestData
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id)
If the subclass does not define an Execute method, then the task will be broken up,...
vtkImageConstantPad::~vtkImageConstantPad
~vtkImageConstantPad()
Definition: vtkImageConstantPad.h:56
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkImageConstantPad::Constant
double Constant
Definition: vtkImageConstantPad.h:58
vtkImageConstantPad::New
static vtkImageConstantPad * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkImagePadFilter
Super class for filters that fill in extra pixels.
Definition: vtkImagePadFilter.h:32
vtkImagePadFilter.h
vtkImageConstantPad::vtkImageConstantPad
vtkImageConstantPad()