SoVectorOutput.3sim

Langue: en

Version: 157357 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SoVectorOutput - 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.

SYNOPSIS


#include <HardCopy/SoVectorOutput.h>

Inherited by SoPSVectorOutput.

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

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.

Since:

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

Constructor & Destructor Documentation

SoVectorOutput::SoVectorOutput (void)

Constructor. Will make this instance output to stdout.

SoVectorOutput::~SoVectorOutput () [virtual]

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

References closeFile().

Member Function Documentation

SbBool SoVectorOutput::openFile (const char * filename) [virtual]

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

References closeFile().

void SoVectorOutput::closeFile (void) [virtual]

Closes the file opened in openFile()

Referenced by openFile(), and ~SoVectorOutput().

FILE * SoVectorOutput::getFilePointer (void)

Returns the stdio file handle pointer.

Referenced by SoVectorizePSAction::printBackground(), SoVectorizePSAction::printFooter(), SoVectorizePSAction::printHeader(), and SoVectorizePSAction::printViewport().

Author

Generated automatically by Doxygen for Coin from the source code.