SOWRITEACTION(3iv)
π SoWriteAction π
okay so bestie, welcome to the manual page for SoWriteAction β that's the 3IV one, from the Inventor crew. It's the little action whose whole personality is: take a scene graph, write it out to a file. Periodt. β¨
πΈ NAME πΈ
SoWriteAction</puruple> β writes a scene graph to a file π
(no cap, that's literally the entire job description)
π¦ INHERITS FROM π¦
SoAction > SoWriteAction
so it's giving SoAction but make it write-y. The way it inherits everything from SoAction and then just adds the writing part? iconic. π
β¨ SYNOPSIS β¨
#include <Inventor/actions/SoWriteAction.h>
Methods from class SoWriteAction:
SoWriteAction()
SoWriteAction(SoOutput *out)
SoOutput * getOutput() const
Methods from class SoAction:
virtual void apply(SoNode *node)
virtual void apply(SoPath *path)
virtual void apply(const SoPathList &pathList, SbBool obeysRules =
FALSE)
static SoType getClassTypeId()
virtual SoType getTypeId()
virtual SbBool isOfType(SoType type)
virtual void invalidateState()
π DESCRIPTION π
So this class is used for writing scene graphs to files. That's the vibe. It's got an SoOutput instance chillin' inside it, and by default that thing writes to the standard output β yeah, straight to your terminal, no filter, main character energy fr fr. π
But here's the slay part: you can call methods on that SoOutput to tell it exactly what file or memory buffer you want it to write to instead. Your call, your rules. π«Ά
π METHODS π
SoWriteAction()β the constructor, no args, no drama. Just makes you a fresh one. πΈSoWriteAction(SoOutput *out)β the constructor that takes anSoOutputto use for output. So like, you hand it the output guy and it's like "bet, I'll write there". πSoOutput * getOutput() constβ returns a pointer to theSoOutputinstance that's living inside the action. iykyk. π¦
π SEE ALSO π
SoOutputπ
and that's the whole page bestie!! this was SoWriteAction(3IV) from the 3IV manual set β section 3IV, no extra dates or version drama attached, just the classic page tag. go forth and write those scene graphs, you absolute legend πβ¨ππ«Ά
π¦ 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