VTKExtensions
FiltersGeneral
vtkTimeToTextConvertor.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkTimeToTextConvertor.h
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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
=========================================================================*/
25
#ifndef vtkTimeToTextConvertor_h
26
#define vtkTimeToTextConvertor_h
27
28
#include "
vtkPVVTKExtensionsFiltersGeneralModule.h
"
//needed for exports
29
#include "
vtkTableAlgorithm.h
"
30
31
class
VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
vtkTimeToTextConvertor
:
public
vtkTableAlgorithm
32
{
33
public
:
34
static
vtkTimeToTextConvertor
*
New
();
35
vtkTypeMacro(
vtkTimeToTextConvertor
,
vtkTableAlgorithm
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
39
44
vtkSetStringMacro(Format);
45
vtkGetStringMacro(Format);
47
49
52
vtkSetMacro(Shift,
double
);
53
vtkGetMacro(Shift,
double
);
55
57
60
vtkSetMacro(Scale,
double
);
61
vtkGetMacro(Scale,
double
);
63
64
protected
:
65
vtkTimeToTextConvertor
();
66
~
vtkTimeToTextConvertor
()
override
;
67
68
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
69
int
RequestData
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
70
vtkInformationVector
* outputVector)
override
;
71
72
int
RequestInformation
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
73
vtkInformationVector
* outputVector)
override
;
74
75
char
*
Format
;
76
double
Shift
;
77
double
Scale
;
78
79
private
:
80
vtkTimeToTextConvertor
(
const
vtkTimeToTextConvertor
&) =
delete
;
81
void
operator=
(
const
vtkTimeToTextConvertor
&) =
delete
;
82
};
83
84
#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:76
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:31
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTableAlgorithm
vtkInformationVector
vtkTimeToTextConvertor::Format
char * Format
Definition:
vtkTimeToTextConvertor.h:75
vtkTimeToTextConvertor::Scale
double Scale
Definition:
vtkTimeToTextConvertor.h:77
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
Generated by
1.8.13 on Wed Jan 27 2021