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
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
29VTK_ABI_NAMESPACE_BEGIN
31class vtkFieldData;
32class vtkCellGridDocumentLoader;
33class vtkImageData;
34class vtkStringArray;
35
36class VTKIOCELLGRID_EXPORT vtkCellGridReader : public vtkCellGridAlgorithm
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
50
51protected:
54
55 char* FileName = nullptr;
56
59
60private:
61 vtkCellGridReader(const vtkCellGridReader&) = delete;
62 void operator=(const vtkCellGridReader&) = delete;
63};
64
65VTK_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
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
a vtkAbstractArray subclass for strings