Open Inventor Reference
|
The SoEngineOutputData class holds data about engine outputs: the number of outputs the engine has, the names of the outputs. More...
#include <Inventor/engines/SoOutputData.h>
Public Member Functions | |
SoEngineOutputData () | |
Default constructor. More... | |
SoEngineOutputData (const SoEngineOutputData *) | |
SoEngineOutputData (int numOutputs) | |
Constructor that takes number of fields as a hint. More... | |
~SoEngineOutputData () | |
Destructor. More... | |
void | addOutput (const SoEngine *defEngine, const char *outputName, const SoEngineOutput *output, SoType type) |
Adds an output to current data, given name of output, a pointer to field within the engine, and the type of output. More... | |
int | getNumOutputs () const |
Returns number of outputs. More... | |
const SbName & | getOutputName (int index) const |
Returns name of output with given index. More... | |
SoEngineOutput * | getOutput (const SoEngine *engine, int index) const |
Returns pointer to output with given index within given object instance. More... | |
int | getIndex (const SoEngine *engine, const SoEngineOutput *output) const |
Returns index of output, given the output and the engine it is in. More... | |
const SoType & | getType (int index) const |
Returns type of output with given index. More... | |
bool | readDescriptions (SoInput *in, SoEngine *engine) const |
Methods to read and write the output descriptions. More... | |
void | writeDescriptions (SoOutput *out, SoEngine *engine) const |
All engines of a given class share the same output data. Therefore, to get information about a particular output in a particular engine instance, it is necessary to pass that instance to the appropriate method.
Definition at line 86 of file SoOutputData.h.
|
inline |
Definition at line 89 of file SoOutputData.h.
SoEngineOutputData::SoEngineOutputData | ( | const SoEngineOutputData * | ) |
|
inline |
Definition at line 94 of file SoOutputData.h.
SoEngineOutputData::~SoEngineOutputData | ( | ) |
void SoEngineOutputData::addOutput | ( | const SoEngine * | defEngine, |
const char * | outputName, | ||
const SoEngineOutput * | output, | ||
SoType | type | ||
) |
int SoEngineOutputData::getIndex | ( | const SoEngine * | engine, |
const SoEngineOutput * | output | ||
) | const |
|
inline |
Definition at line 108 of file SoOutputData.h.
SoEngineOutput* SoEngineOutputData::getOutput | ( | const SoEngine * | engine, |
int | index | ||
) | const |
const SbName& SoEngineOutputData::getOutputName | ( | int | index | ) | const |
const SoType& SoEngineOutputData::getType | ( | int | index | ) | const |