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

SoRotation — node representing a 3D rotation about an arbitrary axis

Action Behavior

SoGLRenderAction,SoCallbackAction,SoGetBoundingBoxAction,SoRayPickAction
          Accumulates rotation transformation into the current transformation.

     SoGetMatrixAction
          Returns the matrix corresponding to the rotation.

Description

       This  node  defines a 3D rotation about an arbitrary axis through the origin. The rotation is accumulated
       into the current transformation, which is applied to subsequent shapes. The  rotation  field  provides  a
       variety of methods for specifying the rotation.

Fields

SoSFRotationrotation
          Rotation specification.

File Format/Defaults

Rotation{rotation0010}

Inherits From

       SoBase > SoFieldContainer > SoNode > SoTransformation > SoRotation

Methods

SoRotation()
          Creates a rotation node with default settings.

     staticSoTypegetClassTypeId()
          Returns type identifier for this class.

Name

       SoRotation — node representing a 3D rotation about an arbitrary axis

See Also

SoRotationXYZ,SoTransformSoRotation(3IV)()

Synopsis

#include<Inventor/nodes/SoRotation.h>

          Fields from class SoRotation:

     SoSFRotationrotation

          Methods from class SoRotation:

                         SoRotation()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