14 #ifndef vtkGeoJSONWriter_h
15 #define vtkGeoJSONWriter_h
17 #include "vtkIOGeoJSONModule.h"
20 VTK_ABI_NAMESPACE_BEGIN
34 vtkSetFilePathMacro(FileName);
35 vtkGetFilePathMacro(FileName);
42 vtkSetMacro(WriteToOutputString,
bool);
43 vtkGetMacro(WriteToOutputString,
bool);
44 vtkBooleanMacro(WriteToOutputString,
bool);
53 vtkGetMacro(OutputStringLength,
int);
54 vtkGetStringMacro(OutputString);
57 return reinterpret_cast<unsigned char*
>(this->OutputString);
68 vtkSetMacro(ScalarFormat,
int);
69 vtkGetMacro(ScalarFormat,
int);
91 char* RegisterAndGetOutputString();
116 void CloseFile(ostream*);
126 VTK_ABI_NAMESPACE_END
127 #endif // vtkGeoJSONWriter_h
Wrapper around std::string to keep symbols short.
map scalar values into colors via a lookup table
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
abstract superclass for arrays of numeric data
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkAlgorithm * New()
virtual void WriteData()=0
Convert vtkPolyData to Geo JSON format.
vtkLookupTable * LookupTable
unsigned char * GetBinaryOutputString()
When WriteToOutputString in on, then a string is allocated, written to, and can be retrieved with the...