VTK  9.1.0
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
30class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPiecewiseFunctionShiftScale
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 vtkSetMacro(PositionShift, double);
39 vtkSetMacro(PositionScale, double);
40 vtkSetMacro(ValueShift, double);
41 vtkSetMacro(ValueScale, double);
42
43 vtkGetMacro(PositionShift, double);
44 vtkGetMacro(PositionScale, double);
45 vtkGetMacro(ValueShift, double);
46 vtkGetMacro(ValueScale, double);
47
48protected:
51
53
56 double ValueShift;
57 double ValueScale;
58
59private:
61 void operator=(const vtkPiecewiseFunctionShiftScale&) = delete;
62};
63
64#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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.