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 =========================================================================*/
33 #ifndef vtkTemporalShiftScale_h
34 #define vtkTemporalShiftScale_h
35 
36 #include "vtkFiltersHybridModule.h" // For export macro
37 #include "vtkAlgorithm.h"
38 
39 
40 class VTKFILTERSHYBRID_EXPORT vtkTemporalShiftScale: public vtkAlgorithm
41 {
42 public:
43  static vtkTemporalShiftScale *New();
45  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
46 
48 
53  vtkSetMacro(PreShift, double);
54  vtkGetMacro(PreShift, double);
56 
58 
61  vtkSetMacro(PostShift, double);
62  vtkGetMacro(PostShift, double);
64 
66 
69  vtkSetMacro(Scale, double);
70  vtkGetMacro(Scale, double);
72 
74 
87  vtkSetMacro(Periodic, int);
88  vtkGetMacro(Periodic, int);
89  vtkBooleanMacro(Periodic, int);
91 
93 
102  vtkSetMacro(PeriodicEndCorrection, int);
103  vtkGetMacro(PeriodicEndCorrection, int);
104  vtkBooleanMacro(PeriodicEndCorrection, int);
106 
108 
113  vtkSetMacro(MaximumNumberOfPeriods, double);
114  vtkGetMacro(MaximumNumberOfPeriods, double);
116 
117 protected:
119  ~vtkTemporalShiftScale() VTK_OVERRIDE;
120 
121  double PreShift;
122  double PostShift;
123  double Scale;
124  int Periodic;
125  int PeriodicEndCorrection;
126  double MaximumNumberOfPeriods;
127  //
128  double InRange[2];
129  double OutRange[2];
130  double PeriodicRange[2];
131  int PeriodicN;
132  double TempMultiplier;
133 
137  int ProcessRequest(vtkInformation* request,
138  vtkInformationVector** inputVector,
139  vtkInformationVector* outputVector) VTK_OVERRIDE;
140 
141  virtual int RequestUpdateExtent (vtkInformation *,
144 
145  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
146  int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation* info) VTK_OVERRIDE;
147 
148 
149  virtual int RequestDataObject(vtkInformation *,
152 
153 
154  virtual int RequestInformation (vtkInformation *,
157 
158  virtual int RequestData(vtkInformation *,
161 
162  double ForwardConvert(double T0);
163  double BackwardConvert(double T1);
164 
165 private:
166  vtkTemporalShiftScale(const vtkTemporalShiftScale&) VTK_DELETE_FUNCTION;
167  void operator=(const vtkTemporalShiftScale&) VTK_DELETE_FUNCTION;
168 };
169 
170 
171 
172 #endif
173 
174 
175 
Store vtkAlgorithm input/output information.
modify the time range/steps of temporal data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:53
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.