19#ifndef vtkCellGridReader_h
20#define vtkCellGridReader_h
23#include "vtkIOCellGridModule.h"
28#include <vtk_nlohmannjson.h>
29#include VTK_NLOHMANN_JSON(json.hpp)
35VTK_ABI_NAMESPACE_BEGIN
60 char* FileName =
nullptr;
Superclass for algorithms that produce only polydata as output.
Serialize/deserialize vtkCellMetadata records.
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()
vtkNew< vtkCellGridIOQuery > Query
bool FromJSON(const nlohmann::json &jj, vtkCellGrid *grid)
Read directly from jj into grid.
Visualization data composed of cells of arbitrary type.
a simple class to control print indentation
Allocate and hold a VTK object.