VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
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 "
vtkEnSightReader.h
"
41
42
class
vtkMultiBlockDataSet
;
43
class
vtkIdTypeArray
;
44
class
vtkPoints
;
45
46
class
VTK_IO_EXPORT
vtkEnSight6Reader
:
public
vtkEnSightReader
47
{
48
public
:
49
static
vtkEnSight6Reader
*
New
();
50
vtkTypeMacro(
vtkEnSight6Reader
,
vtkEnSightReader
);
51
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
53
protected
:
54
vtkEnSight6Reader
();
55
~
vtkEnSight6Reader
();
56
58
60
virtual
int
ReadGeometryFile
(
const
char
* fileName,
int
timeStep,
61
vtkMultiBlockDataSet
*output);
63
65
67
virtual
int
ReadMeasuredGeometryFile
(
const
char
* fileName,
int
timeStep,
68
vtkMultiBlockDataSet
*output);
70
72
76
virtual
int
ReadScalarsPerNode
(
const
char
* fileName,
const
char
*
description
,
77
int
timeStep,
vtkMultiBlockDataSet
*output,
78
int
measured = 0,
79
int
numberOfComponents = 1,
80
int
component
= 0);
82
84
86
virtual
int
ReadVectorsPerNode
(
const
char
* fileName,
const
char
*
description
,
87
int
timeStep,
vtkMultiBlockDataSet
*output,
88
int
measured = 0);
90
92
94
virtual
int
ReadTensorsPerNode
(
const
char
* fileName,
const
char
*
description
,
95
int
timeStep,
vtkMultiBlockDataSet
*output);
97
99
103
virtual
int
ReadScalarsPerElement
(
const
char
* fileName,
const
char
*
description
,
104
int
timeStep,
vtkMultiBlockDataSet
*output,
105
int
numberOfComponents = 1,
106
int
component
= 0);
108
110
112
virtual
int
ReadVectorsPerElement
(
const
char
* fileName,
const
char
*
description
,
113
int
timeStep,
vtkMultiBlockDataSet
*output);
115
117
119
virtual
int
ReadTensorsPerElement
(
const
char
* fileName,
const
char
*
description
,
120
int
timeStep,
vtkMultiBlockDataSet
*output);
122
124
126
virtual
int
CreateUnstructuredGridOutput
(
int
partId,
127
char
line[256],
128
const
char
*
name
,
129
vtkMultiBlockDataSet
*output);
131
133
135
virtual
int
CreateStructuredGridOutput
(
int
partId,
136
char
line[256],
137
const
char
*
name
,
138
vtkMultiBlockDataSet
*output);
140
141
// global list of points for the unstructured parts of the model
142
int
NumberOfUnstructuredPoints
;
143
vtkPoints
*
UnstructuredPoints
;
144
vtkIdTypeArray
*
UnstructuredNodeIds
;
// matching of node ids to point ids
145
private
:
146
vtkEnSight6Reader
(
const
vtkEnSight6Reader
&);
// Not implemented.
147
void
operator=(
const
vtkEnSight6Reader
&);
// Not implemented.
148
};
149
150
#endif
Generated on Fri Aug 2 2013 12:20:00 for VTK by
1.8.4