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

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
35class SoNode;
36
37
38class COIN_DLL_API SoSFNode : public SoSField {
39 typedef SoSField inherited;
40
41 SO_SFIELD_HEADER(SoSFNode, SoNode *, SoNode *);
42
43public:
44 static void initClass(void);
45
46 virtual void fixCopy(SbBool copyconnections);
47 virtual SbBool referencesCopy(void) const;
48
49private:
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
virtual SbBool referencesCopy(void) const
Definition SoField.cpp:1692
virtual void fixCopy(SbBool copyconnections)
Definition SoField.cpp:1677
virtual void countWriteRefs(SoOutput *out) const
Definition SoField.cpp:2029
The SoMFNode class is a container for nodes.
Definition SoMFNode.h:32
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoOutput class is an abstraction of an output stream.
Definition SoOutput.h:42
The SoSFNode class is a container for a single node.
Definition SoSFNode.h:38
The SoSField class is the base class for fields which contains only a single value.
Definition SoSField.h:29

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

Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.