VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
EnSight
vtkEnSight6Reader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkEnSight6Reader.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
=========================================================================*/
37
#ifndef __vtkEnSight6Reader_h
38
#define __vtkEnSight6Reader_h
39
40
#include "vtkIOEnSightModule.h"
// For export macro
41
#include "
vtkEnSightReader.h
"
42
43
class
vtkMultiBlockDataSet
;
44
class
vtkIdTypeArray
;
45
class
vtkPoints
;
46
47
class
VTKIOENSIGHT_EXPORT
vtkEnSight6Reader
:
public
vtkEnSightReader
48
{
49
public
:
50
static
vtkEnSight6Reader
*
New
();
51
vtkTypeMacro(
vtkEnSight6Reader
,
vtkEnSightReader
);
52
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
53
54
protected
:
55
vtkEnSight6Reader
();
56
~
vtkEnSight6Reader
();
57
59
61
virtual
int
ReadGeometryFile
(
const
char
* fileName,
int
timeStep,
62
vtkMultiBlockDataSet
*output);
64
66
68
virtual
int
ReadMeasuredGeometryFile
(
const
char
* fileName,
int
timeStep,
69
vtkMultiBlockDataSet
*output);
71
73
77
virtual
int
ReadScalarsPerNode
(
const
char
* fileName,
const
char
*
description
,
78
int
timeStep,
vtkMultiBlockDataSet
*output,
79
int
measured = 0,
80
int
numberOfComponents = 1,
81
int
component
= 0);
83
85
87
virtual
int
ReadVectorsPerNode
(
const
char
* fileName,
const
char
*
description
,
88
int
timeStep,
vtkMultiBlockDataSet
*output,
89
int
measured = 0);
91
93
95
virtual
int
ReadTensorsPerNode
(
const
char
* fileName,
const
char
*
description
,
96
int
timeStep,
vtkMultiBlockDataSet
*output);
98
100
104
virtual
int
ReadScalarsPerElement
(
const
char
* fileName,
const
char
*
description
,
105
int
timeStep,
vtkMultiBlockDataSet
*output,
106
int
numberOfComponents = 1,
107
int
component
= 0);
109
111
113
virtual
int
ReadVectorsPerElement
(
const
char
* fileName,
const
char
*
description
,
114
int
timeStep,
vtkMultiBlockDataSet
*output);
116
118
120
virtual
int
ReadTensorsPerElement
(
const
char
* fileName,
const
char
*
description
,
121
int
timeStep,
vtkMultiBlockDataSet
*output);
123
125
127
virtual
int
CreateUnstructuredGridOutput
(
int
partId,
128
char
line[256],
129
const
char
*
name
,
130
vtkMultiBlockDataSet
*output);
132
134
136
virtual
int
CreateStructuredGridOutput
(
int
partId,
137
char
line[256],
138
const
char
*
name
,
139
vtkMultiBlockDataSet
*output);
141
142
// global list of points for the unstructured parts of the model
143
int
NumberOfUnstructuredPoints
;
144
vtkPoints
*
UnstructuredPoints
;
145
vtkIdTypeArray
*
UnstructuredNodeIds
;
// matching of node ids to point ids
146
private
:
147
vtkEnSight6Reader
(
const
vtkEnSight6Reader
&);
// Not implemented.
148
void
operator=(
const
vtkEnSight6Reader
&);
// Not implemented.
149
};
150
151
#endif
Generated on Thu May 24 2012 22:22:28 for VTK by
1.8.1