25 #ifndef vtkGeoJSONWriter_h
26 #define vtkGeoJSONWriter_h
28 #include "vtkIOGeoJSONModule.h"
42 vtkSetStringMacro(FileName);
43 vtkGetStringMacro(FileName);
48 vtkSetMacro(WriteToOutputString,
bool);
49 vtkGetMacro(WriteToOutputString,
bool);
50 vtkBooleanMacro(WriteToOutputString,
bool);
57 vtkGetMacro(OutputStringLength,
int);
58 vtkGetStringMacro(OutputString);
61 return reinterpret_cast<unsigned char *
>(this->OutputString);
70 vtkSetMacro(ScalarFormat,
int);
71 vtkGetMacro(ScalarFormat,
int);
87 char *RegisterAndGetOutputString();
112 void CloseFile(ostream *);
122 #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)
a simple class to control print indentation
abstract superclass for arrays of numeric data
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkAlgorithm * New()
virtual void WriteData()=0
Convert vtkPolyData to Geo JSON format.
vtkLookupTable * LookupTable
void PrintSelf(ostream &os, vtkIndent indent)
unsigned char * GetBinaryOutputString()