Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPiecewiseFunctionShiftScale.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPiecewiseFunctionShiftScale.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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&);  // Not implemented
00072   void operator=(const vtkPiecewiseFunctionShiftScale&);  // Not implemented
00073 };
00074 
00075 #endif