VTK  9.3.1
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:
39  static vtkCellGridReader* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
47  vtkSetFilePathMacro(FileName);
48  vtkGetFilePathMacro(FileName);
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
Store vtkAlgorithm input/output information.
static vtkCellGridAlgorithm * New()
a vtkAbstractArray subclass for strings
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
Store on/off settings for data arrays, etc.
Read a cell-grid file.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
represent and manipulate fields of data
Definition: vtkFieldData.h:51