20 #ifndef vtkX3DExporterFIWriter_h
21 #define vtkX3DExporterFIWriter_h
23 #include "vtkIOExportModule.h"
26 class vtkX3DExporterFIByteWriter;
27 class vtkX3DExporterFINodeInfoStack;
38 virtual int OpenFile(
const char* file);
55 void SetField(
int attributeID,
const char*,
bool mfstring =
false);
59 void SetField(
int attributeID,
float);
61 void SetField(
int attributeID,
double);
63 void SetField(
int attributeID,
bool);
66 void SetField(
int attributeID,
int type,
const double* a);
68 void SetField(
int attributeID,
const double* values,
size_t size);
72 void SetField(
int attributeID,
const int* values,
size_t size,
bool image =
false);
78 vtkSetClampMacro(Fastest,
int, 0, 1);
80 vtkGetMacro(Fastest,
int);
88 void StartAttribute(
int attributeID,
bool literal,
bool addToTable =
false);
91 void CheckNode(
bool callerIsAttribute =
true);
92 bool IsLineFeedEncodingOn;
95 vtkX3DExporterFIByteWriter* Writer;
96 vtkX3DExporterFINodeInfoStack* InfoStack;
virtual void StartNode(int nodeID)=0
Starts/ends a new X3D node specified via nodeID.
virtual void EndNode()=0
Starts/ends a new X3D node specified via nodeID.
virtual void CloseFile()=0
virtual int OpenStream()=0
Init data support to be a stream instead of a file.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual void SetField(int attributeID, const char *value, bool mfstring=false)=0
Sets the field specified with attributeID of the active node to the given value.
abstract superclass for arrays of numeric data
Data compression using zlib.
virtual void StartDocument()=0
Starts a document and sets all necessary informations, i.e.
object to represent cell connectivity
virtual void EndDocument()=0
Ends a document and sets all necessary informations or necessary bytes to finish the encoding correct...
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual int OpenFile(const char *file)=0
Opens the file specified with file returns 1 if successful otherwise 0.