VTK  9.3.0
vtkCellGridReader.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
3 
19 #ifndef vtkCellGridReader_h
20 #define vtkCellGridReader_h
21 
22 #include "vtkCellGridAlgorithm.h"
23 #include "vtkIOCellGridModule.h" // For export macro
24 #include "vtkSmartPointer.h" // For SmartPointer
25 
26 #include <string> // For std::string
27 #include <vector> // For std::vector
28 
29 VTK_ABI_NAMESPACE_BEGIN
31 class vtkFieldData;
32 class vtkCellGridDocumentLoader;
33 class vtkImageData;
34 class vtkStringArray;
35 
36 class VTKIOCELLGRID_EXPORT vtkCellGridReader : public vtkCellGridAlgorithm
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
50 
51 protected:
53  ~vtkCellGridReader() override;
54 
55  char* FileName = nullptr;
56 
59 
60 private:
61  vtkCellGridReader(const vtkCellGridReader&) = delete;
62  void operator=(const vtkCellGridReader&) = delete;
63 };
64 
65 VTK_ABI_NAMESPACE_END
66 #endif
Superclass for algorithms that produce only polydata as output.
Read a cell-grid file.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkCellGridReader() override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkGetFilePathMacro(FileName)
Set/Get the name of the file from which to read data.
vtkSetFilePathMacro(FileName)
Set/Get the name of the file from which to read data.
static vtkCellGridReader * New()
Store on/off settings for data arrays, etc.
represent and manipulate fields of data
Definition: vtkFieldData.h:61
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
a vtkAbstractArray subclass for strings