Debian Codegraph @

doc/man/man3/ivm/engines/SoEngine.ivm

raw
1 NAME SoEngine SoEngine "" { base class for all engines }
2
3 DESC {
4 \cSoEngine\. is the abstract base class for all engines.
5 Engines are objects used for animation and behavior.
6 They are lightweight objects that are connected between
7 nodes, the clock, and other engines to form interesting
8 behaviorial objects (e.g., a spinning windmill).
9 \p
10 Engines are used to animate parts of a scene and/or to constrain
11 one part of a scene in relation to some other part of the scene.
12 An engine receives a number of input values, performs some operation
13 on them, and then copies the results into one or more
14 output fields. Both the inputs and the outputs can be connected
15 to other fields or engines in the scene graph. When an engine's
16 output values change, those new values are sent to any fields or
17 engines connected to them.
18 }
19
20 INCLUDE engines/SoEngine.h
21
22 METHOD GetTypeId
23 static SoType getClassTypeId()
24 { Returns the type identifier for the SoEngine class. }
25 METHOD getOuts
26 virtual int getOutputs(SoEngineOutputList &list) const
27 { Returns a list of outputs in this engine.
28 Use \mgetOutputName\. to get the names of the outputs,
29 and use \+\mSoEngineOutput::getConnectionType\.\.
30 \-\mSoEngineOutputGetConnectionType\.\. to determine their types. }
31 METHOD getOut
32 SoEngineOutput * getOutput(const SbName &outputName) const
33 { Returns a pointer to the engine output with the given name.
34 If no such output exists, NULL is returned.}
35 METHOD getOutName
36 SbBool getOutputName(const SoEngineOutput *output, SbName &outputName) const
37 { Returns (in \aoutputName\.) the name of the engine
38 output (\aoutput\.). Returns FALSE if the engine output is
39 not contained within the engine instance. }
40 METHOD ""
41 SoEngine * copy() const
42 { Creates and returns an exact copy of the engine.
43 All connections to inputs are copied as is (without
44 copying what's at the other end). }
45 METHOD ""
46 static SoEngine * getByName(const SbName &name)
47 { }
48 METHOD getByNameList
49 static int getByName(const SbName &name, SoEngineList &list)
50 { Look up engine(s) by name. }
51
52 ALSO { SoBoolOperation, SoCalculator,
53 SoComposeMatrix, SoComposeRotation, SoComposeRotationFromTo,
54 SoComposeVec2f, SoComposeVec3f, SoComposeVec4f,
55 SoComputeBoundingBox, SoConcatenate, SoCounter,
56 SoDecomposeMatrix, SoDecomposeRotation, SoDecomposeVec2f, SoDecomposeVec3f,
57 SoDecomposeVec4f, SoElapsedTime, SoGate,
58 SoInterpolate, SoOnOff, SoOneShot, SoSelectOne,
59 SoTimeCounter, SoTransformVec3f, SoTriggerAny }