 |
VTK
9.1.0
|
Go to the documentation of this file.
23 #ifndef vtkGeoJSONWriter_h
24 #define vtkGeoJSONWriter_h
26 #include "vtkIOGeoJSONModule.h"
50 vtkSetMacro(WriteToOutputString,
bool);
51 vtkGetMacro(WriteToOutputString,
bool);
52 vtkBooleanMacro(WriteToOutputString,
bool);
61 vtkGetMacro(OutputStringLength,
int);
62 vtkGetStringMacro(OutputString);
65 return reinterpret_cast<unsigned char*
>(this->OutputString);
76 vtkSetMacro(ScalarFormat,
int);
77 vtkGetMacro(ScalarFormat,
int);
134 #endif // vtkGeoJSONWriter_h
void WriteData() override
vtkGetFilePathMacro(FileName)
Accessor for name of the file that will be opened on WriteData.
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)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkGeoJSONWriter() override
Convert vtkPolyData to Geo JSON format.
void CloseFile(ostream *)
unsigned char * GetBinaryOutputString()
When WriteToOutputString in on, then a string is allocated, written to, and can be retrieved with the...
void ConditionalComma(vtkIdType, vtkIdType)
a simple class to control print indentation
abstract class to write data to file(s)
vtkSetFilePathMacro(FileName)
Accessor for name of the file that will be opened on WriteData.
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
Wrapper around std::string to keep symbols short.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.