Debian Codegraph @

doc/man/man3/ivm/engines/SoGate.ivm

raw
1 NAME SoGate SoGate "" {
2 selectively copies its input to its output
3 }
4
5 DESC {
6 This engine selectively copies its input to its output.
7 The type of the input field can be any subclass of \cSoMField\..
8 The type is specified when an instance of the class is created.
9 For example,
10 \+\cSoGate(SoMFFloat::getClassTypeId())\.\.
11 \-\cSoGateCreate(SoMFloatGetClassTypeId())\.\.
12 creates an engine that copies floating-point values.
13 \p
14 The \venable\. input controls continous flow-through of values.
15 While \venable\. is TRUE, the input will be copied to the output.
16 Alternatively, by touching the \vtrigger\. input, you can
17 copy a single value from the input to the output.
18 \p
19 Note that unlike most other engine fields, \vinput\. and
20 \voutput\. are pointers.
21 Note also that by default \vinput\. does not contain any values.
22 }
23
24 INCLUDE engines/SoGate.h
25
26 INPUT enable { Enable continous flow-through. }
27 INPUT trigger { Copy a single value. }
28 INPUT input { The value that is copied to the output when the gate is open. }
29
30 OUTPUT output { Contains a copy of the input value if the gate is open. }
31
32 METHOD SoGateCreate SoGate(SoType inputType)
33 { Constructor. The argument specifies the type of the input field. }
34
35 ALSO { SoEngineOutput, SoConcatenate, SoSelectOne }