20 #ifndef vtkX3DExporterFIWriter_h 21 #define vtkX3DExporterFIWriter_h 23 #include "vtkIOExportModule.h" 26 class vtkX3DExporterFIByteWriter;
27 class vtkX3DExporterFINodeInfoStack;
38 int OpenFile(const
char* file) VTK_OVERRIDE;
39 int OpenStream() VTK_OVERRIDE;
43 void Flush() VTK_OVERRIDE;
45 void StartDocument() VTK_OVERRIDE;
46 void EndDocument() VTK_OVERRIDE;
49 void StartNode(
int elementID) VTK_OVERRIDE;
50 void EndNode() VTK_OVERRIDE;
55 void SetField(
int attributeID, const
char*,
bool mfstring = false) VTK_OVERRIDE;
57 void SetField(
int attributeID,
int) VTK_OVERRIDE;
59 void SetField(
int attributeID,
float) VTK_OVERRIDE;
61 void SetField(
int attributeID,
double) VTK_OVERRIDE;
63 void SetField(
int attributeID,
bool) VTK_OVERRIDE;
66 void SetField(
int attributeID,
int type, const
double* a) VTK_OVERRIDE;
67 void SetField(
int attributeID,
int type,
vtkDataArray* a) VTK_OVERRIDE;
68 void SetField(
int attributeID, const
double* values,
size_t size) VTK_OVERRIDE;
71 void SetField(
int attributeID,
int type,
vtkCellArray* a);
72 void SetField(
int attributeID, const
int* values,
size_t size,
bool image = false) VTK_OVERRIDE;
78 vtkSetClampMacro(Fastest,
int, 0, 1);
80 vtkGetMacro(Fastest,
int);
85 ~vtkX3DExporterFIWriter() VTK_OVERRIDE;
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;
101 vtkX3DExporterFIWriter(const vtkX3DExporterFIWriter&) VTK_DELETE_FUNCTION;
102 void operator=(const vtkX3DExporterFIWriter&) VTK_DELETE_FUNCTION;
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
Data compression using zlib.
object to represent cell connectivity
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...