25#ifndef SO_TO_U3D_ACTION_H
26#define SO_TO_U3D_ACTION_H
32class SoToU3DActionPrivate;
234 SoNONUNICODE
virtual bool openFile(
const char* filename );
310 virtual void invokePreCallbacks(
const SoNode* node);
311 virtual void invokePostCallbacks(
const SoNode* node);
317 static void initClass();
318 static void exitClass();
321 const SoToU3DActionPrivate* getImpl() {
return m_private; }
323 const SoPath* getCurPath();
325 SoToU3DActionPrivate* m_private;
329 virtual void beginTraversal(
SoNode* node );
350 bool m_forcePolygonalText3, m_exportDraggers;
354 bool m_stopPrePostCallback;
#define SO_ACTION_HEADER(className)
Class for smart character strings.
Performs a generic traversal of a scene graph or path.
Response
Possible responses from a pre or post callback.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
Maintains a list of pointers to paths.
Represents a vertex of a generated primitive.
<a href="IconLegend.html"><img src="extHC.gif" alt="HardCopy" border="0"></a> Export a scene graph t...
bool areDraggersExported() const
Returns true if draggers are exported.
bool isPolygonalText3Forced() const
Returns true if polygonal text3 is forced (see forcePolygonalText3).
virtual void apply(SoPath *path)
Initiates an action on the graph specified by a path.
virtual SoNONUNICODE bool openFile(const char *filename)
Set the U3D output file.
void forcePolygonalText3(bool force)
Forces SoText2 nodes to be exported using SoText3 (default is true).
void setExportDraggers(bool force)
Allow the export of draggers (default is true).
virtual void forwardTraversal(SoPath *path)
Traverse a node that is not part of the current scenegraph.
virtual bool openFile(const SbString &filename)
Set the U3D output file.
virtual void apply(SoNode *node)
Initiates an action on the graph specified by a node.
virtual void apply(const SoPathList &pathList, SbBool obeysRules=false)
Initiates an action on the graph specified by list of paths.
virtual bool closeFile()
Finalize export to the U3D output file.
virtual void forwardTraversal(SoNode *node)
Traverse a node that is not part of the current scenegraph.