26 #ifndef vtkGeoJSONWriter_h 27 #define vtkGeoJSONWriter_h 29 #include "vtkIOGeoJSONModule.h" 45 vtkSetStringMacro(FileName);
46 vtkGetStringMacro(FileName);
53 vtkSetMacro(WriteToOutputString,
bool);
54 vtkGetMacro(WriteToOutputString,
bool);
55 vtkBooleanMacro(WriteToOutputString,
bool);
64 vtkGetMacro(OutputStringLength,
int);
65 vtkGetStringMacro(OutputString);
68 return reinterpret_cast<unsigned char *
>(this->OutputString);
79 vtkSetMacro(ScalarFormat,
int);
80 vtkGetMacro(ScalarFormat,
int);
102 char *RegisterAndGetOutputString();
127 void CloseFile(ostream *);
137 #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...