VTK  9.3.0
vtkPiecewiseFunctionShiftScale.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
10 #ifndef vtkPiecewiseFunctionShiftScale_h
11 #define vtkPiecewiseFunctionShiftScale_h
12 
13 #include "vtkCommonExecutionModelModule.h" // For export macro
15 
16 VTK_ABI_NAMESPACE_BEGIN
18 
19 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPiecewiseFunctionShiftScale
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
27  vtkSetMacro(PositionShift, double);
28  vtkSetMacro(PositionScale, double);
29  vtkSetMacro(ValueShift, double);
30  vtkSetMacro(ValueScale, double);
31 
32  vtkGetMacro(PositionShift, double);
33  vtkGetMacro(PositionScale, double);
34  vtkGetMacro(ValueShift, double);
35  vtkGetMacro(ValueScale, double);
36 
37 protected:
40 
42 
43  double PositionShift;
44  double PositionScale;
45  double ValueShift;
46  double ValueScale;
47 
48 private:
50  void operator=(const vtkPiecewiseFunctionShiftScale&) = delete;
51 };
52 
53 VTK_ABI_NAMESPACE_END
54 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
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.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPiecewiseFunctionShiftScale * New()
Defines a 1D piecewise function.