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 =========================================================================*/
36 #ifndef vtkTemporalShiftScale_h
37 #define vtkTemporalShiftScale_h
38 
39 #include "vtkFiltersHybridModule.h" // For export macro
40 #include "vtkAlgorithm.h"
41 
42 
43 class VTKFILTERSHYBRID_EXPORT vtkTemporalShiftScale: public vtkAlgorithm
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
56  vtkSetMacro(PreShift, double);
57  vtkGetMacro(PreShift, double);
59 
61 
64  vtkSetMacro(PostShift, double);
65  vtkGetMacro(PostShift, double);
67 
69 
72  vtkSetMacro(Scale, double);
73  vtkGetMacro(Scale, double);
75 
77 
90  vtkSetMacro(Periodic, int);
91  vtkGetMacro(Periodic, int);
92  vtkBooleanMacro(Periodic, int);
94 
96 
105  vtkSetMacro(PeriodicEndCorrection, int);
106  vtkGetMacro(PeriodicEndCorrection, int);
107  vtkBooleanMacro(PeriodicEndCorrection, int);
109 
111 
116  vtkSetMacro(MaximumNumberOfPeriods, double);
117  vtkGetMacro(MaximumNumberOfPeriods, double);
119 
120 protected:
123 
124  double PreShift;
125  double PostShift;
126  double Scale;
127  int Periodic;
130  //
131  double InRange[2];
132  double OutRange[2];
133  double PeriodicRange[2];
136 
140  virtual int ProcessRequest(vtkInformation* request,
141  vtkInformationVector** inputVector,
142  vtkInformationVector* outputVector);
143 
147 
149  virtual int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation* info);
150 
151 
155 
156 
160 
164 
165  double ForwardConvert(double T0);
166  double BackwardConvert(double T1);
167 
168 private:
169  vtkTemporalShiftScale(const vtkTemporalShiftScale&) VTK_DELETE_FUNCTION;
170  void operator=(const vtkTemporalShiftScale&) VTK_DELETE_FUNCTION;
171 };
172 
173 
174 
175 #endif
176 
177 
178 
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
modify the time range/steps of temporal data
double BackwardConvert(double T1)
double ForwardConvert(double T0)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
see vtkAlgorithm for details
static vtkTemporalShiftScale * New()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation *info)
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.