28 #ifndef vtkXMLWriterBase_h
29 #define vtkXMLWriterBase_h
32 #include "vtkIOXMLModule.h"
93 vtkSetMacro(ByteOrder,
int);
94 vtkGetMacro(ByteOrder,
int);
104 virtual void SetHeaderType(
int);
105 vtkGetMacro(HeaderType,
int);
115 virtual void SetIdType(
int);
116 vtkGetMacro(IdType,
int);
125 vtkSetFilePathMacro(FileName);
126 vtkGetFilePathMacro(FileName);
133 vtkSetMacro(WriteToOutputString,
bool);
134 vtkGetMacro(WriteToOutputString,
bool);
135 vtkBooleanMacro(WriteToOutputString,
bool);
160 void SetCompressorType(
int compressorType);
172 void SetCompressionLevel(
int compressorLevel);
173 vtkGetMacro(CompressionLevel,
int);
183 virtual void SetBlockSize(
size_t blockSize);
184 vtkGetMacro(BlockSize,
size_t);
193 vtkSetMacro(DataMode,
int);
194 vtkGetMacro(DataMode,
int);
208 vtkSetMacro(EncodeAppendedData,
bool);
209 vtkGetMacro(EncodeAppendedData,
bool);
210 vtkBooleanMacro(EncodeAppendedData,
bool);
216 virtual const char* GetDefaultFileExtension() = 0;
228 virtual int GetDataSetMajorVersion();
229 virtual int GetDataSetMinorVersion();
void SetByteOrderToBigEndian()
Get/Set the byte order of data written to the file.
void SetDataModeToBinary()
Get/Set the data mode used for the file's data.
Abstract interface for data compression classes.
void SetIdTypeToInt64()
Get/Set the size of the vtkIdType values stored in the file.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetIdTypeToInt32()
Get/Set the size of the vtkIdType values stored in the file.
Superclass for all sources, filters, and sinks in VTK.
void SetCompressorTypeToZLib()
Convenience functions to set the compressor to certain known types.
a simple class to control print indentation
Abstract base class for VTK-XML writers.
void SetCompressorTypeToNone()
Convenience functions to set the compressor to certain known types.
void SetHeaderTypeToUInt64()
Get/Set the binary data header word type.
vtkDataCompressor * Compressor
void SetHeaderTypeToUInt32()
Get/Set the binary data header word type.
void SetCompressorTypeToLZMA()
Convenience functions to set the compressor to certain known types.
void SetByteOrderToLittleEndian()
Get/Set the byte order of data written to the file.
void SetDataModeToAppended()
Get/Set the data mode used for the file's data.
void SetDataModeToAscii()
Get/Set the data mode used for the file's data.
std::string GetOutputString()
Enable writing to an OutputString instead of the default, a file.
void SetCompressorTypeToLZ4()
Convenience functions to set the compressor to certain known types.