SoVectorOutput(3)
π SoVectorOutput(3) π
okay bestie, pull up a chair because we're diving into SoVectorOutput from the Coin library's Library Functions Manual section. she's the class you call when you need to set a vector output file, and honestly? she's lowkey the backbone of your whole HardCopy era. let's get into it π
β¨ NAME β¨
SoVectorOutput β the class that's literally all about setting the vector output file. that's her whole thing. her moment. her main character energy π
πΈ SYNOPSIS πΈ
#include <HardCopy/SoVectorOutput.h>
okay so first thing: inherited by SoPSVectorOutput. so if you see that name floating around, just know she got it from her mama π
π¦ Public Member Functions
SoVectorOutput (void)β constructor bestievirtual ~SoVectorOutput ()β destructor, virtualvirtual SbBool openFile (const char *filename)β open that filevirtual void closeFile (void)β close that fileFILE * getFilePointer (void)β get the file pointer
π Detailed Description π
SoVectorOutput is the class used for setting vector output file. periodt. that's the assignment and she ate it π
so here's the tea: SoVectorizeAction will create an SoVectorOutput which will output to stdout by default. yep, by default she's just yelling into the void of your terminal π
SoVectorizeAction::getOutput() can be used to fetch this output, and you, the user, will probably want to set a file to output to. like, no shade to stdout, but if you want your vectors in an actual file you gotta do a little something extra, iykyk π
π§ Since
Coin 2.1 β¨
also fun fact: TGS provides HardCopy support as a separate extension for TGS Inventor. just so you know where all this comes from π«Ά
π Constructor & Destructor Documentation π
π SoVectorOutput::SoVectorOutput (void )
Constructor π Will make this instance output to stdout. yes bestie, out of the box she's talking to your terminal. iconic but also maybe not what you want, so keep openFile() in your back pocket.
π SoVectorOutput::~SoVectorOutput () [virtual]
Destructor π Will close the file opened in openFile(). so she cleans up after herself. we love a girl who does her own dishes β¨
π 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. and heads up bestie β if the file already exists, it will be truncated. like, gone. wiped. so double check before you point her at something precious π
π
void SoVectorOutput::closeFile (void ) [virtual]
Closes the file opened in openFile(). that's it, that's the whole function. she's simple and she knows it π¦
π
FILE * SoVectorOutput::getFilePointer (void )
Returns the stdio file handle pointer. hand it over, bestie, let me hold the pointer π₯
β Author β
Generated automatically by Doxygen for Coin from the source code. so like, not a human author, a robot wrote this. and now a robot wrote this version of it too, we're all just vibing in the machine π€π
and that's the whole page, bestie!! this was Coin, Version 3.1.3, and the page is SoVectorOutput(3) β go forth and vectorize responsibly, ily, mwah ππ«ΆπΈ
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.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