VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkSESAMEReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSESAMEReader.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
=========================================================================*/
27
#ifndef __vtkSESAMEReader_h
28
#define __vtkSESAMEReader_h
29
30
#include <
vtkRectilinearGridSource.h
>
31
32
class
vtkIntArray
;
33
34
class
VTK_IO_EXPORT
vtkSESAMEReader
:
public
vtkRectilinearGridSource
35
{
36
public
:
37
static
vtkSESAMEReader
*
New
();
38
vtkTypeMacro(
vtkSESAMEReader
,
vtkRectilinearGridSource
);
39
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
43
void
SetFileName(
const
char
* file);
45
const
char
* GetFileName();
46
48
int
IsValidFile();
49
51
int
GetNumberOfTableIds();
52
54
int
* GetTableIds();
55
57
vtkIntArray
* GetTableIdsAsArray();
58
60
void
SetTable(
int
tableId);
62
int
GetTable();
63
65
int
GetNumberOfTableArrayNames();
66
68
69
int
GetNumberOfTableArrays()
70
{
return
this->GetNumberOfTableArrayNames(); }
72
73
const
char
* GetTableArrayName(
int
index
);
74
76
77
void
SetTableArrayStatus(
const
char
*
name
,
int
flag);
78
int
GetTableArrayStatus(
const
char
*
name
);
80
81
protected
:
82
83
vtkSESAMEReader
();
84
virtual
~
vtkSESAMEReader
();
85
86
//BTX
87
class
MyInternal;
88
MyInternal*
Internal
;
89
//ETX
90
91
int
OpenFile();
92
void
CloseFile();
93
void
Execute
();
94
void
ExecuteInformation
();
95
96
int
ReadTableValueLine (
float
*v1,
float
*v2,
float
*v3,
97
float
*v4,
float
*v5);
98
int
JumpToTable(
int
tableID );
99
100
void
ReadTable();
101
102
private
:
103
vtkSESAMEReader
(
const
vtkSESAMEReader
&);
// Not implemented.
104
void
operator=(
const
vtkSESAMEReader
&);
// Not implemented.
105
106
};
107
108
#endif
Generated on Tue Jan 8 2013 05:45:36 for VTK by
1.8.1.2