VTKExtensions
IOSPCTH
vtkSpyPlotHistoryReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSpyPlotHistoryReader.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm 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
=========================================================================*/
24
#ifndef vtkSpyPlotHistoryReader_h
25
#define vtkSpyPlotHistoryReader_h
26
27
#include "
vtkPVVTKExtensionsIOSPCTHModule.h
"
//needed for exports
28
#include "
vtkTableAlgorithm.h
"
29
class
vtkTable
;
30
31
class
VTKPVVTKEXTENSIONSIOSPCTH_EXPORT
vtkSpyPlotHistoryReader
:
public
vtkTableAlgorithm
32
{
33
public
:
34
static
vtkSpyPlotHistoryReader
*
New
();
35
vtkTypeMacro(
vtkSpyPlotHistoryReader
,
vtkTableAlgorithm
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
39
43
vtkSetStringMacro(FileName);
44
vtkGetStringMacro(FileName);
46
48
51
vtkSetStringMacro(CommentCharacter);
52
vtkGetStringMacro(CommentCharacter);
54
56
59
vtkSetStringMacro(Delimeter);
60
vtkGetStringMacro(Delimeter);
62
63
protected
:
64
vtkSpyPlotHistoryReader
();
65
~
vtkSpyPlotHistoryReader
()
override
;
66
67
// Read the case file and the first binary file do get meta
68
// information (number of files, number of fields, number of timestep).
69
int
RequestInformation
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
70
vtkInformationVector
* outputVector)
override
;
71
72
// Read the data: get the number of pieces (=processors) and get
73
// my piece id (=my processor id).
74
int
RequestData
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
75
vtkInformationVector
* outputVector)
override
;
76
77
void
FillCache();
78
void
ConstructTableColumns(
vtkTable
* table);
79
80
char
*
FileName
;
81
char
*
CommentCharacter
;
82
char
*
Delimeter
;
83
84
private
:
86
89
class
MetaInfo;
90
MetaInfo* Info;
92
94
97
class
CachedTables;
98
CachedTables* CachedOutput;
100
101
vtkSpyPlotHistoryReader
(
const
vtkSpyPlotHistoryReader
&) =
delete
;
102
void
operator=
(
const
vtkSpyPlotHistoryReader
&) =
delete
;
103
};
104
105
#endif
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()
vtkInformation
vtkTableAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkSpyPlotHistoryReader
Read SPCTH Spy Plot history file format.
Definition:
vtkSpyPlotHistoryReader.h:31
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkTableAlgorithm.h
vtkIndent
vtkSpyPlotHistoryReader::CommentCharacter
char * CommentCharacter
Definition:
vtkSpyPlotHistoryReader.h:81
vtkTable
vtkSpyPlotHistoryReader::FileName
char * FileName
Definition:
vtkSpyPlotHistoryReader.h:80
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkSpyPlotHistoryReader::Delimeter
char * Delimeter
Definition:
vtkSpyPlotHistoryReader.h:82
vtkTableAlgorithm
vtkInformationVector
VTKPVVTKEXTENSIONSIOSPCTH_EXPORT
#define VTKPVVTKEXTENSIONSIOSPCTH_EXPORT
Definition:
vtkPVVTKExtensionsIOSPCTHModule.h:15
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkPVVTKExtensionsIOSPCTHModule.h
Generated by
1.8.13 on Wed Jan 27 2021