VTK  9.3.0
vtkEnSightMasterServerReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkEnSightMasterServerReader_h
12 #define vtkEnSightMasterServerReader_h
13 
15 #include "vtkIOEnSightModule.h" // For export macro
16 
17 VTK_ABI_NAMESPACE_BEGIN
18 class vtkCollection;
19 
20 class VTKIOENSIGHT_EXPORT vtkEnSightMasterServerReader : public vtkGenericEnSightReader
21 {
22 public:
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
31  int DetermineFileName(int piece);
32 
34 
37  vtkGetFilePathMacro(PieceCaseFileName);
39 
41 
44  vtkSetMacro(CurrentPiece, int);
45  vtkGetMacro(CurrentPiece, int);
47 
48  int CanReadFile(VTK_FILEPATH const char* fname) override;
49 
50 protected:
53 
56 
57  vtkSetFilePathMacro(PieceCaseFileName);
61 
62 private:
64  void operator=(const vtkEnSightMasterServerReader&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
create and manipulate ordered lists of objects
Definition: vtkCollection.h:45
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:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_FILEPATH