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 
vtkTemporalShiftScale::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTemporalShiftScale::ProcessRequest
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
see vtkAlgorithm for details
vtkTemporalShiftScale
modify the time range/steps of temporal data
Definition: vtkTemporalShiftScale.h:44
vtkTemporalShiftScale::~vtkTemporalShiftScale
~vtkTemporalShiftScale()
vtkTemporalShiftScale::TempMultiplier
double TempMultiplier
Definition: vtkTemporalShiftScale.h:135
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
vtkTemporalShiftScale::PeriodicN
int PeriodicN
Definition: vtkTemporalShiftScale.h:134
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTemporalShiftScale::PreShift
double PreShift
Definition: vtkTemporalShiftScale.h:124
vtkTemporalShiftScale::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTemporalShiftScale::BackwardConvert
double BackwardConvert(double T1)
vtkAlgorithm.h
vtkTemporalShiftScale::vtkTemporalShiftScale
vtkTemporalShiftScale()
vtkTemporalShiftScale::Scale
double Scale
Definition: vtkTemporalShiftScale.h:126
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkTemporalShiftScale::MaximumNumberOfPeriods
double MaximumNumberOfPeriods
Definition: vtkTemporalShiftScale.h:129
vtkTemporalShiftScale::Periodic
int Periodic
Definition: vtkTemporalShiftScale.h:127
vtkTemporalShiftScale::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkTemporalShiftScale::New
static vtkTemporalShiftScale * New()
vtkTemporalShiftScale::PostShift
double PostShift
Definition: vtkTemporalShiftScale.h:125
vtkTemporalShiftScale::ForwardConvert
double ForwardConvert(double T0)
vtkTemporalShiftScale::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkTemporalShiftScale::RequestDataObject
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTemporalShiftScale::FillOutputPortInformation
virtual int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation *info)
vtkTemporalShiftScale::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTemporalShiftScale::PeriodicEndCorrection
int PeriodicEndCorrection
Definition: vtkTemporalShiftScale.h:128