Filtering/vtkPiecewiseFunctionShiftScale.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00021 #ifndef __vtkPiecewiseFunctionShiftScale_h
00022 #define __vtkPiecewiseFunctionShiftScale_h
00023
00024 #include "vtkPiecewiseFunctionToPiecewiseFunctionFilter.h"
00025
00026 class vtkPiecewiseFunction;
00027
00028 class VTK_FILTERING_EXPORT vtkPiecewiseFunctionShiftScale : public vtkPiecewiseFunctionToPiecewiseFunctionFilter
00029 {
00030 public:
00031 static vtkPiecewiseFunctionShiftScale *New();
00032 vtkTypeRevisionMacro(vtkPiecewiseFunctionShiftScale, vtkPiecewiseFunctionToPiecewiseFunctionFilter);
00033 void PrintSelf(ostream& os, vtkIndent indent);
00034
00035 vtkSetMacro(PositionShift, double);
00036 vtkSetMacro(PositionScale, double);
00037 vtkSetMacro(ValueShift, double);
00038 vtkSetMacro(ValueScale, double);
00039
00040 vtkGetMacro(PositionShift, double);
00041 vtkGetMacro(PositionScale, double);
00042 vtkGetMacro(ValueShift, double);
00043 vtkGetMacro(ValueScale, double);
00044
00045 protected:
00046 vtkPiecewiseFunctionShiftScale();
00047 ~vtkPiecewiseFunctionShiftScale();
00048
00049 void Execute();
00050
00051 vtkPiecewiseFunction *Input;
00052
00053 double PositionShift;
00054 double PositionScale;
00055 double ValueShift;
00056 double ValueScale;
00057
00058 private:
00059 vtkPiecewiseFunctionShiftScale(const vtkPiecewiseFunctionShiftScale&);
00060 void operator=(const vtkPiecewiseFunctionShiftScale&);
00061 };
00062
00063 #endif