Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
SoVectorOutput Class Reference

The SoVectorOutput class is used for setting vector output file. More...

#include <Inventor/annex/HardCopy/SoVectorOutput.h>

Inheritance diagram for SoVectorOutput:

Public Member Functions

 SoVectorOutput (void)
virtual ~SoVectorOutput ()
virtual SbBool openFile (const char *filename)
virtual void closeFile (void)
FILE * getFilePointer (void)

Detailed Description

The SoVectorOutput class is used for setting vector output file.

SoVectorizeAction will create an SoVectorOutput which will output to stdout by default. SoVectorizeAction::getOutput() can be used to fetch this output, and the user will probably want to set a file to output to.

Coin 2.1
TGS provides HardCopy support as a separate extension for TGS Inventor.

Constructor & Destructor Documentation

◆ SoVectorOutput()

SoVectorOutput::SoVectorOutput ( void  )

Constructor. Will make this instance output to stdout.

◆ ~SoVectorOutput()

SoVectorOutput::~SoVectorOutput ( )

Destructor. Will close the file opened in openFile().

Member Function Documentation

◆ openFile()

SbBool SoVectorOutput::openFile ( const char *  filename)

Opens filename for output. Returns FALSE if file could not be opened for writing. If the file already exists, it will be truncated.

◆ closeFile()

void SoVectorOutput::closeFile ( void  )

Closes the file opened in openFile()

◆ getFilePointer()

FILE * SoVectorOutput::getFilePointer ( void  )

Returns the stdio file handle pointer.

The documentation for this class was generated from the following files: