Open Inventor Reference
|
Field containing a pointer to a node. More...
#include <Inventor/fields/SoSFNode.h>
Public Member Functions | |
virtual void | fixCopy (SbBool copyConnections) |
Update a copied field to use the copy of the node if there is one. | |
virtual SbBool | referencesCopy () const |
Override this to also check the stored node. | |
Static Public Member Functions | |
static void | initClass () |
This field maintains a pointer to an SoNode instance, correctly maintaining its reference count.
SoSFNodes are written to file as the node they are pointing to. For example:
mySoSFNodeField Cube {}
is an SoSFNode field named 'mySoSFNodeField', pointing to an SoCube node. If the node is used elsewhere, the regular DEF/USE instancing mechanism applies:
anotherSoSFNodeField USE topSeparator
is an SoSFNode field that points to a node named 'topSeparator' that was DEF'ed earlier in the scene.
Definition at line 92 of file SoSFNode.h.
static void SoSFNode::initClass | ( | ) | [static] |
Reimplemented from SoSField.