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

SoInfo — node containing information text string

Description

       This class defines a information node in the scene graph. This node has no effect during traversal. It is
       used  to  store  information  in  the scene graph, typically for application-specific purposes, copyright
       messages, or other strings. This node differs from the SoLabel node in that it stores its information  in
       an SbString instead of an SbName; the SbString is more efficient for storing long strings that don't have
       to be accessed very often. Use an SoLabel node for short strings that have to be accessed more often.

Fields

SoSFStringstring
          Defines the info string value as an SbString.

File Format/Defaults

Info{string"<Undefinedinfo>"}

Inherits From

       SoBase > SoFieldContainer > SoNode > SoInfo

Methods

SoInfo()
          Creates an info node with default settings.

     staticSoTypegetClassTypeId()
          Returns type identifier for this class.

Name

       SoInfo — node containing information text string

See Also

SbString,SoLabelSoInfo(3IV)()

Synopsis

#include<Inventor/nodes/SoInfo.h>

          Fields from class SoInfo:

     SoSFStringstring

          Methods from class SoInfo:

                         SoInfo()staticSoTypegetClassTypeId()

          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