SoSFPath(3)
β¨ SoSFPath(3) β¨
okay bestie, buckle up π this is the SoSFPath(3) page, straight outta the Library Functions Manual, and I'm gonna explain it to you the way it deserves to be explained. no cap.
πΈ NAME πΈ
SoSFPath β the SoSFPath class is a container for a single path. that's the whole thing. iconic, honestly.
π¦ SYNOPSIS π¦
#include <Inventor/fields/SoSFPath.h>
Inherits SoSField.
π Public Member Functions π
virtual SoType getTypeId (void) constvirtual void copyFrom (const SoField &field)const SoSFPath & operator= (const SoSFPath &field)virtual SbBool isSame (const SoField &field) constSoPath * getValue (void) constvoid setValue (SoPath *newvalue)SoPath * operator= (SoPath *newvalue)int operator== (const SoSFPath &field) constint operator!= (const SoSFPath &field) constvirtual void notify (SoNotList *l)virtual void fixCopy (SbBool copyconnections)virtual SbBool referencesCopy (void) const
π«Ά Public Member Functions inherited from SoSField π«Ά
virtual ~SoSField ()
π«Ά Public Member Functions inherited from SoField π«Ά
virtual ~SoField ()void setIgnored (SbBool ignore)SbBool isIgnored (void) constvoid setDefault (SbBool def)SbBool isDefault (void) constSbBool isOfType (const SoType type) constvoid enableConnection (SbBool flag)SbBool isConnectionEnabled (void) constSbBool connectFrom (SoEngineOutput *master, SbBool notnotify=0, SbBool append=0)SbBool appendConnection (SoEngineOutput *master, SbBool notnotify=0)void disconnect (SoEngineOutput *engineoutput)SbBool isConnectedFromEngine (void) constSbBool getConnectedEngine (SoEngineOutput *&master) constSbBool connectFrom (SoField *master, SbBool notnotify=0, SbBool append=0)SbBool appendConnection (SoField *master, SbBool notnotify=0)void disconnect (SoField *field)SbBool isConnectedFromField (void) constSbBool getConnectedField (SoField *&master) constint getNumConnections (void) constint getForwardConnections (SoFieldList &slavelist) constint getConnections (SoFieldList &masterlist) constvoid disconnect (void)SbBool isConnected (void) constvoid setContainer (SoFieldContainer *cont)SoFieldContainer * getContainer (void) constSbBool set (const char *valuestring)void get (SbString &valuestring)SbBool shouldWrite (void) constvirtual void touch (void)virtual void startNotify (void)SbBool enableNotify (SbBool on)SbBool isNotifyEnabled (void) constvoid addAuditor (void *f, SoNotRec::Type type)void removeAuditor (void *f, SoNotRec::Type type)int operator== (const SoField &f) constint operator!= (const SoField &f) constvirtual void connectionStatusChanged (int numconnections)SbBool isReadOnly (void) constvoid copyConnection (const SoField *fromfield)virtual SbBool read (SoInput *in, const SbName &name)virtual void write (SoOutput *out, const SbName &name) constvoid setFieldType (int type)int getFieldType (void) constSbBool getDirty (void) constvoid setDirty (SbBool dirty)void evaluate (void) const
β Static Public Member Functions β
static void * createInstance (void)static SoType getClassTypeId (void)static void initClass (void)
β Static Public Member Functions inherited from SoSField β
static void initClass (void)static SoType getClassTypeId (void)
β Static Public Member Functions inherited from SoField β
static void initClass (void)static void initClasses (void)static SoType getClassTypeId (void)
π Protected Attributes π
SoPath * value
π― Friends π―
class SoMFPath
π Additional Inherited Members π
- Public Types inherited from
SoField:enum FieldType { NORMAL_FIELD = 0, EVENTIN_FIELD, EVENTOUT_FIELD, EXPOSED_FIELD }
- Protected Member Functions inherited from
SoSField:SoSField (void)
- Protected Member Functions inherited from
SoField:SoField (void)void valueChanged (SbBool resetdefault=1)virtual void evaluateConnection (void) constvirtual SbBool readConnection (SoInput *in)virtual void writeConnection (SoOutput *out) constSbBool isDestructing (void) const
π Detailed Description π
The SoSFPath class is a container for a single path. yes, we're saying it again, because it's the whole personality.
This field container stores a pointer to a Coin path. it handles all the necessary functionality for dealing with copy, import and export operations. so like, it's the responsible one in the group chat. π
heads up bestie: the path pointer stored in a field instance of this type may be a NULL pointer. fr fr. not a drill.
See also
SoPath, SoMFPath
π§ Member Function Documentation π§
SoType SoSFPath::getTypeId (void ) const [virtual]
Returns the type identification instance which uniquely identifies the Coin field class the object belongs to. it's giving ID card, but for classes. π
See also
getClassTypeId(), SoType
Implements SoField.
void SoSFPath::copyFrom (const SoField & f) [virtual]
Copy value(s) from f into this field. f must be of the same type as this field. no mixing, bestie, it's a strict vibe check.
Implements SoField.
SbBool SoSFPath::isSame (const SoField & f) const [virtual]
Check for equal type and value(s). basically "are we the same person?" energy. β¨
Implements SoField.
void SoSFPath::notify (SoNotList * nlist) [virtual]
Notify auditors that this field has changed. the group chat ping of the C++ world. π£
Reimplemented from SoField.
References SoField::notify().
void SoSFPath::fixCopy (SbBool copyconnections) [virtual]
This method is internally called after SoField::copyFrom() during scene graph copies, and should do the operations necessary for fixing up the field instance after it has gotten a new value.
The default method in the SoField superclass does nothing. lowkey a slacker, but okay.
The application programmer should normally not need to consider this method, unless he constructs a complex field type which contains new references to container instances (i.e. nodes or engines). Overriding this method is then necessary to update the reference pointers, as they could have been duplicated during the copy operation.
Reimplemented from SoField.
References SoBase::assertAlive(), SoPath::copy(), and SoFieldContainer::findCopy().
SbBool SoSFPath::referencesCopy (void ) const [virtual]
Returns TRUE if this field has references to any containers in the scene graph which are also duplicated during the copy operation.
careful, bestie: note that this method only is valid to call during copy operations.
See also the note about the relevance of the fixCopy() method for application programmers, as it is applicable on this method aswell.
Reimplemented from SoField.
References SoFieldContainer::checkCopy(), SoPath::getHead(), SoBase::isOfType(), and SoField::referencesCopy().
π Author π
Generated automatically by Doxygen for Coin from the source code. so technically the author is a robot. a very hardworking robot. we stan. π«Ά
and that's the page, bestie!! π this was Coin, Version 2.5.0, page SoSFPath(3) β go forth and container your single path. slay. π
β¨
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms