28 #ifndef vtkDataWriter_h 29 #define vtkDataWriter_h 73 return reinterpret_cast<unsigned char *
>(this->OutputString);
84 char *RegisterAndGetOutputString();
171 virtual ostream *OpenVTKFile();
174 int WriteHeader(ostream *fp);
183 int WriteCells(ostream *fp,
vtkCellArray *cells,
const char *label);
187 int WriteCellData(ostream *fp,
vtkDataSet *ds);
191 int WritePointData(ostream *fp,
vtkDataSet *ds);
195 int WriteEdgeData(ostream *fp,
vtkGraph *
g);
199 int WriteVertexData(ostream *fp,
vtkGraph *g);
203 int WriteRowData(ostream *fp,
vtkTable *g);
211 int WriteDataSetData(ostream *fp,
vtkDataSet *ds);
214 void CloseVTKFile(ostream *fp);
243 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)