Go to the documentation of this file.
22 #ifndef vtkX3DExporterXMLWriter_h
23 #define vtkX3DExporterXMLWriter_h
25 #include "vtkIOExportModule.h"
28 class vtkX3DExporterXMLNodeInfoStack;
53 void SetField(
int attributeID,
const char*,
bool mfstring =
true);
76 const char* GetNewline() {
return "\n"; };
82 ostream *OutputStream;
83 vtkX3DExporterXMLNodeInfoStack* InfoStack;
void SetField(int attributeID, int)
Sets the field specified with attributeID of the active node to the given value.
void StartDocument()
Starts a document and sets all necessary informations, i.e.
void EndDocument()
Ends a document and sets all necessary informations or necessary bytes to finish the encoding correct...
void SetField(int attributeID, const int *values, size_t size, bool image=false)
Sets the field specified with attributeID of the active node to the given value.
void SetField(int attributeID, const double *values, size_t size)
Sets the field specified with attributeID of the active node to the given value.
void SetField(int attributeID, double)
Sets the field specified with attributeID of the active node to the given value.
void SetField(int attributeID, int type, const double *a)
Sets the field specified with attributeID of the active node to the given value.
abstract superclass for arrays of numeric data
void SetField(int attributeID, float)
Sets the field specified with attributeID of the active node to the given value.
static vtkX3DExporterXMLWriter * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void StartNode(int elementID)
Starts/ends a new X3D node specified via nodeID.
a simple class to control print indentation
void SetField(int attributeID, int type, vtkDataArray *a)
Sets the field specified with attributeID of the active node to the given value.
~vtkX3DExporterXMLWriter()
void SetField(int attributeID, bool)
Sets the field specified with attributeID of the active node to the given value.
void SetField(int attributeID, const char *, bool mfstring=true)
Sets the field specified with attributeID of the active node to the given value.
virtual int OpenStream()
Init data support to be a stream instead of a file.
vtkX3DExporterXMLWriter()
virtual int OpenFile(const char *file)
Opens the file specified with file returns 1 if successful otherwise 0.