Go to the documentation of this file.
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);
137 #endif // vtkGeoJSONWriter_h
void WriteData() override
char * RegisterAndGetOutputString()
This convenience method returns the string, sets the IVAR to nullptr, so that the user is responsible...
abstract superclass for arrays of numeric data
vtkStdString GetOutputStdString()
When WriteToOutputString is on, this method returns a copy of the output string in a vtkStdString.
void WriteScalar(vtkDataArray *da, vtkIdType ptId)
Convert vtkPolyData to Geo JSON format.
void CloseFile(ostream *)
virtual void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned char * GetBinaryOutputString()
void ConditionalComma(vtkIdType, vtkIdType)
a simple class to control print indentation
abstract class to write data to file(s)
virtual int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
map scalar values into colors via a lookup table
void SetLookupTable(vtkLookupTable *lut)
Controls the lookup table to use when ValueMode is set to map colors;.
static vtkGeoJSONWriter * New()
vtkLookupTable * LookupTable
virtual ~vtkGeoJSONWriter()
Wrapper around std::string to keep symbols short.