VTK
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 "vtkIOEnSightModule.h" // For export macro
27 
28 class vtkCollection;
29 
30 class VTKIOENSIGHT_EXPORT vtkEnSightMasterServerReader : public vtkGenericEnSightReader
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
37 
39  int DetermineFileName(int piece);
40 
42 
43  vtkGetStringMacro(PieceCaseFileName);
45 
47 
48  vtkSetMacro(CurrentPiece, int);
49  vtkGetMacro(CurrentPiece, int);
51 
52  int CanReadFile(const char *fname);
53 
54 protected:
57 
62 
63  vtkSetStringMacro(PieceCaseFileName);
64  char* PieceCaseFileName;
67 
68 private:
70  void operator=(const vtkEnSightMasterServerReader&); // Not implemented.
71 };
72 
73 #endif