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

# Filtering/vtkPiecewiseFunctionShiftScale.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkPiecewiseFunctionShiftScale.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00016
    00036 #ifndef __vtkPiecewiseFunctionShiftScale_h
    00037 #define __vtkPiecewiseFunctionShiftScale_h
    00038
    00039 #include "vtkPiecewiseFunctionToPiecewiseFunctionFilter.h"
    00040
    00041 class vtkPiecewiseFunction;
    00042
    00043 class VTK_FILTERING_EXPORT vtkPiecewiseFunctionShiftScale : public vtkPiecewiseFunctionToPiecewiseFunctionFilter
    00044 {
    00045 public:
    00046   static vtkPiecewiseFunctionShiftScale *New();
    00047   vtkTypeRevisionMacro(vtkPiecewiseFunctionShiftScale, vtkPiecewiseFunctionToPiecewiseFunctionFilter);
    00048   void PrintSelf(ostream& os, vtkIndent indent);
    00049
    00050   vtkSetMacro(PositionShift, float);
    00051   vtkSetMacro(PositionScale, float);
    00052   vtkSetMacro(ValueShift, float);
    00053   vtkSetMacro(ValueScale, float);
    00054
    00055   vtkGetMacro(PositionShift, float);
    00056   vtkGetMacro(PositionScale, float);
    00057   vtkGetMacro(ValueShift, float);
    00058   vtkGetMacro(ValueScale, float);
    00059
    00060 protected:
    00061   vtkPiecewiseFunctionShiftScale();
    00062   ~vtkPiecewiseFunctionShiftScale();
    00063
    00064   void Execute();
    00065
    00066   vtkPiecewiseFunction *Input;
    00067
    00068   float PositionShift;
    00069   float PositionScale;
    00070   float ValueShift;
    00071   float ValueScale;
    00072
    00073 private:
    00074   vtkPiecewiseFunctionShiftScale(const vtkPiecewiseFunctionShiftScale&);  // Not implemented
    00075   void operator=(const vtkPiecewiseFunctionShiftScale&);  // Not implemented
    00076 };
    00077
    00078 #endif