50#ifndef _SO_WRITE_ACTION_
51#define _SO_WRITE_ACTION_
53#include <Inventor/actions/SoAction.h>
54#include <Inventor/actions/SoSubAction.h>
55#include <Inventor/SoOutput.h>
127#ifndef HIDDEN_FROM_DOC
137 static void initClass();
138 static void exitClass();
141 void continueToApply(
SoNode *node);
142 void continueToApply(
SoPath *path);
152 static bool writeFile(
const SbString& outputFilename,
SoNode* scenegraph,
const bool binaryFormat=
false,
const bool compressedFormat=
false);
156 virtual void beginTraversal(
SoNode *node);
161 virtual SbBool shouldCompactPathLists()
const;
172 void traversePathList(
SoNode *node);
List of generic (void *) pointers.
Class for smart character strings.
Abstract base class for all actions.
Abstract base class for all database nodes.
Used to write Open Inventor data files.
Path that points to a list of hierarchical nodes.
Writes a scene graph to a file.
SoWriteAction()
Constructor.
SoWriteAction(SoOutput *out)
Constructor that takes an SoOutput to use for output.
SoOutput * getOutput() const
Returns reference to SoOutput instance in action.