VTK  9.3.1
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:
52  ~vtkEnSightMasterServerReader() override;
53 
56 
57  vtkSetFilePathMacro(PieceCaseFileName);
61 
62 private:
64  void operator=(const vtkEnSightMasterServerReader&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
Store vtkAlgorithm input/output information.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:28
reader for compound EnSight files
vtkGetFilePathMacro(CaseFileName)
Set/Get the Case file name.
static vtkGenericEnSightReader * New()
#define VTK_FILEPATH
create and manipulate ordered lists of objects
Definition: vtkCollection.h:44
Store zero or more vtkInformation instances.
class to read any type of EnSight files
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual int CanReadFile(VTK_FILEPATH const char *casefilename)
Returns IsEnSightFile() by default, but can be overridden.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetFilePathMacro(FilePath)
Set/Get the file path.