1SoWriteAction(3IV)() SoWriteAction(3IV)()
2
3
4
6 SoWriteAction — Writes a scene graph to a file
7
9 SoAction > SoWriteAction
10
12 #include <Inventor/actions/SoWriteAction.h>
13
14 Methods from class SoWriteAction:
15
16 SoWriteAction()
17 SoWriteAction(SoOutput *out)
18 SoOutput * getOutput() const
19
20 Methods from class SoAction:
21
22 virtual void apply(SoNode *node)
23 virtual void apply(SoPath *path)
24 virtual void apply(const SoPathList &pathList, SbBool obeysRules =
25 FALSE)
26 static SoType getClassTypeId()
27 virtual SoType getTypeId()
28 virtual SbBool isOfType(SoType type)
29 virtual void invalidateState()
30
31
33 This class is used for writing scene graphs to files. It contains an
34 SoOutput instance that by default writes to the standard output. Meth‐
35 ods on the SoOutput can be called to specify what file or memory buffer
36 to write to.
37
39 SoWriteAction()
40 Constructor.
41
42 SoWriteAction(SoOutput *out)
43 Constructor that takes an SoOutput to use for output.
44
45 SoOutput * getOutput() const
46 Returns pointer to SoOutput instance in action.
47
48
50 SoOutput
51
52
53
54
55 SoWriteAction(3IV)()