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

dox/Filtering/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 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&); // Not implemented 00060 void operator=(const vtkPiecewiseFunctionShiftScale&); // Not implemented 00061 }; 00062 00063 #endif