38 #ifndef vtkJSONDataSetWriter_h 39 #define vtkJSONDataSetWriter_h 41 #include "vtkIOExportModule.h" 101 bool WriteArrayContents(
vtkDataArray*,
const char* relativeFilePath);
109 static bool WriteArrayAsRAW(
vtkDataArray*,
const char* filePath);
122 VTK_LEGACY(
void SetFileName(
const char*));
151 std::
string WriteArray(
vtkDataArray*, const
char* className, const
char* arrayName =
nullptr);
156 int ValidStringCount;
std::string GetFileName(const std::string &fileName) noexcept
Set the appropriate file name based on recognized user input.
abstract class to specify dataset behavior
write vtkDataSet using a vtkArchiver with a JSON meta file along with all the binary arrays written a...
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.
a simple class to control print indentation
vtkDataObject * GetInput()
abstract superclass for arrays of numeric data
represent and manipulate attribute data in a dataset
virtual int Write()
Write data to output.
static vtkAlgorithm * New()
virtual void WriteData()=0