| 1 |
NAME SoWriteAction SoWriteAct "" { |
| 2 |
Writes a scene graph to a file |
| 3 |
} |
| 4 |
|
| 5 |
DESC { |
| 6 |
This class is used for writing scene graphs to files. It contains an |
| 7 |
\cSoOutput\. instance that by default writes to the standard output. |
| 8 |
Methods on the \cSoOutput\. can be called to specify what file or |
| 9 |
memory buffer to write to. |
| 10 |
} |
| 11 |
|
| 12 |
INCLUDE actions/SoWriteAction.h |
| 13 |
METHOD "" SoWriteAction() { |
| 14 |
Constructor. |
| 15 |
} |
| 16 |
|
| 17 |
METHOD CreateOut SoWriteAction(SoOutput *out) { |
| 18 |
Constructor that takes an \cSoOutput\. to use for output. |
| 19 |
} |
| 20 |
|
| 21 |
METHOD getOut SoOutput * getOutput() const { |
| 22 |
Returns pointer to \cSoOutput\. instance in action. |
| 23 |
} |
| 24 |
|
| 25 |
ALSO { SoOutput } |