8#ifndef vtkX3DExporterFIWriter_h
9#define vtkX3DExporterFIWriter_h
11#include "vtkIOExportModule.h"
14VTK_ABI_NAMESPACE_BEGIN
15class vtkX3DExporterFIByteWriter;
16class vtkX3DExporterFINodeInfoStack;
44 void SetField(
int attributeID,
const char*,
bool mfstring =
false)
override;
48 void SetField(
int attributeID,
float)
override;
50 void SetField(
int attributeID,
double)
override;
55 void SetField(
int attributeID,
int type,
const double* a)
override;
57 void SetField(
int attributeID,
const double* values,
size_t size)
override;
61 void SetField(
int attributeID,
const int* values,
size_t size,
bool image =
false)
override;
77 void StartAttribute(
int attributeID,
bool literal,
bool addToTable =
false);
80 void CheckNode(
bool callerIsAttribute =
true);
81 bool IsLineFeedEncodingOn;
84 vtkX3DExporterFIByteWriter* Writer;
85 vtkX3DExporterFINodeInfoStack* InfoStack;
object to represent cell connectivity
abstract superclass for arrays of numeric data
a simple class to control print indentation
void StartNode(int elementID) override
Starts/ends a new X3D node specified via nodeID.
void SetField(int attributeID, int type, vtkDataArray *a) override
Sets the field specified with attributeID of the active node to the given value.
~vtkX3DExporterFIWriter() override
void SetField(int attributeID, int type, const double *a) override
Sets the field specified with attributeID of the active node to the given value.
void StartDocument() override
Starts a document and sets all necessary information, i.e.
void SetField(int attributeID, const double *values, size_t size) override
Sets the field specified with attributeID of the active node to the given value.
void EndNode() override
Starts/ends a new X3D node specified via nodeID.
void SetField(int attributeID, int) override
Sets the field specified with attributeID of the active node to the given value.
void SetField(int attributeID, float) override
Sets the field specified with attributeID of the active node to the given value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void EndDocument() override
Ends a document and sets all necessary information or necessary bytes to finish the encoding correctl...
void SetField(int attributeID, int type, vtkCellArray *a)
void SetField(int attributeID, bool) override
Sets the field specified with attributeID of the active node to the given value.
void SetField(int attributeID, double) override
Sets the field specified with attributeID of the active node to the given value.
int OpenStream() override
Init data support to be a stream instead of a file.
void SetField(int attributeID, const int *values, size_t size, bool image=false) override
Sets the field specified with attributeID of the active node to the given value.
int OpenFile(const char *file) override
Opens the file specified with file returns 1 if successful otherwise 0.
static vtkX3DExporterFIWriter * New()
void CloseFile() override
void SetField(int attributeID, const char *, bool mfstring=false) override
Sets the field specified with attributeID of the active node to the given value.
Data compression using zlib.