VTK  9.1.0
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 
24 #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) override;
33 
35 
39  int DetermineFileName(int piece);
40 
42 
45  vtkGetFilePathMacro(PieceCaseFileName);
47 
49 
52  vtkSetMacro(CurrentPiece, int);
53  vtkGetMacro(CurrentPiece, int);
55 
56  int CanReadFile(VTK_FILEPATH const char* fname) override;
57 
58 protected:
61 
64 
65  vtkSetFilePathMacro(PieceCaseFileName);
69 
70 private:
72  void operator=(const vtkEnSightMasterServerReader&) = delete;
73 };
74 
75 #endif
create and manipulate ordered lists of objects
Definition: vtkCollection.h:53
reader for compound EnSight files
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int DetermineFileName(int piece)
Determine which file should be read for piece.
int CanReadFile(VTK_FILEPATH const char *fname) override
Returns IsEnSightFile() by default, but can be overridden.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkEnSightMasterServerReader() override
static vtkEnSightMasterServerReader * New()
vtkGetFilePathMacro(PieceCaseFileName)
Get the file name that will be read.
vtkSetFilePathMacro(PieceCaseFileName)
class to read any type of EnSight files
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_FILEPATH