VTK  9.2.6
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 "vtkAlgorithm.h"
40#include "vtkFiltersHybridModule.h" // For export macro
41
42class VTKFILTERSHYBRID_EXPORT vtkTemporalShiftScale : public vtkAlgorithm
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
50
55 vtkSetMacro(PreShift, double);
56 vtkGetMacro(PreShift, double);
58
60
63 vtkSetMacro(PostShift, double);
64 vtkGetMacro(PostShift, double);
66
68
71 vtkSetMacro(Scale, double);
72 vtkGetMacro(Scale, double);
74
76
89 vtkSetMacro(Periodic, vtkTypeBool);
90 vtkGetMacro(Periodic, vtkTypeBool);
91 vtkBooleanMacro(Periodic, vtkTypeBool);
93
95
104 vtkSetMacro(PeriodicEndCorrection, vtkTypeBool);
105 vtkGetMacro(PeriodicEndCorrection, vtkTypeBool);
106 vtkBooleanMacro(PeriodicEndCorrection, vtkTypeBool);
108
110
115 vtkSetMacro(MaximumNumberOfPeriods, double);
116 vtkGetMacro(MaximumNumberOfPeriods, double);
118
119protected:
122
123 double PreShift;
124 double PostShift;
125 double Scale;
129 //
130 double InRange[2];
131 double OutRange[2];
132 double PeriodicRange[2];
135
140 vtkInformationVector* outputVector) override;
141
143
144 int FillInputPortInformation(int port, vtkInformation* info) override;
145 int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation* info) override;
146
148
150
152
153 double ForwardConvert(double T0);
154 double BackwardConvert(double T1);
155
156private:
158 void operator=(const vtkTemporalShiftScale&) = delete;
159};
160
161#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:63
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
int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation *info) override
double BackwardConvert(double T1)
~vtkTemporalShiftScale() override
double ForwardConvert(double T0)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkTemporalShiftScale * New()
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition: vtkABI.h:69