VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
ExecutionModel
vtkPiecewiseFunctionShiftScale.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPiecewiseFunctionShiftScale.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
21
#ifndef __vtkPiecewiseFunctionShiftScale_h
22
#define __vtkPiecewiseFunctionShiftScale_h
23
24
#include "vtkCommonExecutionModelModule.h"
// For export macro
25
#include "
vtkPiecewiseFunctionAlgorithm.h
"
26
27
class
vtkPiecewiseFunction
;
28
29
class
VTKCOMMONEXECUTIONMODEL_EXPORT
vtkPiecewiseFunctionShiftScale
:
public
vtkPiecewiseFunctionAlgorithm
30
{
31
public
:
32
static
vtkPiecewiseFunctionShiftScale
*
New
();
33
vtkTypeMacro(
vtkPiecewiseFunctionShiftScale
,
vtkPiecewiseFunctionAlgorithm
);
34
void
PrintSelf
(ostream& os,
vtkIndent
indent);
35
36
vtkSetMacro(PositionShift,
double
);
37
vtkSetMacro(PositionScale,
double
);
38
vtkSetMacro(ValueShift,
double
);
39
vtkSetMacro(ValueScale,
double
);
40
41
vtkGetMacro(PositionShift,
double
);
42
vtkGetMacro(PositionScale,
double
);
43
vtkGetMacro(ValueShift,
double
);
44
vtkGetMacro(ValueScale,
double
);
45
46
protected
:
47
vtkPiecewiseFunctionShiftScale
();
48
~
vtkPiecewiseFunctionShiftScale
();
49
50
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
51
vtkInformationVector
*);
52
53
double
PositionShift
;
54
double
PositionScale
;
55
double
ValueShift
;
56
double
ValueScale
;
57
58
private
:
59
vtkPiecewiseFunctionShiftScale
(
const
vtkPiecewiseFunctionShiftScale
&);
// Not implemented
60
void
operator=(
const
vtkPiecewiseFunctionShiftScale
&);
// Not implemented
61
};
62
63
#endif
Generated on Thu May 24 2012 22:22:13 for VTK by
1.8.1