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
30class COIN_DLL_API SoToVRML2Action : public SoToVRMLAction {
31 typedef SoToVRMLAction inherited;
32
33 SO_ACTION_HEADER(SoToVRML2Action);
34
35public:
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
56protected:
57 virtual void beginTraversal(SoNode * node);
58
59private:
60 class SoToVRML2ActionP * pimpl;
61 friend class SoToVRML2ActionP;
62};
63
64#endif // !COIN_SOTOVRML2ACTION_H
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoPathList class is a container for pointers to SoPath objects.
Definition SoPathList.h:31
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:43
void reusePropertyNodes(SbBool property)
Definition SoToVRML2Action.cpp:640
SbBool doReusePropertyNodes(void) const
Definition SoToVRML2Action.cpp:646
SbBool doReuseAppearanceNodes(void) const
Definition SoToVRML2Action.cpp:633
void reuseAppearanceNodes(SbBool appearance)
Definition SoToVRML2Action.cpp:627
class SoVRMLGroup * getVRML2SceneGraph(void) const
Definition SoToVRML2Action.cpp:621
SbBool doReuseGeometryNodes(void) const
Definition SoToVRML2Action.cpp:658
void reuseGeometryNodes(SbBool geometry)
Definition SoToVRML2Action.cpp:652
SoToVRML2Action(void)
Definition SoToVRML2Action.cpp:473
virtual void beginTraversal(SoNode *node)
Definition SoToVRMLAction.cpp:355
SoToVRMLAction(void)
Definition SoToVRMLAction.cpp:233
virtual void apply(SoNode *node)
Definition SoToVRMLAction.cpp:331
The SoVRMLGroup class is used for grouping VRML nodes.
Definition SoVRMLGroup.h:36

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

Generated on Thu Jan 16 2025 for Coin by Doxygen. 1.13.2