26#ifndef vtkGeoJSONWriter_h
27#define vtkGeoJSONWriter_h
29#include "vtkIOGeoJSONModule.h"
45 vtkSetStringMacro(FileName);
54 vtkGetMacro(WriteToOutputString,
bool);
64 vtkGetMacro(OutputStringLength,
int);
68 return reinterpret_cast<unsigned char *
>(this->OutputString);
80 vtkGetMacro(ScalarFormat,
int);
abstract superclass for arrays of numeric data
Convert vtkPolyData to Geo JSON format.
void SetLookupTable(vtkLookupTable *lut)
Controls the lookup table to use when ValueMode is set to map colors;.
void CloseFile(ostream *)
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
char * RegisterAndGetOutputString()
This convenience method returns the string, sets the IVAR to NULL, so that the user is responsible fo...
unsigned char * GetBinaryOutputString()
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual ~vtkGeoJSONWriter()
void WriteScalar(vtkDataArray *da, vtkIdType ptId)
void ConditionalComma(vtkIdType, vtkIdType)
vtkStdString GetOutputStdString()
When WriteToOutputString is on, this method returns a copy of the output string in a vtkStdString.
static vtkGeoJSONWriter * New()
vtkLookupTable * LookupTable
a simple class to control print indentation
map scalar values into colors via a lookup table
Wrapper around std::string to keep symbols short.
abstract class to write data to file(s)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.