man SoSFNode () - field containing a pointer to a node
NAME
SoSFNode - field containing a pointer to a node
INHERITS FROM
SoField > SoSField > SoSFNode
SYNOPSIS
#include <Inventor/fields/SoSFNode.h>
Methods from class SoSFNode:
c
}
c
}
getClassTypeId()
c
}
c
}
getTypeId() const
c
}
c
}
getValue() const
c
}
c
}
operator =(SoNode * newValue)
c
}
c
}
setValue(SoNode * newValue)
c
}
c
}
operator ==(const SoSFNode &f) const
c
}
c
}
operator !=(const SoSFNode &f) const
Methods from class SoField:
c
}
c
}
setIgnored(SbBool ignore)
c
}
c
}
isIgnored() const
c
}
c
}
isDefault() const
c
}
c
}
isOfType(SoType type) const
c
}
c
}
set(const char *valueString)
c
}
c
}
get(SbString &valueString)
c
}
c
}
touch()
c
}
c
}
connectFrom(SoField *fromField)
c
}
c
}
connectFrom(SoEngineOutput *fromEngine)
c
}
c
}
disconnect()
c
}
c
}
isConnected() const
c
}
c
}
isConnectedFromField() const
c
}
c
}
getConnectedField(SoField *&writingField) const
c
}
c
}
isConnectedFromEngine() const
c
}
c
}
getConnectedEngine(SoEngineOutput *&engineOutput) const
c
}
c
}
enableConnection(SbBool flag)
c
}
c
}
isConnectionEnabled() const
c
}
c
}
getForwardConnections(SoFieldList &list) const
c
}
c
}
getContainer() const
DESCRIPTION
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.
METHODS
c
}
c
}
getClassTypeId()
c
}
c
}
getTypeId() const
Returns the type for this class or a particular object of this class.
c
}
c
}
getValue() const
Returns this field's value.
c
}
c
}
operator =(SoNode * newValue)
c
}
c
}
setValue(SoNode * newValue)
Sets this field to newValue.
c
}
c
}
operator ==(const SoSFNode &f) const
c
}
c
}
operator !=(const SoSFNode &f) const
Returns TRUE if f is of the same type and has the same value as this field.
SEE ALSO
SoField, SoSField, SoMFNode, SoNode