61#ifndef _SO_TRANSCRIBE_
62#define _SO_TRANSCRIBE_
140 void addBytes(
const void *bytes,
size_t nBytes);
141 void addCommand(
int command);
143 void addNode(
SoNode *node,
bool addNames =
TRUE);
144 void addNodeNames(
const SoNode *root);
145 void addNodeRef(
const SoNode *node);
146 void addString(
const char *cmdString);
197 bool interpretCommand(
int commandCode,
SoInput *in,
bool &done);
207 bool lookForNode,
SoNode *&oldRoot);
214 void removeNodeReferences(
SoNode *node);
220 static void deleteDictEntry(
size_t key,
void *value);
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
This is a dictionary mapping (size_t) integer keys to (void *) data pointers.
Character string stored in a hash table.
Base class for all group nodes.
Abstract base class for all database nodes.
Used to write Inventor data files.
Interprets database changes for transcription.
~SoTranReceiver()
Destructor.
bool interpret(SoInput *in)
Interprets the transcription commands found in the given input stream.
SoTranReceiver(SoGroup *rootNode)
The constructor takes a pointer to an SoGroup instance that is the root node of the scene graph on th...
Sends database changes for transcription.
void prepareToSend()
Prepares a SoTranSender instance for transcription, making sure the transcription area is complete an...
SoOutput * getOutput() const
Returns pointer to current SoOutput instance.
void modify(SoNode *node)
Adds a MODIFY command to the transcription area.
SoTranSender(SoOutput *output)
The constructor takes a pointer to an SoOutput instance that determines what the transcription area i...
void remove(SoNode *parent, int n)
Adds a REMOVE command to the transcription area.
~SoTranSender()
Destructor.
void replace(SoNode *parent, int n, SoNode *newNode)
Adds a REPLACE command to the transcription area.
void insert(SoNode *node, SoNode *parent, int n)
Adds an INSERT command to the transcription area.
void insert(SoNode *node)
Adds an INSERT command to the transcription area.