VTK
vtkTemporalShiftScale.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTemporalShiftScale.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 =========================================================================*/
35 #ifndef __vtkTemporalShiftScale_h
36 #define __vtkTemporalShiftScale_h
37 
39 
41 {
42 public:
43  static vtkTemporalShiftScale *New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
51  vtkSetMacro(PreShift, double);
52  vtkGetMacro(PreShift, double);
54 
56 
57  vtkSetMacro(PostShift, double);
58  vtkGetMacro(PostShift, double);
60 
62 
63  vtkSetMacro(Scale, double);
64  vtkGetMacro(Scale, double);
66 
68 
79  vtkSetMacro(Periodic, int);
80  vtkGetMacro(Periodic, int);
81  vtkBooleanMacro(Periodic, int);
83 
85 
93  vtkSetMacro(PeriodicEndCorrection, int);
94  vtkGetMacro(PeriodicEndCorrection, int);
95  vtkBooleanMacro(PeriodicEndCorrection, int);
97 
99 
103  vtkSetMacro(MaximumNumberOfPeriods, double);
104  vtkGetMacro(MaximumNumberOfPeriods, double);
106 
107 protected:
110 
111  double PreShift;
112  double PostShift;
113  double Scale;
114  int Periodic;
117  //
118  double InRange[2];
119  double OutRange[2];
120  double PeriodicRange[2];
123 
124  virtual int RequestUpdateExtent (vtkInformation *,
127  virtual int RequestInformation (vtkInformation *,
130 
131  virtual int RequestData(vtkInformation *,
134 
135  double ForwardConvert(double T0);
136  double BackwardConvert(double T1);
137 
138 private:
139  vtkTemporalShiftScale(const vtkTemporalShiftScale&); // Not implemented.
140  void operator=(const vtkTemporalShiftScale&); // Not implemented.
141 };
142 
143 
144 
145 #endif
146 
147 
148