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) 1998-2007 by Systems in Motion. All rights reserved.
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 Systems in Motion about acquiring
20  * a Coin Professional Edition License.
21  *
22  * See http://www.coin3d.org/ for more information.
23  *
24  * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, 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
The SoOutput class is an abstraction of an output stream.SoOutput offers the ability to write basic t...
Definition: SoOutput.h:42
The SoSField class is the base class for fields which contains only a single value.All field types which should always contain only a single member value inherits this class. SoSField is an abstract class.
Definition: SoSField.h:29
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 SoSFNode class is a container for a single node.This field container stores a pointer to a Coin n...
Definition: SoSFNode.h:38
The SoMFNode class is a container for nodes.This field container stores an array of pointers to nodes...
Definition: SoMFNode.h:32
virtual void fixCopy(SbBool copyconnections)
Definition: SoField.cpp:1651
virtual SbBool referencesCopy(void) const
Definition: SoField.cpp:1666
virtual void countWriteRefs(SoOutput *out) const
Definition: SoField.cpp:2005

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

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