logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoBlinker — animated cycling switch node

Action Behavior

SoGLRenderAction,SoCallbackAction,SoGetBoundingBoxAction,SoGetMatrixAction,SoHandleEventAction,SoRayPickAction,SoSearchAction
          Same as for SoSwitch.

Description

       The  SoBlinker  class  is  derived  from  SoSwitch,  so it selects one of its children to traverse. Using
       engines connected to the realTime global field, the whichChild field is animated over time. If  the  node
       has  only one child, whichChild toggles between SO_SWITCH_NONE and 0, causing the child to be switched on
       and off repeatedly. If the node has more than one child, they are cycled through continuously.

Fields

SoSFFloatspeed
          Defines the speed of the blinker, in cycles per second.

     SoSFBoolon
          Allows applications to enable or disable the blinking easily.

File Format/Defaults

Blinker{whichChild-1speed1onTRUE}SoBlinker(3IV)()

Inherits From

       SoBase > SoFieldContainer > SoNode > SoGroup > SoSwitch > SoBlinker

Methods

SoBlinker()
          Creates a blinker node with default settings.

     staticSoTypegetClassTypeId()
          Returns type identifier for this class.

Name

       SoBlinker — animated cycling switch node

Synopsis

#include<Inventor/nodes/SoBlinker.h>

          Fields from class SoBlinker:

     SoSFFloatspeedSoSFBoolon

          Fields from class SoSwitch:

     SoSFInt32whichChild

          Methods from class SoBlinker:

                         SoBlinker()staticSoTypegetClassTypeId()

          Methods from class SoGroup:

     voidaddChild(SoNode*child)voidinsertChild(SoNode*child,intnewChildIndex)SoNode*getChild(intindex)constintfindChild(constSoNode*child)constintgetNumChildren()constvoidremoveChild(intindex)voidremoveChild(SoNode*child)voidremoveAllChildren()voidreplaceChild(intindex,SoNode*newChild)voidreplaceChild(SoNode*oldChild,SoNode*newChild)

          Methods from class SoNode:

     voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)

          Methods from class SoFieldContainer:

     voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)

          Methods from class SoBase:

     voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const

See Also