.TH "SoNodeKitListPart" 3 "Tue Jun 23 2026 23:48:38" "Version 4.0.10" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoNodeKitListPart \- The \fBSoNodeKitListPart\fP class is a container node\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSoNode\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fBSoType\fP \fBgetTypeId\fP (void) const" .br .ti -1c .RI "\fBSoNodeKitListPart\fP (void)" .br .ti -1c .RI "\fBSoType\fP \fBgetContainerType\fP (void) const" .br .ti -1c .RI "void \fBsetContainerType\fP (\fBSoType\fP newContainerType)" .br .ti -1c .RI "const \fBSoTypeList\fP & \fBgetChildTypes\fP (void) const" .br .ti -1c .RI "void \fBaddChildType\fP (\fBSoType\fP typeToAdd)" .br .ti -1c .RI "SbBool \fBisTypePermitted\fP (\fBSoType\fP typeToCheck) const" .br .ti -1c .RI "SbBool \fBisChildPermitted\fP (const \fBSoNode\fP *child) const" .br .ti -1c .RI "void \fBcontainerSet\fP (const char *fieldDataString)" .br .ti -1c .RI "void \fBlockTypes\fP (void)" .br .ti -1c .RI "SbBool \fBisTypeLocked\fP (void) const" .br .ti -1c .RI "void \fBaddChild\fP (\fBSoNode\fP *child)" .br .ti -1c .RI "void \fBinsertChild\fP (\fBSoNode\fP *child, int childIndex)" .br .ti -1c .RI "\fBSoNode\fP * \fBgetChild\fP (int index) const" .br .ti -1c .RI "int \fBfindChild\fP (\fBSoNode\fP *child) const" .br .ti -1c .RI "int \fBgetNumChildren\fP (void) const" .br .ti -1c .RI "void \fBremoveChild\fP (int index)" .br .ti -1c .RI "void \fBremoveChild\fP (\fBSoNode\fP *child)" .br .ti -1c .RI "void \fBreplaceChild\fP (int index, \fBSoNode\fP *newChild)" .br .ti -1c .RI "void \fBreplaceChild\fP (\fBSoNode\fP *oldChild, \fBSoNode\fP *newChild)" .br .ti -1c .RI "virtual SbBool \fBaffectsState\fP (void) const" .br .ti -1c .RI "virtual void \fBdoAction\fP (\fBSoAction\fP *action)" .br .ti -1c .RI "virtual void \fBcallback\fP (\fBSoCallbackAction\fP *action)" .br .ti -1c .RI "virtual void \fBGLRender\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBgetBoundingBox\fP (\fBSoGetBoundingBoxAction\fP *action)" .br .ti -1c .RI "virtual void \fBgetMatrix\fP (\fBSoGetMatrixAction\fP *action)" .br .ti -1c .RI "virtual void \fBhandleEvent\fP (\fBSoHandleEventAction\fP *action)" .br .ti -1c .RI "virtual void \fBpick\fP (\fBSoPickAction\fP *action)" .br .ti -1c .RI "virtual void \fBsearch\fP (\fBSoSearchAction\fP *action)" .br .ti -1c .RI "virtual void \fBgetPrimitiveCount\fP (\fBSoGetPrimitiveCountAction\fP *action)" .br .ti -1c .RI "virtual \fBSoChildList\fP * \fBgetChildren\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoNode\fP .in +1c .ti -1c .RI "void \fBsetOverride\fP (const SbBool state)" .br .ti -1c .RI "SbBool \fBisOverride\fP (void) const" .br .ti -1c .RI "void \fBsetNodeType\fP (const \fBNodeType\fP type)" .br .ti -1c .RI "\fBNodeType\fP \fBgetNodeType\fP (void) const" .br .ti -1c .RI "virtual \fBSoNode\fP * \fBcopy\fP (SbBool copyconnections=FALSE) const" .br .ti -1c .RI "virtual void \fBGLRenderBelowPath\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBGLRenderInPath\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBGLRenderOffPath\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBrayPick\fP (\fBSoRayPickAction\fP *action)" .br .ti -1c .RI "virtual void \fBwrite\fP (\fBSoWriteAction\fP *action)" .br .ti -1c .RI "virtual void \fBaudioRender\fP (\fBSoAudioRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBgrabEventsSetup\fP (void)" .br .ti -1c .RI "virtual void \fBgrabEventsCleanup\fP (void)" .br .ti -1c .RI "virtual void \fBstartNotify\fP (void)" .br .ti -1c .RI "virtual void \fBnotify\fP (\fBSoNotList\fP *l)" .br .ti -1c .RI "SbUniqueId \fBgetNodeId\fP (void) const" .br .ti -1c .RI "virtual void \fBwriteInstance\fP (\fBSoOutput\fP *out)" .br .ti -1c .RI "virtual \fBSoNode\fP * \fBaddToCopyDict\fP (void) const" .br .ti -1c .RI "virtual \fBSoFieldContainer\fP * \fBcopyThroughConnection\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoFieldContainer\fP .in +1c .ti -1c .RI "void \fBsetToDefaults\fP (void)" .br .ti -1c .RI "SbBool \fBhasDefaultValues\fP (void) const" .br .ti -1c .RI "SbBool \fBfieldsAreEqual\fP (const \fBSoFieldContainer\fP *container) const" .br .ti -1c .RI "void \fBcopyFieldValues\fP (const \fBSoFieldContainer\fP *container, SbBool copyconnections=FALSE)" .br .ti -1c .RI "SbBool \fBset\fP (const char *const fielddata)" .br .ti -1c .RI "void \fBget\fP (\fBSbString\fP &fielddata)" .br .ti -1c .RI "virtual int \fBgetFields\fP (\fBSoFieldList\fP &l) const" .br .ti -1c .RI "virtual int \fBgetAllFields\fP (\fBSoFieldList\fP &l) const" .br .ti -1c .RI "virtual \fBSoField\fP * \fBgetField\fP (const \fBSbName\fP &name) const" .br .ti -1c .RI "virtual \fBSoField\fP * \fBgetEventIn\fP (const \fBSbName\fP &name) const" .br .ti -1c .RI "virtual \fBSoField\fP * \fBgetEventOut\fP (const \fBSbName\fP &name) const" .br .ti -1c .RI "SbBool \fBgetFieldName\fP (const \fBSoField\fP *const field, \fBSbName\fP &name) const" .br .ti -1c .RI "SbBool \fBenableNotify\fP (const SbBool flag)" .br .ti -1c .RI "SbBool \fBisNotifyEnabled\fP (void) const" .br .ti -1c .RI "SbBool \fBset\fP (const char *fielddata, \fBSoInput\fP *input)" .br .ti -1c .RI "void \fBget\fP (\fBSbString\fP &fielddata, \fBSoOutput\fP *out)" .br .ti -1c .RI "virtual SbBool \fBvalidateNewFieldValue\fP (\fBSoField\fP *field, void *newval)" .br .ti -1c .RI "virtual void \fBaddWriteReference\fP (\fBSoOutput\fP *out, SbBool isfromfield=FALSE)" .br .ti -1c .RI "SbBool \fBgetIsBuiltIn\fP (void) const" .br .ti -1c .RI "virtual void \fBgetFieldsMemorySize\fP (size_t &managed, size_t &unmanaged) const" .br .ti -1c .RI "void \fBsetUserData\fP (void *userdata) const" .br .ti -1c .RI "void * \fBgetUserData\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoBase\fP .in +1c .ti -1c .RI "void \fBref\fP (void) const" .br .ti -1c .RI "void \fBunref\fP (void) const" .br .ti -1c .RI "void \fBunrefNoDelete\fP (void) const" .br .ti -1c .RI "int32_t \fBgetRefCount\fP (void) const" .br .ti -1c .RI "void \fBtouch\fP (void)" .br .ti -1c .RI "SbBool \fBisOfType\fP (\fBSoType\fP type) const" .br .RI "Returns \fRTRUE\fP if the type of this object is either of the same type or inherited from \fItype\fP\&. " .ti -1c .RI "virtual \fBSbName\fP \fBgetName\fP (void) const" .br .ti -1c .RI "virtual void \fBsetName\fP (const \fBSbName\fP &newname)" .br .ti -1c .RI "void \fBaddAuditor\fP (void *const auditor, const \fBSoNotRec::Type\fP type)" .br .ti -1c .RI "void \fBremoveAuditor\fP (void *const auditor, const \fBSoNotRec::Type\fP type)" .br .ti -1c .RI "const \fBSoAuditorList\fP & \fBgetAuditors\fP (void) const" .br .ti -1c .RI "SbBool \fBshouldWrite\fP (void)" .br .ti -1c .RI "void \fBassertAlive\fP (void) const" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoNode\fP .in +1c .ti -1c .RI "static uint32_t \fBgetCompatibilityTypes\fP (const \fBSoType\fP &nodetype)" .br .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static \fBSoNode\fP * \fBgetByName\fP (const \fBSbName\fP &name)" .br .ti -1c .RI "static int \fBgetByName\fP (const \fBSbName\fP &name, \fBSoNodeList\fP &l)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .RI "Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. " .ti -1c .RI "static void \fBinitClasses\fP (void)" .br .ti -1c .RI "static SbUniqueId \fBgetNextNodeId\fP (void)" .br .ti -1c .RI "static int \fBgetActionMethodIndex\fP (const \fBSoType\fP type)" .br .ti -1c .RI "static void \fBgetBoundingBoxS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBGLRenderS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBcallbackS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBgetMatrixS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBhandleEventS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBpickS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBrayPickS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBsearchS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBwriteS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBaudioRenderS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBgetPrimitiveCountS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .in -1c Static Public Member Functions inherited from \fBSoFieldContainer\fP .in +1c .ti -1c .RI "static void \fBinitClass\fP (void)" .br .RI "Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. " .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .RI "This static method returns the \fBSoType\fP object associated with objects of this class\&. " .ti -1c .RI "static void \fBcleanupClass\fP (void)" .br .ti -1c .RI "static void \fBinitCopyDict\fP (void)" .br .ti -1c .RI "static void \fBaddCopy\fP (const \fBSoFieldContainer\fP *orig, const \fBSoFieldContainer\fP *copy)" .br .ti -1c .RI "static \fBSoFieldContainer\fP * \fBcheckCopy\fP (const \fBSoFieldContainer\fP *orig)" .br .ti -1c .RI "static \fBSoFieldContainer\fP * \fBfindCopy\fP (const \fBSoFieldContainer\fP *orig, const SbBool copyconnections)" .br .ti -1c .RI "static void \fBcopyDone\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoBase\fP .in +1c .ti -1c .RI "static void \fBinitClass\fP (void)" .br .RI "Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. " .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .RI "This static method returns the \fBSoType\fP object associated with objects of this class\&. " .ti -1c .RI "static void \fBaddName\fP (\fBSoBase\fP *const base, const char *const name)" .br .ti -1c .RI "static void \fBremoveName\fP (\fBSoBase\fP *const base, const char *const name)" .br .ti -1c .RI "static void \fBincrementCurrentWriteCounter\fP (void)" .br .ti -1c .RI "static void \fBdecrementCurrentWriteCounter\fP (void)" .br .ti -1c .RI "static \fBSoBase\fP * \fBgetNamedBase\fP (const \fBSbName\fP &name, \fBSoType\fP type)" .br .ti -1c .RI "static int \fBgetNamedBases\fP (const \fBSbName\fP &name, \fBSoBaseList\fP &baselist, \fBSoType\fP type)" .br .ti -1c .RI "static SbBool \fBread\fP (\fBSoInput\fP *input, \fBSoBase\fP *&base, \fBSoType\fP expectedtype)" .br .ti -1c .RI "static void \fBsetInstancePrefix\fP (const \fBSbString\fP &c)" .br .ti -1c .RI "static void \fBsetTraceRefs\fP (SbBool trace)" .br .ti -1c .RI "static SbBool \fBgetTraceRefs\fP (void)" .br .ti -1c .RI "static SbBool \fBconnectRoute\fP (\fBSoInput\fP *input, const \fBSbName\fP &fromnodename, const \fBSbName\fP &fromfieldname, const \fBSbName\fP &tonodename, const \fBSbName\fP &tofieldname)" .br .ti -1c .RI "static SbBool \fBreadRoute\fP (\fBSoInput\fP *input)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual const \fBSoFieldData\fP * \fBgetFieldData\fP (void) const" .br .ti -1c .RI "virtual \fB~SoNodeKitListPart\fP ()" .br .ti -1c .RI "\fBSoGroup\fP * \fBgetContainerNode\fP (void)" .br .ti -1c .RI "virtual SbBool \fBreadInstance\fP (\fBSoInput\fP *in, unsigned short flags)" .br .ti -1c .RI "virtual void \fBcopyContents\fP (const \fBSoFieldContainer\fP *fromFC, SbBool copyConnections)" .br .in -1c Protected Member Functions inherited from \fBSoNode\fP .in +1c .ti -1c .RI "\fBSoNode\fP (void)" .br .ti -1c .RI "virtual \fB~SoNode\fP ()" .br .in -1c Protected Member Functions inherited from \fBSoFieldContainer\fP .in +1c .ti -1c .RI "\fBSoFieldContainer\fP (void)" .br .ti -1c .RI "virtual \fB~SoFieldContainer\fP ()" .br .in -1c Protected Member Functions inherited from \fBSoBase\fP .in +1c .ti -1c .RI "\fBSoBase\fP (void)" .br .ti -1c .RI "virtual \fB~SoBase\fP ()" .br .ti -1c .RI "virtual void \fBdestroy\fP (void)" .br .ti -1c .RI "SbBool \fBhasMultipleWriteRefs\fP (void) const" .br .ti -1c .RI "SbBool \fBwriteHeader\fP (\fBSoOutput\fP *out, SbBool isgroup, SbBool isengine) const" .br .ti -1c .RI "void \fBwriteFooter\fP (\fBSoOutput\fP *out) const" .br .ti -1c .RI "virtual const char * \fBgetFileFormatName\fP (void) const" .br .ti -1c .RI "virtual \fBSoNotRec\fP \fBcreateNotRec\fP (void)" .br .in -1c .SS "Static Protected Member Functions" .in +1c .ti -1c .RI "static const \fBSoFieldData\fP ** \fBgetFieldDataPtr\fP (void)" .br .in -1c Static Protected Member Functions inherited from \fBSoNode\fP .in +1c .ti -1c .RI "static const \fBSoFieldData\fP ** \fBgetFieldDataPtr\fP (void)" .br .ti -1c .RI "static void \fBsetNextActionMethodIndex\fP (int index)" .br .ti -1c .RI "static int \fBgetNextActionMethodIndex\fP (void)" .br .ti -1c .RI "static void \fBincNextActionMethodIndex\fP (void)" .br .ti -1c .RI "static void \fBsetCompatibilityTypes\fP (const \fBSoType\fP &nodetype, const uint32_t bitmask)" .br .in -1c Static Protected Member Functions inherited from \fBSoBase\fP .in +1c .ti -1c .RI "static uint32_t \fBgetCurrentWriteCounter\fP (void)" .br .ti -1c .RI "static void \fBstaticDataLock\fP (void)" .br .ti -1c .RI "static void \fBstaticDataUnlock\fP (void)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBSoChildList\fP * \fBchildren\fP" .br .in -1c Protected Attributes inherited from \fBSoNode\fP .in +1c .ti -1c .RI "SbUniqueId \fBuniqueId\fP" .br .in -1c Protected Attributes inherited from \fBSoFieldContainer\fP .in +1c .ti -1c .RI "SbBool \fBisBuiltIn\fP" .br .in -1c .SS "Additional Inherited Members" Public Types inherited from \fBSoNode\fP .in +1c .ti -1c .RI "enum \fBNodeType\fP { \fBINVENTOR\fP = 0x0000, \fBVRML1\fP = 0x0001, \fBVRML2\fP = 0x0002, \fBINVENTOR_1\fP = 0x0004, \fBINVENTOR_2_0\fP = 0x0008, \fBINVENTOR_2_1\fP = 0x0010, \fBINVENTOR_2_5\fP = 0x0020, \fBINVENTOR_2_6\fP = 0x0040, \fBCOIN_1_0\fP = 0x0080, \fBCOIN_2_0\fP = 0x0100, \fBEXTENSION\fP = 0x0200, \fBCOIN_2_2\fP = 0x0400, \fBCOIN_2_3\fP = 0x0800, \fBCOIN_2_4\fP = 0x1000, \fBINVENTOR_5_0\fP = 0x2000, \fBCOIN_2_5\fP = 0x4000, \fBCOIN_3_0\fP = 0x8000, \fBINVENTOR_6_0\fP = 0x10000, \fBCOIN_4_0\fP = 0x20000 }" .br .in -1c Protected Types inherited from \fBSoBase\fP .in +1c .ti -1c .RI "enum \fBBaseFlags\fP { \fBIS_ENGINE\fP = 0x01, \fBIS_GROUP\fP = 0x02 }" .br .in -1c Static Protected Attributes inherited from \fBSoNode\fP .in +1c .ti -1c .RI "static SbUniqueId \fBnextUniqueId\fP = 1" .br .ti -1c .RI "static int \fBnextActionMethodIndex\fP = 0" .br .in -1c .SH "Detailed Description" .PP The \fBSoNodeKitListPart\fP class is a container node\&. This node is basically just a container node with these differences versus the other group nodes: .PP .IP "1." 4 It is possible to make a list of which node class types are allowed as children\&. .IP "2." 4 You can freely select which kind of group node behaviour you want this container to have\&. Default is to act like an \fBSoGroup\fP node, but by using \fBSoNodeKitListPart::setContainerType()\fP, you can change the behaviour to be like a separator, a switch or whatever else you have of node types inheriting \fBSoGroup\fP\&. .PP .PP It might be necessary to get the container node, e\&.g\&. to change \fBSoSwitch::whichChild\fP if the container node is a \fBSoSwitch\fP\&. The container node is located in the first position of its children, i\&.e\&. (*getChildren())[0]\&. Note that \fBgetNumChildren()\fP returns 0, while \fBgetChildren()\fP->getLength() returns 1 after initialization\&. The former amount returns its internal group nodes, while the latter returns all the nodes containing the container node\&. .PP \fBSee also\fP .RS 4 \fBSoGroup\fP, \fBSoSeparator\fP, \fBSoSwitch\fP .RE .PP .SH "Constructor & Destructor Documentation" .PP .SS "SoNodeKitListPart::SoNodeKitListPart (void )" Constructor\&. .SS "SoNodeKitListPart::~SoNodeKitListPart ()\fR [protected]\fP, \fR [virtual]\fP" Destructor\&. .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoNodeKitListPart::getClassTypeId (void )\fR [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .SS "\fBSoType\fP SoNodeKitListPart::getTypeId (void ) const\fR [virtual]\fP" Returns the type identification of an object derived from a class inheriting \fBSoBase\fP\&. This is used for runtime type checking and "downward" casting\&. .PP Implements \fBSoBase\fP\&. .SS "const \fBSoFieldData\fP ** SoNodeKitListPart::getFieldDataPtr (void )\fR [static]\fP, \fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Returns the \fBSoFieldData\fP class which holds information about fields in this node\&. .SS "const \fBSoFieldData\fP * SoNodeKitListPart::getFieldData (void ) const\fR [protected]\fP, \fR [virtual]\fP" Returns a pointer to the class-wide field data storage object for this instance\&. If no fields are present, returns \fRNULL\fP\&. .PP Reimplemented from \fBSoFieldContainer\fP\&. .SS "void SoNodeKitListPart::initClass (void )\fR [static]\fP" Does initialization common for all objects of the \fBSoNodeKitListPart\fP class\&. This includes setting up the type system, among other things\&. .SS "\fBSoType\fP SoNodeKitListPart::getContainerType (void ) const" Return type id for the list container\&. Default is \fBSoGroup\fP\&. .SS "void SoNodeKitListPart::setContainerType (\fBSoType\fP newContainerType)" Change the behaviour of this container node\&. \fInewContainerType\fP must be derived from \fBSoGroup\fP\&. .SS "const \fBSoTypeList\fP & SoNodeKitListPart::getChildTypes (void ) const" Return a list of all types which are allowed as children of this node\&. Default is to allow all node types\&. .SS "void SoNodeKitListPart::addChildType (\fBSoType\fP typeToAdd)" Add one more node class type which should be allowed to be used in the node list\&. .PP Note: the default single \fBSoNode\fP type in the list will be removed upon the first call to this method\&. .SS "SbBool SoNodeKitListPart::isTypePermitted (\fBSoType\fP typeToCheck) const" Return \fRTRUE\fP if nodes of the \fItypeToCheck\fP class type can be added to the list\&. .SS "SbBool SoNodeKitListPart::isChildPermitted (const \fBSoNode\fP * child) const" Return \fRTRUE\fP if \fIchild\fP has a class type which is permitted to be in the list\&. .SS "void SoNodeKitListPart::containerSet (const char * fieldDataString)" Calls \fBset()\fP on the container node with \fIfieldDataString\fP\&. .SS "void SoNodeKitListPart::lockTypes (void )" Lock type list so no more node class types can be added by using \fBaddChildType()\fP, and locks container type so it no longer can be changed by \fBsetContainerType()\fP\&. .SS "SbBool SoNodeKitListPart::isTypeLocked (void ) const" Returns \fRTRUE\fP if the list of allowable node types and the container type have both been locked\&. .SS "void SoNodeKitListPart::addChild (\fBSoNode\fP * child)" Adds \fIchild\fP to the internal list of children, if it is of a type permitted to be added\&. .SS "void SoNodeKitListPart::insertChild (\fBSoNode\fP * child, int childIndex)" Inserts \fIchild\fP in the internal list of children at position \fRchildIndex\fP, if it is of a type permitted to be added\&. .SS "\fBSoNode\fP * SoNodeKitListPart::getChild (int index) const" Return child node at position \fIindex\fP\&. .SS "int SoNodeKitListPart::findChild (\fBSoNode\fP * child) const" Return position index of \fIchild\fP in list of children\&. .SS "int SoNodeKitListPart::getNumChildren (void ) const" Return number of children\&. .SS "void SoNodeKitListPart::removeChild (int index)" .PP Remove node at \fIchildindex\fP in our list of children\&. .PP Please note that this method is not virtual in the original SGI Inventor API\&. .SS "void SoNodeKitListPart::removeChild (\fBSoNode\fP * child)" .PP Remove \fIchild\fP from the set of children managed by this group node\&. Will decrease the reference count of \fIchild\fP by 1\&. .PP This is a convenience method\&. It will simply call \fBfindChild()\fP with \fIchild\fP as argument, and then call \fBremoveChild(int)\fP if the child is found\&. .PP Please note that this method is not virtual in the original SGI Inventor API\&. .SS "void SoNodeKitListPart::replaceChild (int index, \fBSoNode\fP * newChild)" Replace child at \fIindex\fP with \fInewChild\fP, if \fInewChild\fP is of a permitted type\&. .SS "void SoNodeKitListPart::replaceChild (\fBSoNode\fP * oldChild, \fBSoNode\fP * newChild)" Replace \fIoldChild\fP with \fInewChild\fP, if \fInewChild\fP is of a permitted type\&. .SS "SbBool SoNodeKitListPart::affectsState (void ) const\fR [virtual]\fP" Returns \fRTRUE\fP if the node could have any effect on the state during traversal\&. .PP If it returns \fRFALSE\fP, no data in the traversal state will change from the pre-traversal state to the post-traversal state\&. The \fBSoSeparator\fP node will for instance return \fRFALSE\fP, as it pushes and pops the state before and after traversal of its children\&. All \fBSoShape\fP nodes will also return \fRFALSE\fP, as just pushing out geometry data to the rendering engine won't affect the actual rendering state\&. .PP The default method returns \fRTRUE\fP, on a "better safe than sorry" philosophy\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::doAction (\fBSoAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::callback (\fBSoCallbackAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::GLRender (\fBSoGLRenderAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::getBoundingBox (\fBSoGetBoundingBoxAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::getMatrix (\fBSoGetMatrixAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::handleEvent (\fBSoHandleEventAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::pick (\fBSoPickAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::search (\fBSoSearchAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::getPrimitiveCount (\fBSoGetPrimitiveCountAction\fP * action)\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "\fBSoChildList\fP * SoNodeKitListPart::getChildren (void ) const\fR [virtual]\fP" This just "forwards" the call to the same method at the container node\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "\fBSoGroup\fP * SoNodeKitListPart::getContainerNode (void )\fR [protected]\fP" Return the \fBSoGroup\fP container which is the parent of all the children which have been added\&. .SS "SbBool SoNodeKitListPart::readInstance (\fBSoInput\fP * in, unsigned short flags)\fR [protected]\fP, \fR [virtual]\fP" This method is mainly intended for internal use during file import operations\&. .PP It reads a definition of an instance from the input stream \fIin\fP\&. The input stream state points to the start of a serialized / persistent representation of an instance of this class type\&. .PP \fRTRUE\fP or \fRFALSE\fP is returned, depending on if the instantiation and configuration of the new object of this class type went OK or not\&. The import process should be robust and handle corrupted input streams by returning \fRFALSE\fP\&. .PP \fIflags\fP is used internally during binary import when reading user extension nodes, group nodes or engines\&. .PP Reimplemented from \fBSoNode\fP\&. .SS "void SoNodeKitListPart::copyContents (const \fBSoFieldContainer\fP * from, SbBool copyconnections)\fR [protected]\fP, \fR [virtual]\fP" Makes a deep copy of all data of \fIfrom\fP into this instance, \fIexcept\fP external scene graph references if \fIcopyconnections\fP is \fRFALSE\fP\&. .PP This is the method that should be overridden by extension node / engine / dragger / whatever subclasses which need to account for internal data that are not handled automatically\&. .PP For copying nodes from application code, you should not invoke this function directly, but rather call the \fBSoNode::copy()\fP function: .PP .PP .nf SoNode * mynewnode = templatenode\->copy(); .fi .PP .PP The same also goes for engines\&. .PP Make sure that when you override the \fBcopyContents()\fP method in your extension class that you also make it call upwards to its parent superclass in the inheritance hierarchy, as \fBcopyContents()\fP in for instance \fBSoNode\fP and \fBSoFieldContainer\fP does important work\&. It should go something like this: .PP .PP .nf void MyCoinExtensionNode::copyContents(const SoFieldContainer * from, SbBool copyconnections) { // let parent superclasses do their thing (copy fields, copy // instance name, etc\&.) SoNode::copyContents(from, copyconnections); // [\&.\&.then copy internal data\&.\&.] } .fi .PP .PP Reimplemented from \fBSoNode\fP\&. .SH "Member Data Documentation" .PP .SS "\fBSoChildList\fP* SoNodeKitListPart::children\fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.