VTKExtensions
IOSPCTH
vtkSpyPlotHistoryReader.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3
// SPDX-License-Identifier: BSD-3-Clause
13
#ifndef vtkSpyPlotHistoryReader_h
14
#define vtkSpyPlotHistoryReader_h
15
16
#include "
vtkPVVTKExtensionsIOSPCTHModule.h
"
//needed for exports
17
#include "
vtkTableAlgorithm.h
"
18
class
vtkTable
;
19
20
class
VTKPVVTKEXTENSIONSIOSPCTH_EXPORT
vtkSpyPlotHistoryReader
:
public
vtkTableAlgorithm
21
{
22
public
:
23
static
vtkSpyPlotHistoryReader
*
New
();
24
vtkTypeMacro(
vtkSpyPlotHistoryReader
,
vtkTableAlgorithm
);
25
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
26
28
32
vtkSetStringMacro(FileName);
33
vtkGetStringMacro(FileName);
35
37
40
vtkSetStringMacro(CommentCharacter);
41
vtkGetStringMacro(CommentCharacter);
43
45
48
vtkSetStringMacro(Delimeter);
49
vtkGetStringMacro(Delimeter);
51
52
protected
:
53
vtkSpyPlotHistoryReader
();
54
~
vtkSpyPlotHistoryReader
()
override
;
55
56
// Read the case file and the first binary file do get meta
57
// information (number of files, number of fields, number of timestep).
58
int
RequestInformation
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
59
vtkInformationVector
* outputVector)
override
;
60
61
// Read the data: get the number of pieces (=processors) and get
62
// my piece id (=my processor id).
63
int
RequestData
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
64
vtkInformationVector
* outputVector)
override
;
65
66
void
FillCache();
67
void
ConstructTableColumns(
vtkTable
* table);
68
69
char
*
FileName
;
70
char
*
CommentCharacter
;
71
char
*
Delimeter
;
72
73
private
:
75
78
class
MetaInfo;
79
MetaInfo* Info;
81
83
86
class
CachedTables;
87
CachedTables* CachedOutput;
89
90
vtkSpyPlotHistoryReader
(
const
vtkSpyPlotHistoryReader
&) =
delete
;
91
void
operator=
(
const
vtkSpyPlotHistoryReader
&) =
delete
;
92
};
93
94
#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:20
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkTableAlgorithm.h
vtkIndent
vtkSpyPlotHistoryReader::CommentCharacter
char * CommentCharacter
Definition:
vtkSpyPlotHistoryReader.h:70
vtkTable
vtkSpyPlotHistoryReader::FileName
char * FileName
Definition:
vtkSpyPlotHistoryReader.h:69
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkSpyPlotHistoryReader::Delimeter
char * Delimeter
Definition:
vtkSpyPlotHistoryReader.h:71
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 Thu Mar 28 2024