Cloned library of VTK-5.0.0 with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.9 KiB

2 years ago
/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkPiecewiseFunctionShiftScale.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkPiecewiseFunctionShiftScale -
//
// .SECTION Description
#ifndef __vtkPiecewiseFunctionShiftScale_h
#define __vtkPiecewiseFunctionShiftScale_h
#include "vtkPiecewiseFunctionAlgorithm.h"
class vtkPiecewiseFunction;
class VTK_FILTERING_EXPORT vtkPiecewiseFunctionShiftScale : public vtkPiecewiseFunctionAlgorithm
{
public:
static vtkPiecewiseFunctionShiftScale *New();
vtkTypeRevisionMacro(vtkPiecewiseFunctionShiftScale, vtkPiecewiseFunctionAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
vtkSetMacro(PositionShift, double);
vtkSetMacro(PositionScale, double);
vtkSetMacro(ValueShift, double);
vtkSetMacro(ValueScale, double);
vtkGetMacro(PositionShift, double);
vtkGetMacro(PositionScale, double);
vtkGetMacro(ValueShift, double);
vtkGetMacro(ValueScale, double);
protected:
vtkPiecewiseFunctionShiftScale();
~vtkPiecewiseFunctionShiftScale();
virtual int RequestData(vtkInformation *, vtkInformationVector **,
vtkInformationVector *);
double PositionShift;
double PositionScale;
double ValueShift;
double ValueScale;
private:
vtkPiecewiseFunctionShiftScale(const vtkPiecewiseFunctionShiftScale&); // Not implemented
void operator=(const vtkPiecewiseFunctionShiftScale&); // Not implemented
};
#endif