vtkPiecewiseFunctionShiftScale.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00033 #ifndef __vtkPiecewiseFunctionShiftScale_h
00034 #define __vtkPiecewiseFunctionShiftScale_h
00035
00036 #include "vtkPiecewiseFunctionToPiecewiseFunctionFilter.h"
00037
00038 class vtkPiecewiseFunction;
00039
00040 class VTK_FILTERING_EXPORT vtkPiecewiseFunctionShiftScale : public vtkPiecewiseFunctionToPiecewiseFunctionFilter
00041 {
00042 public:
00043 static vtkPiecewiseFunctionShiftScale *New();
00044 vtkTypeRevisionMacro(vtkPiecewiseFunctionShiftScale, vtkPiecewiseFunctionToPiecewiseFunctionFilter);
00045 void PrintSelf(ostream& os, vtkIndent indent);
00046
00047 vtkSetMacro(PositionShift, double);
00048 vtkSetMacro(PositionScale, double);
00049 vtkSetMacro(ValueShift, double);
00050 vtkSetMacro(ValueScale, double);
00051
00052 vtkGetMacro(PositionShift, double);
00053 vtkGetMacro(PositionScale, double);
00054 vtkGetMacro(ValueShift, double);
00055 vtkGetMacro(ValueScale, double);
00056
00057 protected:
00058 vtkPiecewiseFunctionShiftScale();
00059 ~vtkPiecewiseFunctionShiftScale();
00060
00061 void Execute();
00062
00063 vtkPiecewiseFunction *Input;
00064
00065 double PositionShift;
00066 double PositionScale;
00067 double ValueShift;
00068 double ValueScale;
00069
00070 private:
00071 vtkPiecewiseFunctionShiftScale(const vtkPiecewiseFunctionShiftScale&);
00072 void operator=(const vtkPiecewiseFunctionShiftScale&);
00073 };
00074
00075 #endif