24#ifndef vtkX3DExporterWriter_h
25#define vtkX3DExporterWriter_h
27#include "vtkIOExportModule.h"
68 vtkGetStringMacro(OutputString);
71 return reinterpret_cast<unsigned char*
>(this->OutputString);
118 virtual void SetField(
int attributeID,
const char*
value,
bool mfstring =
false) = 0;
139 virtual void SetField(
int attributeID,
double) = 0;
170 virtual void SetField(
int attributeID,
const double* values,
size_t size) = 0;
object to represent cell connectivity
abstract superclass for arrays of numeric data
a simple class to control print indentation
abstract base class for most VTK objects
dynamic, self-adjusting array of unsigned char
virtual void SetField(int attributeID, float)=0
Sets the field specified with attributeID of the active node to the given value.
unsigned char * GetBinaryOutputString()
When WriteToOutputString in on, then a string is allocated, written to, and can be retrieved with the...
virtual void EndNode()=0
Starts/ends a new X3D node specified via nodeID.
vtkTypeBool WriteToOutputString
virtual void SetField(int attributeID, int)=0
Sets the field specified with attributeID of the active node to the given value.
virtual void StartDocument()=0
Starts a document and sets all necessary information, i.e.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int OpenStream()=0
Init data support to be a stream instead of a file.
virtual void SetField(int attributeID, int type, vtkDataArray *a)=0
Sets the field specified with attributeID of the active node to the given value.
virtual void SetField(int attributeID, int type, const double *a)=0
Sets the field specified with attributeID of the active node to the given value.
virtual void SetField(int attributeID, const double *values, size_t size)=0
Sets the field specified with attributeID of the active node to the given value.
char * RegisterAndGetOutputString()
This convenience method returns the string, sets the IVAR to nullptr, so that the user is responsible...
virtual int OpenFile(const char *file)=0
Opens the file specified with file returns 1 if successful otherwise 0.
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.
virtual void CloseFile()=0
~vtkX3DExporterWriter() override
virtual void SetField(int attributeID, double)=0
Sets the field specified with attributeID of the active node to the given value.
virtual void SetField(int attributeID, const int *values, size_t size, bool image=false)=0
Sets the field specified with attributeID of the active node to the given value.
virtual void SetField(int attributeID, bool)=0
Sets the field specified with attributeID of the active node to the given value.
virtual void StartNode(int nodeID)=0
Starts/ends a new X3D node specified via nodeID.
vtkIdType OutputStringLength
virtual void EndDocument()=0
Ends a document and sets all necessary information or necessary bytes to finish the encoding correctl...