21#ifndef vtkDataObjectWriter_h
22#define vtkDataObjectWriter_h
25#include "vtkIOLegacyModule.h"
29VTK_ABI_NAMESPACE_BEGIN
44 return this->Writer->GetFileName();
46 void SetHeader(
const char* header) { this->Writer->SetHeader(header); }
47 char*
GetHeader() {
return this->Writer->GetHeader(); }
48 void SetFileType(
int type) { this->Writer->SetFileType(type); }
60 void SetFieldDataName(
const char* fieldname) { this->Writer->SetFieldDataName(fieldname); }
void SetFileName(const char *filename)
Methods delegated to vtkDataWriter, see vtkDataWriter.
~vtkDataObjectWriter() override
char * GetOutputString()
Methods delegated to vtkDataWriter, see vtkDataWriter.
char * GetFieldDataName()
Methods delegated to vtkDataWriter, see vtkDataWriter.
void WriteToOutputStringOn()
Methods delegated to vtkDataWriter, see vtkDataWriter.
void SetWriteToOutputString(int b)
Methods delegated to vtkDataWriter, see vtkDataWriter.
char * GetHeader()
Methods delegated to vtkDataWriter, see vtkDataWriter.
int GetWriteToOutputString()
Methods delegated to vtkDataWriter, see vtkDataWriter.
static vtkDataObjectWriter * New()
void WriteToOutputStringOff()
Methods delegated to vtkDataWriter, see vtkDataWriter.
vtkStdString GetOutputStdString()
Methods delegated to vtkDataWriter, see vtkDataWriter.
int GetFileType()
Methods delegated to vtkDataWriter, see vtkDataWriter.
void SetFieldDataName(const char *fieldname)
Methods delegated to vtkDataWriter, see vtkDataWriter.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetFileType(int type)
Methods delegated to vtkDataWriter, see vtkDataWriter.
unsigned char * GetBinaryOutputString()
Methods delegated to vtkDataWriter, see vtkDataWriter.
VTK_FUTURE_CONST char * GetFileName() VTK_FUTURE_CONST
Methods delegated to vtkDataWriter, see vtkDataWriter.
void WriteData() override
vtkIdType GetOutputStringLength()
Methods delegated to vtkDataWriter, see vtkDataWriter.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetHeader(const char *header)
Methods delegated to vtkDataWriter, see vtkDataWriter.
void SetFileTypeToBinary()
Methods delegated to vtkDataWriter, see vtkDataWriter.
void SetFileTypeToASCII()
Methods delegated to vtkDataWriter, see vtkDataWriter.
helper class for objects that write VTK data files
a simple class to control print indentation
Wrapper around std::string to keep symbols short.
abstract class to write data to file(s)