19 #ifndef vtkCellGridReader_h
20 #define vtkCellGridReader_h
23 #include "vtkIOCellGridModule.h"
28 #include <vtk_nlohmannjson.h>
29 #include VTK_NLOHMANN_JSON(json.hpp) // For API.
35 VTK_ABI_NAMESPACE_BEGIN
49 vtkSetFilePathMacro(FileName);
50 vtkGetFilePathMacro(FileName);
54 bool FromJSON(
const nlohmann::json& jj,
vtkCellGrid* grid);
60 char* FileName =
nullptr;
static vtkCellGridAlgorithm * New()
vtkNew< vtkCellGridIOQuery > Query
Serialize/deserialize vtkCellMetadata records.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Visualization data composed of cells of arbitrary type.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.