Go to the documentation of this file.
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);
137 #endif // vtkGeoJSONWriter_h
char * RegisterAndGetOutputString()
This convenience method returns the string, sets the IVAR to NULL, so that the user is responsible fo...
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 *)
unsigned char * GetBinaryOutputString()
void ConditionalComma(vtkIdType, vtkIdType)
a simple class to control print indentation
abstract class to write data to file(s)
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
map scalar values into colors via a lookup table
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
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.