28 #ifndef __vtkDataWriter_h
29 #define __vtkDataWriter_h
73 return reinterpret_cast<unsigned char *
>(this->OutputString);
84 char *RegisterAndGetOutputString();
164 virtual ostream *OpenVTKFile();
167 int WriteHeader(ostream *fp);
176 int WriteCells(ostream *fp,
vtkCellArray *cells,
const char *label);
180 int WriteCellData(ostream *fp,
vtkDataSet *ds);
184 int WritePointData(ostream *fp,
vtkDataSet *ds);
188 int WriteEdgeData(ostream *fp,
vtkGraph *
g);
192 int WriteVertexData(ostream *fp,
vtkGraph *
g);
196 int WriteRowData(ostream *fp,
vtkTable *
g);
204 int WriteDataSetData(ostream *fp,
vtkDataSet *ds);
207 void CloseVTKFile(ostream *fp);
235 int num,
int numComp);
GLsizei GLsizei GLenum GLenum const GLvoid * data
Wrapper around std::string to keep symbols short.
void SetFileTypeToASCII()
abstract class to specify dataset behavior
Abstract superclass for all arrays.
helper class for objects that write vtk data files
#define vtkGetMacro(name, type)
unsigned char * GetBinaryOutputString()
#define vtkSetClampMacro(name, type, min, max)
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
#define VTKIOLEGACY_EXPORT
Base class for graph data types.
abstract class to write data to file(s)
a simple class to control print indentation
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
void SetFileTypeToBinary()
abstract superclass for arrays of numeric data
#define vtkGetStringMacro(name)
object to represent cell connectivity
A table, which contains similar-typed columns of data.
static vtkAlgorithm * New()
#define vtkBooleanMacro(name, type)
virtual void WriteData()=0
void PrintSelf(ostream &os, vtkIndent indent)
represent and manipulate 3D points
represent and manipulate fields of data
#define vtkSetMacro(name, type)