vtkTimeToTextConvertor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkTimeToTextConvertor_h
14 #define vtkTimeToTextConvertor_h
15 
16 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
17 #include "vtkTableAlgorithm.h"
18 
20 {
21 public:
22  static vtkTimeToTextConvertor* New();
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
32  vtkSetStringMacro(Format);
33  vtkGetStringMacro(Format);
35 
37 
40  vtkSetMacro(Shift, double);
41  vtkGetMacro(Shift, double);
43 
45 
48  vtkSetMacro(Scale, double);
49  vtkGetMacro(Scale, double);
51 
52 protected:
54  ~vtkTimeToTextConvertor() override;
55 
56  int FillInputPortInformation(int port, vtkInformation* info) override;
57  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
58  vtkInformationVector* outputVector) override;
59 
60  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
61  vtkInformationVector* outputVector) override;
62 
63  char* Format;
64  double Shift;
65  double Scale;
66 
67 private:
69  void operator=(const vtkTimeToTextConvertor&) = delete;
70 };
71 
72 #endif
static vtkTableAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
This filter can be attached to any filter/source/reader that supports time.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)