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:
49  ~vtkPiecewiseFunctionShiftScale() VTK_OVERRIDE;
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
Defines a 1D piecewise function.
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkPiecewiseFunctionAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only piecewise function as output.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.