19 #ifndef __vtkX3DExporterFIWriter_h
20 #define __vtkX3DExporterFIWriter_h
24 class vtkX3DExporterFIByteWriter;
25 class vtkX3DExporterFINodeInfoStack;
36 virtual int OpenFile(
const char* file);
53 void SetField(
int attributeID,
const char*,
bool mfstring =
false);
57 void SetField(
int attributeID,
float);
59 void SetField(
int attributeID,
double);
61 void SetField(
int attributeID,
bool);
64 void SetField(
int attributeID,
int type,
const double* a);
66 void SetField(
int attributeID,
const double* values,
size_t size);
70 void SetField(
int attributeID,
const int* values,
size_t size,
bool image =
false);
72 int GetEncodingMethod();
76 vtkSetClampMacro(Fastest,
int, 0, 1);
77 vtkBooleanMacro(Fastest,
int);
78 vtkGetMacro(Fastest,
int);
86 void StartAttribute(
int attributeID,
bool literal,
bool addToTable =
false);
89 void CheckNode(
bool callerIsAttribute =
true);
90 bool IsLineFeedEncodingOn;
93 vtkX3DExporterFIByteWriter* Writer;
94 vtkX3DExporterFINodeInfoStack* InfoStack;
virtual void StartNode(int nodeID)=0
virtual void CloseFile()=0
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
virtual void SetField(int attributeID, const char *value, bool mfstring=false)=0
abstract superclass for arrays of numeric data
Data compression using zlib.
virtual void StartDocument()=0
object to represent cell connectivity
virtual void EndDocument()=0
virtual int OpenFile(const char *file)=0