22 #ifndef vtkX3DExporterXMLWriter_h 23 #define vtkX3DExporterXMLWriter_h 25 #include "vtkIOExportModule.h" 28 class vtkX3DExporterXMLNodeInfoStack;
39 int OpenFile(const
char* file) VTK_OVERRIDE;
40 void Flush() VTK_OVERRIDE;
42 int OpenStream() VTK_OVERRIDE;
44 void StartDocument() VTK_OVERRIDE;
45 void EndDocument() VTK_OVERRIDE;
48 void StartNode(
int elementID) VTK_OVERRIDE;
49 void EndNode() VTK_OVERRIDE;
53 void SetField(
int attributeID, const
char*,
bool mfstring = true) VTK_OVERRIDE;
55 void SetField(
int attributeID,
int) VTK_OVERRIDE;
57 void SetField(
int attributeID,
float) VTK_OVERRIDE;
59 void SetField(
int attributeID,
double) VTK_OVERRIDE;
61 void SetField(
int attributeID,
bool) VTK_OVERRIDE;
64 void SetField(
int attributeID,
int type, const
double* a) VTK_OVERRIDE;
65 void SetField(
int attributeID,
int type,
vtkDataArray* a) VTK_OVERRIDE;
66 void SetField(
int attributeID, const
double* values,
size_t size) VTK_OVERRIDE;
68 void SetField(
int attributeID, const
int* values,
size_t size,
bool image = false) VTK_OVERRIDE;
72 ~vtkX3DExporterXMLWriter() VTK_OVERRIDE;
76 const
char* GetNewline() {
return "\n"; };
82 ostream *OutputStream;
83 vtkX3DExporterXMLNodeInfoStack* InfoStack;
virtual void CloseFile()=0
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract superclass for arrays of numeric data
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...