VTKExtensions
FiltersGeneral
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
();
23
vtkTypeMacro(
vtkTimeToTextConvertor
,
vtkTableAlgorithm
);
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
:
53
vtkTimeToTextConvertor
();
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
:
68
vtkTimeToTextConvertor
(
const
vtkTimeToTextConvertor
&) =
delete
;
69
void
operator=
(
const
vtkTimeToTextConvertor
&) =
delete
;
70
};
71
72
#endif
vtkPVVTKExtensionsFiltersGeneralModule.h
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()
vtkInformation
vtkTableAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTimeToTextConvertor::Shift
double Shift
Definition:
vtkTimeToTextConvertor.h:64
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkTableAlgorithm.h
vtkIndent
vtkTableAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
Definition:
vtkPVVTKExtensionsFiltersGeneralModule.h:15
vtkTimeToTextConvertor
This filter can be attached to any filter/source/reader that supports time.
Definition:
vtkTimeToTextConvertor.h:19
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTableAlgorithm
vtkInformationVector
vtkTimeToTextConvertor::Format
char * Format
Definition:
vtkTimeToTextConvertor.h:63
vtkTimeToTextConvertor::Scale
double Scale
Definition:
vtkTimeToTextConvertor.h:65
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
Generated by
1.8.13 on Tue Oct 1 2024