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 
19 class VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT vtkTimeToTextConvertor : public vtkTableAlgorithm
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
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkTableAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkInformationVector
vtkTimeToTextConvertor::Format
char * Format
Definition: vtkTimeToTextConvertor.h:63
vtkTimeToTextConvertor::Shift
double Shift
Definition: vtkTimeToTextConvertor.h:64
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkTableAlgorithm
vtkTableAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkIndent
vtkInformation
vtkTimeToTextConvertor::Scale
double Scale
Definition: vtkTimeToTextConvertor.h:65
vtkTableAlgorithm.h
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTimeToTextConvertor
Definition: vtkTimeToTextConvertor.h:19
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()