VTK  9.1.0
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 "vtkAlgorithm.h"
37#include "vtkFiltersHybridModule.h" // For export macro
38
39class VTKFILTERSHYBRID_EXPORT vtkTemporalShiftScale : public vtkAlgorithm
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
52 vtkSetMacro(PreShift, double);
53 vtkGetMacro(PreShift, double);
55
57
60 vtkSetMacro(PostShift, double);
61 vtkGetMacro(PostShift, double);
63
65
68 vtkSetMacro(Scale, double);
69 vtkGetMacro(Scale, double);
71
73
86 vtkSetMacro(Periodic, vtkTypeBool);
87 vtkGetMacro(Periodic, vtkTypeBool);
88 vtkBooleanMacro(Periodic, vtkTypeBool);
90
92
101 vtkSetMacro(PeriodicEndCorrection, vtkTypeBool);
102 vtkGetMacro(PeriodicEndCorrection, vtkTypeBool);
103 vtkBooleanMacro(PeriodicEndCorrection, vtkTypeBool);
105
107
112 vtkSetMacro(MaximumNumberOfPeriods, double);
113 vtkGetMacro(MaximumNumberOfPeriods, double);
115
116protected:
119
120 double PreShift;
121 double PostShift;
122 double Scale;
126 //
127 double InRange[2];
128 double OutRange[2];
129 double PeriodicRange[2];
132
137 vtkInformationVector* outputVector) override;
138
140
142 int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation* info) override;
143
145
147
149
150 double ForwardConvert(double T0);
151 double BackwardConvert(double T1);
152
153private:
155 void operator=(const vtkTemporalShiftScale&) = delete;
156};
157
158#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:114
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69