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) 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 
52  vtkInformationVector *) override;
53 
54  double PositionShift;
55  double PositionScale;
56  double ValueShift;
57  double ValueScale;
58 
59 private:
61  void operator=(const vtkPiecewiseFunctionShiftScale&) = delete;
62 };
63 
64 #endif
vtkPiecewiseFunctionAlgorithm.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPiecewiseFunctionShiftScale::PositionScale
double PositionScale
Definition: vtkPiecewiseFunctionShiftScale.h:55
vtkPiecewiseFunctionShiftScale::ValueScale
double ValueScale
Definition: vtkPiecewiseFunctionShiftScale.h:57
vtkPiecewiseFunctionShiftScale
Definition: vtkPiecewiseFunctionShiftScale.h:30
vtkPiecewiseFunctionAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPiecewiseFunctionAlgorithm::New
static vtkPiecewiseFunctionAlgorithm * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPiecewiseFunctionShiftScale::PositionShift
double PositionShift
Definition: vtkPiecewiseFunctionShiftScale.h:54
vtkPiecewiseFunction
Defines a 1D piecewise function.
Definition: vtkPiecewiseFunction.h:51
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkPiecewiseFunctionAlgorithm
Superclass for algorithms that produce only piecewise function as output.
Definition: vtkPiecewiseFunctionAlgorithm.h:43
vtkPiecewiseFunctionShiftScale::ValueShift
double ValueShift
Definition: vtkPiecewiseFunctionShiftScale.h:56
vtkPiecewiseFunctionAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.