Coin Logo http://www.sim.no
http://www.coin3d.org

SoToVRML2Action.h
1 #ifndef COIN_SOTOVRML2ACTION_H
2 #define COIN_SOTOVRML2ACTION_H
3 
4 /**************************************************************************\
5  *
6  * This file is part of the Coin 3D visualization library.
7  * Copyright (C) 1998-2007 by Systems in Motion. All rights reserved.
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * ("GPL") version 2 as published by the Free Software Foundation.
12  * See the file LICENSE.GPL at the root directory of this source
13  * distribution for additional information about the GNU GPL.
14  *
15  * For using Coin with software that can not be combined with the GNU
16  * GPL, and for taking advantage of the additional benefits of our
17  * support services, please contact Systems in Motion about acquiring
18  * a Coin Professional Edition License.
19  *
20  * See http://www.coin3d.org/ for more information.
21  *
22  * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
23  * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
24  *
25 \**************************************************************************/
26 
27 #include <Inventor/actions/SoToVRMLAction.h>
28 
29 
30 class COIN_DLL_API SoToVRML2Action : public SoToVRMLAction {
31  typedef SoToVRMLAction inherited;
32 
33  SO_ACTION_HEADER(SoToVRML2Action);
34 
35 public:
36  SoToVRML2Action(void);
37  virtual ~SoToVRML2Action();
38 
39  static void initClass(void);
40 
41  virtual void apply(SoNode * node);
42  virtual void apply(SoPath * path);
43  virtual void apply(const SoPathList & pathlist, SbBool obeysrules = FALSE);
44 
45  class SoVRMLGroup * getVRML2SceneGraph(void) const;
46 
47  void reuseAppearanceNodes(SbBool appearance);
48  SbBool doReuseAppearanceNodes(void) const;
49 
50  void reusePropertyNodes(SbBool property);
51  SbBool doReusePropertyNodes(void) const;
52 
53  void reuseGeometryNodes(SbBool geometry);
54  SbBool doReuseGeometryNodes(void) const;
55 
56 protected:
57  virtual void beginTraversal(SoNode * node);
58 
59 private:
60  class SoToVRML2ActionP * pimpl;
61  friend class SoToVRML2ActionP;
62 };
63 
64 #endif // !COIN_SOTOVRML2ACTION_H
virtual void apply(SoNode *node)
Definition: SoToVRMLAction.cpp:331
The SoToVRMLAction class builds a new scene graph using only VRML 1.0 nodes.This action is used for c...
Definition: SoToVRMLAction.h:31
The SoPathList class is a container for pointers to SoPath objects.As this class inherits SoBaseList...
Definition: SoPathList.h:31
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:43
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:67
The SoToVRML2Action class builds a new scene graph, using only VRML97/VRML2 nodes.This action is used for converting a scene graph of VRML1/Coin nodes to a new scene graph using only VRML97/VRML2 nodes.
Definition: SoToVRML2Action.h:30
virtual void beginTraversal(SoNode *node)
Definition: SoToVRMLAction.cpp:355
The SoVRMLGroup class is used for grouping VRML nodes.The detailed class documentation is taken verba...
Definition: SoVRMLGroup.h:35

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Fri Jul 20 2018 for Coin by Doxygen. 1.8.14