VTK  9.4.20250206
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
16VTK_ABI_NAMESPACE_BEGIN
18
19class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPiecewiseFunctionShiftScale
21{
22public:
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
37protected:
40
42
45 double ValueShift;
46 double ValueScale;
47
48private:
50 void operator=(const vtkPiecewiseFunctionShiftScale&) = delete;
51};
52
53VTK_ABI_NAMESPACE_END
54#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only piecewise function as output.
static vtkPiecewiseFunctionShiftScale * New()
~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.
Defines a 1D piecewise function.