SOTRANSENDER(3iv)
π SoTranSender(3IV) β bestie's guide to sending database changes for transcription π
okay so. welcome to the SoTranSender(3IV) page, you're gonna slay this, i promise. it's in the <Inventor/misc/SoTranscribe.h> header, it's giving very much "messenger of the Inventor world", and honestly? iconic. π¦
β¨ NAME β¨
SoTranSender β sends database changes for transcription π
basically it's the one who packages up ur database glow-up and ships it off. no cap.
πΈ INHERITS FROM πΈ
SoTranSender
yep, it inherits from itself, it's that self-confident. main character energy only. π
β¨ SYNOPSIS β¨
#include <Inventor/misc/SoTranscribe.h>
Methods from class SoTranSender:
SoTranSender(SoOutput *output)
~SoTranSender()
SoOutput * getOutput() const
void insert(SoNode *node)
void insert(SoNode *node, SoNode *parent, int n)
void remove(SoNode *parent, int n)
void replace(SoNode *parent, int n, SoNode *newNode)
void modify(SoNode *node)
void prepareToSend()
π¦ DESCRIPTION π¦
so this class is for transcribing Inventor data. and before u ask β transcription is literally just the process of packaging up changes to a database and yeeting them over a "wire" to another database. it's a whole delivery service, and SoTranSender is the driver. πβ¨
SoTranSender lives on the sending side of transcription. it takes all ur changes to an Inventor database and packages them into a file or a memory area β whatever the SoOutput instance says it is. it only supports a limited set of changes to a database, and each change gets stored as a command in the transcription area. then at the other end, SoTranReceiver shows up to interpret all those transcribed commands. it's a two-girl operation, fr fr. π
π METHODS π
SoTranSender(SoOutput *output)β the constructor, bestie. it takes a pointer to anSoOutputinstance, and that instance decides what the transcription area actually is (a file? a memory area? that's on them). π~SoTranSender()β destructor. it's the goodbye era. π₯SoOutput *getOutput() constβ hands u back a pointer to the currentSoOutputinstance. simple, clean, obsessed. β¨void insert(SoNode *node)β adds anINSERTcommand to the transcription area. the given node gets added as the last child of the root node on the receiving end. last child privilege, we love to see it. πvoid insert(SoNode *node, SoNode *parent, int n)β also adds anINSERTcommand to the transcription area, but this time the node gets added as the nth child of the givenparentnode on the receiving end. and if the parent node isNULL? then the node just gets added to the receiving end's root node instead. flexible queen. πvoid remove(SoNode *parent, int n)β adds aREMOVEcommand to the transcription area. the nth child of the given parent node (which is non-NULL, no exceptions bestie) gets removed on the receiving end. it's giving farewell tour. πvoid replace(SoNode *parent, int n, SoNode *newNode)β adds aREPLACEcommand to the transcription area. the nth child of the given parent node (again, non-NULL, don't play) gets replaced withnewNodeon the receiving end. out with the old, in with the new. glow-up initiated. π₯void modify(SoNode *node)β adds aMODIFYcommand to the transcription area. it updates the field data for the given node to the new contents.
β οΈ okay important: this changes only field data. children of groups are not affected, and neither is any non-field instance data. so don't come for me when ur group children are still sitting there unchanged. that's just how it is. π
void prepareToSend()β prepares anSoTranSenderinstance for transcription, making sure the transcription area is complete and all packaged to go. π
π¨ and this part is not optional: this must be called before the transcription can be performed. like, no prepareToSend(), no transcription. periodt.
β SEE ALSO β
SoOutputSoTranReceiver
go read those too, they're part of the lore. π
and that's the whole page, bestie!! mwah π this was SoTranSender(3IV)() from the SoTranSender(3IV) manual β same title, same version, same date, just way more fun. now go transcribe something and be iconic about it. π«Άβ¨π
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms