VTK  9.4.20250102
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
17VTK_ABI_NAMESPACE_BEGIN
18class vtkCollection;
19
20class VTKIOENSIGHT_EXPORT vtkEnSightMasterServerReader : public vtkGenericEnSightReader
21{
22public:
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
50protected:
53
56
57 vtkSetFilePathMacro(PieceCaseFileName);
61
62private:
64 void operator=(const vtkEnSightMasterServerReader&) = delete;
65};
66
67VTK_ABI_NAMESPACE_END
68#endif
create and manipulate ordered lists of objects
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.
static vtkEnSightMasterServerReader * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkEnSightMasterServerReader() override
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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_FILEPATH