VTK
dox
IO
VeraOut
vtkVeraOutReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkVeraOutReader.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
=========================================================================*/
15
// .NAME vtkVeraOutReader - File reader for VERA OUT HDF5 format.
16
17
#ifndef vtkVeraOutReader_h
18
#define vtkVeraOutReader_h
19
20
#include "vtkIOVeraOutModule.h"
// For VTKIOVERAOUT_EXPORT macro
21
#include <vector>
// For STL vector
22
23
// vtkCommonExecutionModel
24
#include "
vtkRectilinearGridAlgorithm.h
"
25
26
class
vtkDataArraySelection
;
27
28
class
VTKIOVERAOUT_EXPORT
vtkVeraOutReader
:
public
vtkRectilinearGridAlgorithm
29
{
30
public
:
31
static
vtkVeraOutReader
*
New
();
32
vtkTypeMacro(
vtkVeraOutReader
,
vtkRectilinearGridAlgorithm
);
33
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
34
35
vtkSetStringMacro(FileName);
36
vtkGetStringMacro(FileName);
37
41
vtkDataArraySelection
* GetCellDataArraySelection()
const
;
45
vtkDataArraySelection
* GetFieldDataArraySelection()
const
;
46
50
vtkMTimeType
GetMTime
()
override
;
51
52
protected
:
53
vtkVeraOutReader
();
54
~
vtkVeraOutReader
() VTK_OVERRIDE;
55
56
int
RequestInformation(
57
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*) VTK_OVERRIDE;
58
59
// Trigger the real data access
60
int
RequestData(
61
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
* outputVector) VTK_OVERRIDE;
62
63
char
* FileName;
64
int
NumberOfTimeSteps;
65
std::
vector
<
double
> TimeSteps;
66
67
private:
68
vtkVeraOutReader
(const
vtkVeraOutReader
&) = delete;
69
void
operator=(const
vtkVeraOutReader
&) = delete;
70
71
class Internals;
72
Internals* Internal;
73
};
74
75
#endif
vtkX3D::vector
Definition:
vtkX3D.h:237
vtkRectilinearGridAlgorithm
Superclass for algorithms that produce only rectilinear grid as output.
Definition:
vtkRectilinearGridAlgorithm.h:43
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkDataArraySelection
Store on/off settings for data arrays for a vtkSource.
Definition:
vtkDataArraySelection.h:34
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkVeraOutReader
Definition:
vtkVeraOutReader.h:28
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:80
vtkRectilinearGridAlgorithm::New
static vtkRectilinearGridAlgorithm * New()
vtkRectilinearGridAlgorithm.h
vtkRectilinearGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition:
vtkType.h:302
Generated by
1.8.16