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 "vtkPiecewiseFunctionAlgorithm.h"
00025
00026 class vtkPiecewiseFunction;
00027
00028 class VTK_FILTERING_EXPORT vtkPiecewiseFunctionShiftScale : public vtkPiecewiseFunctionAlgorithm
00029 {
00030 public:
00031 static vtkPiecewiseFunctionShiftScale *New();
00032 vtkTypeMacro(vtkPiecewiseFunctionShiftScale, vtkPiecewiseFunctionAlgorithm);
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 virtual int RequestData(vtkInformation *, vtkInformationVector **,
00050 vtkInformationVector *);
00051
00052 double PositionShift;
00053 double PositionScale;
00054 double ValueShift;
00055 double ValueScale;
00056
00057 private:
00058 vtkPiecewiseFunctionShiftScale(const vtkPiecewiseFunctionShiftScale&);
00059 void operator=(const vtkPiecewiseFunctionShiftScale&);
00060 };
00061
00062 #endif