| http://www.sim.no/ http://www.coin3d.org/

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

SoSFNode.h
1 // Important note: this sourcefile was in full generated by the
2 // Coin/scripts/templant script from the code in SFNodeAndEngine.tpl.
3
4 //$ BEGIN TEMPLATE SFNodeAndEngine(NODE, Node)
5
6 /**************************************************************************\
7 *
8 * This file is part of the Coin 3D visualization library.
9 * Copyright (C) by Kongsberg Oil & Gas Technologies.
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * ("GPL") version 2 as published by the Free Software Foundation.
14 * See the file LICENSE.GPL at the root directory of this source
15 * distribution for additional information about the GNU GPL.
16 *
17 * For using Coin with software that can not be combined with the GNU
18 * GPL, and for taking advantage of the additional benefits of our
19 * support services, please contact Kongsberg Oil & Gas Technologies
20 * about acquiring a Coin Professional Edition License.
21 *
22 * See http://www.coin3d.org/ for more information.
23 *
24 * Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
25 * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
26 *
27 \**************************************************************************/
28
29 #ifndef COIN_SOSFNODE_H
30 #define COIN_SOSFNODE_H
31
32 #include <Inventor/fields/SoSField.h>
33 #include <Inventor/fields/SoSubField.h>
34
35 class SoNode;
36
37
38 class COIN_DLL_API SoSFNode : public SoSField {
39 typedef SoSField inherited;
40
41 SO_SFIELD_HEADER(SoSFNode, SoNode *, SoNode *);
42
43 public:
44 static void initClass(void);
45
46 virtual void fixCopy(SbBool copyconnections);
47 virtual SbBool referencesCopy(void) const;
48
49 private:
50 virtual void countWriteRefs(SoOutput * out) const;
51
52 // For accessing the readValue() and writeValue() methods.
53 friend class SoMFNode;
54 };
55
56 #endif // !COIN_SOSFNODE_H
57 //$ END TEMPLATE SFNodeAndEngine

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.