VTK
vtkPiecewiseFunctionShiftScale.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPiecewiseFunctionShiftScale.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 =========================================================================*/
15 
22 #ifndef vtkPiecewiseFunctionShiftScale_h
23 #define vtkPiecewiseFunctionShiftScale_h
24 
25 #include "vtkCommonExecutionModelModule.h" // For export macro
27 
29 
30 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPiecewiseFunctionShiftScale : public vtkPiecewiseFunctionAlgorithm
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
36 
37  vtkSetMacro(PositionShift, double);
38  vtkSetMacro(PositionScale, double);
39  vtkSetMacro(ValueShift, double);
40  vtkSetMacro(ValueScale, double);
41 
42  vtkGetMacro(PositionShift, double);
43  vtkGetMacro(PositionScale, double);
44  vtkGetMacro(ValueShift, double);
45  vtkGetMacro(ValueScale, double);
46 
47 protected:
50 
51  int RequestData(vtkInformation *, vtkInformationVector **,
52  vtkInformationVector *) VTK_OVERRIDE;
53 
54  double PositionShift;
55  double PositionScale;
56  double ValueShift;
57  double ValueScale;
58 
59 private:
61  void operator=(const vtkPiecewiseFunctionShiftScale&) VTK_DELETE_FUNCTION;
62 };
63 
64 #endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only piecewise function as output.
~vtkPiecewiseFunctionShiftScale() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPiecewiseFunctionShiftScale * New()
Defines a 1D piecewise function.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.