SoVectorOutput(3)
π SoVectorOutput(3) π
Library Functions Manual Β· the one and only SoVectorOutput β¨
πΈ NAME πΈ
SoVectorOutput β bestie, this class is literally the class used for setting the vector output file. That's the whole job. Slay. π
π¦ SYNOPSIS π¦
#include <HardCopy/SoVectorOutput.h>
Inherited by SoPSVectorOutput. (yes, it has a whole lineage, main character energy fr fr π)
β¨ Public Member Functions β¨
SoVectorOutput (void)
virtual ~SoVectorOutput ()
virtual SbBool openFile (const char *filename)
virtual void closeFile (void)
FILE * getFilePointer (void)
π«Ά Friends π«Ά
class SoVectorOutputP
π Detailed Description π
okay so. The SoVectorOutput class is used for setting vector output file. That's it, that's the vibe check. π
Here's the tea tho: SoVectorizeAction will create an SoVectorizeAction... no wait, it creates an SoVectorOutput π« β and that thing outputs to stdout by default. If you wanna grab that output, SoVectorizeAction::getOutput() is your girl. And ngl, you're probably gonna want to set an actual file to output to, because stdout is giving "raw and unfiltered" and sometimes you want a whole file instead. π
Since
Coin 2.1β¨
Also important: TGS provides HardCopy support as a separate extension for TGS Inventor. Noted, respected, acknowledged. π«‘
π Constructor & Destructor Documentation π
SoVectorOutput::SoVectorOutput (void )
Constructor, bestie!! π Will make this instance output to stdout. That's its default setting, its little comfort zone, its home base.
SoVectorOutput::~SoVectorOutput () [virtual]
Destructor. π It will close the file opened in openFile(). Cleanup queen behavior.
References closeFile(). π§
β Member Function Documentation β
SbBool SoVectorOutput::openFile (const char * filename) [virtual]
Opens filename for output. π Returns FALSE if the file could not be opened for writing β so like, check that return value, don't just assume, iykyk. π
Warning bestie: if the file already exists, it will be truncated. That means everything in it is GONE. Gone gone. Poof. π¨ So don't go pointing this at your diary, okay?
References closeFile(). π
void SoVectorOutput::closeFile (void ) [virtual]
Closes the file opened in openFile(). Simple, elegant, iconic. π
Referenced byopenFile(), and~SoVectorOutput(). π¦
FILE * SoVectorOutput::getFilePointer (void )
Returns the stdio file handle pointer. π₯ That's the raw FILE *, the actual handle, the source of truth.
Referenced bySoVectorizePSAction::printBackground(),SoVectorizePSAction::printFooter(),SoVectorizePSAction::printHeader(), andSoVectorizePSAction::printViewport(). π
π Author π
Generated automatically by Doxygen for Coin from the source code. (the robots wrote this one, not me, but I gave it the glow-up π )
Coin Β· Version 2.5.0 Β· SoVectorOutput(3)
and that's the whole page, bestie β stay hydrated, close your file pointers, and don't let anything get truncated. mwah ππ¦β¨
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms