ParaView
ParaViewCore
VTKExtensions
Default
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 "vtkPVVTKExtensionsDefaultModule.h"
//needed for exports
29
#include "vtkTableAlgorithm.h"
30
31
class
VTKPVVTKEXTENSIONSDEFAULT_EXPORT
vtkTimeToTextConvertor
:
public
vtkTableAlgorithm
32
{
33
public
:
34
static
vtkTimeToTextConvertor
* New();
35
vtkTypeMacro(
vtkTimeToTextConvertor
, vtkTableAlgorithm);
36
void
PrintSelf(ostream& os, vtkIndent indent);
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
();
67
68
virtual
int
FillInputPortInformation(
int
port, vtkInformation* info);
69
virtual
int
RequestData(vtkInformation* request, vtkInformationVector** inputVector,
70
vtkInformationVector* outputVector);
71
72
virtual
int
RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
73
vtkInformationVector* outputVector);
74
75
char
*
Format
;
76
double
Shift
;
77
double
Scale
;
78
79
private
:
80
vtkTimeToTextConvertor
(
const
vtkTimeToTextConvertor
&) VTK_DELETE_FUNCTION;
81
void
operator=(const
vtkTimeToTextConvertor
&) VTK_DELETE_FUNCTION;
82
};
83
84
#endif
vtkTimeToTextConvertor::Shift
double Shift
Definition:
vtkTimeToTextConvertor.h:76
vtkTimeToTextConvertor
This filter can be attached to any filter/source/reader that supports time.
Definition:
vtkTimeToTextConvertor.h:31
vtkTimeToTextConvertor::Format
char * Format
Definition:
vtkTimeToTextConvertor.h:75
vtkTimeToTextConvertor::Scale
double Scale
Definition:
vtkTimeToTextConvertor.h:77
Generated by
1.8.12