SOTRANRECEIVER(3iv)

πŸ’– NAME πŸ’–

SoTranReceiver β€” bestie, it interprets database changes for transcription ✨


🫢 INHERITS FROM 🫢

SoTranReceiver


✨ SYNOPSIS ✨

#include <Inventor/misc/SoTranscribe.h>

Methods from class SoTranReceiver:

          SoTranReceiver(SoGroup *rootNode)
          ~SoTranReceiver()
SbBool    interpret(SoInput *in)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: this class is the one you call for transcribing Inventor data. And what is transcription, you ask? It's the whole glow-up process of packaging changes to a database and yeeting them over a "wire" to another database. Sending your little database updates through the void, basically. πŸ’Œ

SoTranReceiver is the one holding down the fort on the receiving side of transcription. It interprets the changes to an Inventor database that some SoTranSender already packaged up and sent over. So SoTranSender is out here doing the sending, and this class is on the other end going "omg got it, applying it, slay." πŸ‘‘


πŸ’… METHODS πŸ’…

  • SoTranReceiver(SoGroup *rootNode) β€” the constructor, and bestie it takes a pointer to an SoGroup instance which is the root node of the scene graph on the receiving end. Every single change to the database gets made relative to this root. She's the anchor, the main character, the home base. 🌸
  • ~SoTranReceiver() β€” destructor. That's it, that's the whole vibe. πŸ’€
  • SbBool interpret(SoInput *in) β€” interprets the transcription commands found in the given input stream. Returns FALSE on any error, no cap.
⚠️ Note: some errors (like invalid node references) are recoverable, while others (like syntax errors) are not. So like... some oopsies are fixable and some are genuinely it's-over energy. Choose wisely. 😭

πŸŽ€ SEE ALSO πŸŽ€

SoInput, SoTranSender


And that's the whole page, bestie β€” this was SoTranReceiver(3IV), source and version SoTranReceiver(3IV)(). Go forth and transcribe responsibly πŸ«ΆπŸ’–βœ¨