19 #ifndef vtkX3DExporterFIWriter_h
20 #define vtkX3DExporterFIWriter_h
25 class vtkX3DExporterFIByteWriter;
26 class vtkX3DExporterFINodeInfoStack;
37 virtual int OpenFile(
const char* file);
54 void SetField(
int attributeID,
const char*,
bool mfstring =
false);
58 void SetField(
int attributeID,
float);
60 void SetField(
int attributeID,
double);
62 void SetField(
int attributeID,
bool);
65 void SetField(
int attributeID,
int type,
const double* a);
67 void SetField(
int attributeID,
const double* values,
size_t size);
71 void SetField(
int attributeID,
const int* values,
size_t size,
bool image =
false);
73 int GetEncodingMethod();
77 vtkSetClampMacro(Fastest,
int, 0, 1);
78 vtkBooleanMacro(Fastest,
int);
79 vtkGetMacro(Fastest,
int);
87 void StartAttribute(
int attributeID,
bool literal,
bool addToTable =
false);
90 void CheckNode(
bool callerIsAttribute =
true);
91 bool IsLineFeedEncodingOn;
94 vtkX3DExporterFIByteWriter* Writer;
95 vtkX3DExporterFINodeInfoStack* InfoStack;
virtual void StartNode(int nodeID)=0
#define VTKIOEXPORT_EXPORT
virtual void CloseFile()=0
virtual int OpenStream()=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