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 =========================================================================*/
20 #ifndef vtkEnSightMasterServerReader_h
21 #define vtkEnSightMasterServerReader_h
22 
23 #include "vtkIOEnSightModule.h" // For export macro
25 
26 class vtkCollection;
27 
28 class VTKIOENSIGHT_EXPORT vtkEnSightMasterServerReader : public vtkGenericEnSightReader
29 {
30 public:
32  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
33 
35 
39  int DetermineFileName(int piece);
40 
42 
45  vtkGetStringMacro(PieceCaseFileName);
47 
49 
52  vtkSetMacro(CurrentPiece, int);
53  vtkGetMacro(CurrentPiece, int);
55 
56  int CanReadFile(const char *fname);
57 
58 protected:
60  ~vtkEnSightMasterServerReader() VTK_OVERRIDE;
61 
62  int RequestData(vtkInformation *, vtkInformationVector **,
63  vtkInformationVector *) VTK_OVERRIDE;
64  int RequestInformation(vtkInformation *, vtkInformationVector **,
65  vtkInformationVector *) VTK_OVERRIDE;
66 
67  vtkSetStringMacro(PieceCaseFileName);
68  char* PieceCaseFileName;
69  int MaxNumberOfPieces;
70  int CurrentPiece;
71 
72 private:
74  void operator=(const vtkEnSightMasterServerReader&) VTK_DELETE_FUNCTION;
75 };
76 
77 #endif
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:33
reader for compund EnSight files
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
static vtkGenericEnSightReader * New()
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
create and manipulate ordered lists of objects
Definition: vtkCollection.h:48
Store zero or more vtkInformation instances.
class to read any type of EnSight files
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static int CanReadFile(const char *casefilename)
Returns true if the file pointed to by casefilename appears to be a valid EnSight case file...