SoSFPath — field containing a pointer to an SoPath
Contents
Description
This field maintains a pointer to an SoPath instance, correctly maintaining its reference count.
SoSFPaths are written to file as the path they point to. See the SoPath manual page for a description of
the file format for a path.
Inherits From
SoField > SoSField > SoSFPath
Methods
staticSoTypegetClassTypeId()virtualvoidgetTypeId()const
Returns the type for this class or a particular object of this class.
SoPath*getValue()const
Returns this field's value.
SoPath*operator=(SoPath*newValue)voidsetValue(SoPath*newValue)
Sets this field to newValue.
intoperator==(constSoSFPath&f)constintoperator!=(constSoSFPath&f)const
Returns TRUE if f is of the same type and has the same value as this field.
Name
SoSFPath — field containing a pointer to an SoPath
See Also
SoField,SoSField,SoMFPath,SoPathSoSFPath(3IV)()
Synopsis
#include<Inventor/fields/SoSFPath.h>
Methods from class SoSFPath:
staticSoTypegetClassTypeId()virtualvoidgetTypeId()constSoPath*getValue()constSoPath*operator=(SoPath*newValue)voidsetValue(SoPath*newValue)intoperator==(constSoSFPath&f)constintoperator!=(constSoSFPath&f)const
Methods from class SoField:
voidsetIgnored(SbBoolignore)SbBoolisIgnored()constSbBoolisDefault()constvirtualSbBoolisOfType(SoTypetype)constSbBoolset(constchar*valueString)voidget(SbString&valueString)voidtouch()SbBoolconnectFrom(SoField*fromField)SbBoolconnectFrom(SoEngineOutput*fromEngine)voiddisconnect()SbBoolisConnected()constSbBoolisConnectedFromField()constSbBoolgetConnectedField(SoField*&writingField)constSbBoolisConnectedFromEngine()constSbBoolgetConnectedEngine(SoEngineOutput*&engineOutput)constvoidenableConnection(SbBoolflag)SbBoolisConnectionEnabled()constintgetForwardConnections(SoFieldList&list)constSoFieldContainer*getContainer()const