 |
VTK
9.1.0
|
Go to the documentation of this file.
28 #ifndef vtkXMLWriterBase_h
29 #define vtkXMLWriterBase_h
32 #include "vtkIOXMLModule.h"
93 vtkSetMacro(ByteOrder,
int);
94 vtkGetMacro(ByteOrder,
int);
105 vtkGetMacro(HeaderType,
int);
116 vtkGetMacro(IdType,
int);
133 vtkSetMacro(WriteToOutputString,
bool);
134 vtkGetMacro(WriteToOutputString,
bool);
135 vtkBooleanMacro(WriteToOutputString,
bool);
173 vtkGetMacro(CompressionLevel,
int);
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);
void SetHeaderTypeToUInt32()
Get/Set the binary data header word type.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
void SetHeaderTypeToUInt64()
Get/Set the binary data header word type.
~vtkXMLWriterBase() override
void SetCompressorType(int compressorType)
Convenience functions to set the compressor to certain known types.
vtkSetFilePathMacro(FileName)
Get/Set the name of the output file.
void SetByteOrderToBigEndian()
Get/Set the byte order of data written to the file.
virtual const char * GetDefaultFileExtension()=0
Get the default file extension for files written by this writer.
vtkGetFilePathMacro(FileName)
Get/Set the name of the output file.
Abstract base class for VTK-XML writers.
void SetIdTypeToInt32()
Get/Set the size of the vtkIdType values stored in the file.
virtual void SetCompressor(vtkDataCompressor *)
Get/Set the compressor used to compress binary and appended data before writing to the file.
vtkDataCompressor * Compressor
int Write()
Invoke the writer.
void SetCompressorTypeToLZ4()
Convenience functions to set the compressor to certain known types.
virtual void SetHeaderType(int)
Get/Set the binary data header word type.
a simple class to control print indentation
void SetCompressorTypeToNone()
Convenience functions to set the compressor to certain known types.
void SetCompressionLevel(int compressorLevel)
Get/Set compression level.
Abstract interface for data compression classes.
std::string GetOutputString()
Enable writing to an OutputString instead of the default, a file.
void SetCompressorTypeToZLib()
Convenience functions to set the compressor to certain known types.
void SetDataModeToBinary()
Get/Set the data mode used for the file's data.
void SetDataModeToAppended()
Get/Set the data mode used for the file's data.
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.
virtual void SetBlockSize(size_t blockSize)
Get/Set the block size used in compression.
virtual int GetDataSetMinorVersion()
virtual int GetDataSetMajorVersion()
void SetDataModeToAscii()
Get/Set the data mode used for the file's data.
virtual void SetIdType(int)
Get/Set the size of the vtkIdType values stored in the file.
void SetIdTypeToInt64()
Get/Set the size of the vtkIdType values stored in the file.