13 #ifndef vtkCellGridWriter_h
14 #define vtkCellGridWriter_h
16 #include "vtkIOCellGridModule.h"
20 #include <vtk_nlohmannjson.h>
21 #include VTK_NLOHMANN_JSON(json.hpp) // For API.
24 VTK_ABI_NAMESPACE_BEGIN
40 vtkSetStringMacro(FileName);
41 vtkGetStringMacro(FileName);
65 vtkSetEnumMacro(FileFormat, Format);
66 vtkGetEnumMacro(FileFormat, Format);
76 char* FileName{
nullptr };
77 Format FileFormat{ Format::PlainText };
86 #endif // vtkCellGridWriter_h
Format
On-disk formats for the cell-grid data.
abstract class to write data to file(s)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Visualization data composed of cells of arbitrary type.
a simple class to control print indentation
vtkDataObject * GetInput()
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkAlgorithm * New()
virtual bool WriteDataAndReturn()
Binary message-pack data.