VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkEnSightMasterServerReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkEnSightMasterServerReader.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
=========================================================================*/
22
#ifndef __vtkEnSightMasterServerReader_h
23
#define __vtkEnSightMasterServerReader_h
24
25
#include "
vtkGenericEnSightReader.h
"
26
27
class
vtkCollection
;
28
29
class
VTK_IO_EXPORT
vtkEnSightMasterServerReader
:
public
vtkGenericEnSightReader
30
{
31
public
:
32
vtkTypeMacro(
vtkEnSightMasterServerReader
,
vtkGenericEnSightReader
);
33
void
PrintSelf
(ostream& os,
vtkIndent
indent);
34
35
static
vtkEnSightMasterServerReader
*
New
();
36
38
int
DetermineFileName(
int
piece);
39
41
42
vtkGetStringMacro(PieceCaseFileName);
44
46
47
vtkSetMacro(CurrentPiece,
int
);
48
vtkGetMacro(CurrentPiece,
int
);
50
51
int
CanReadFile
(
const
char
*fname);
52
53
protected
:
54
vtkEnSightMasterServerReader
();
55
~
vtkEnSightMasterServerReader
();
56
57
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
58
vtkInformationVector
*);
59
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
60
vtkInformationVector
*);
61
62
vtkSetStringMacro(PieceCaseFileName);
63
char
*
PieceCaseFileName
;
64
int
MaxNumberOfPieces
;
65
int
CurrentPiece
;
66
67
private
:
68
vtkEnSightMasterServerReader
(
const
vtkEnSightMasterServerReader
&);
// Not implemented.
69
void
operator=(
const
vtkEnSightMasterServerReader
&);
// Not implemented.
70
};
71
72
#endif
Generated on Wed Nov 21 2012 21:33:58 for VTK by
1.8.2