23 #ifndef vtkGeoJSONWriter_h 24 #define vtkGeoJSONWriter_h 26 #include "vtkIOGeoJSONModule.h" 42 vtkSetStringMacro(FileName);
43 vtkGetStringMacro(FileName);
50 vtkSetMacro(WriteToOutputString,
bool);
51 vtkGetMacro(WriteToOutputString,
bool);
52 vtkBooleanMacro(WriteToOutputString,
bool);
61 vtkGetMacro(OutputStringLength,
int);
62 vtkGetStringMacro(OutputString);
65 return reinterpret_cast<unsigned char *>(this->OutputString);
76 vtkSetMacro(ScalarFormat,
int);
77 vtkGetMacro(ScalarFormat,
int);
99 char *RegisterAndGetOutputString();
124 void CloseFile(ostream *);
134 #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...