30 #ifndef vtkDataObjectWriter_h
31 #define vtkDataObjectWriter_h
34 #include "vtkIOLegacyModule.h"
49 void SetFileName(
const char* filename) { this->Writer->SetFileName(filename); }
51 void SetHeader(
const char* header) { this->Writer->SetHeader(header); }
52 char*
GetHeader() {
return this->Writer->GetHeader(); }
65 void SetFieldDataName(
const char* fieldname) { this->Writer->SetFieldDataName(fieldname); }
void SetFileName(const char *filename)
Methods delegated to vtkDataWriter, see vtkDataWriter.
static vtkDataObjectWriter * New()
~vtkDataObjectWriter() override
void WriteToOutputStringOn()
void SetWriteToOutputString(int b)
int GetWriteToOutputString()
void WriteToOutputStringOff()
unsigned char * GetBinaryOutputString()
vtkStdString GetOutputStdString()
void SetFieldDataName(const char *fieldname)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetFileType(int type)
char * GetFieldDataName()
void WriteData() override
vtkIdType GetOutputStringLength()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetHeader(const char *header)
void SetFileTypeToBinary()
void SetFileTypeToASCII()
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)