SoResetTransform — node that resets the current transformation to identity
Contents
Action Behavior
SoGLRenderAction,SoCallbackAction,SoRayPickAction
If specified, resets current transformation matrix to identity.
SoGetBoundingBoxAction
If specified, resets current transformation matrix to identity and current computed bounding box to be
empty.
SoGetMatrixAction
Returns identity matrix.
Description
This node resets the current transformation to identity. It can be used to apply an absolute world space
transformation afterwards, such as translating to a specific point from within a hierarchy. An
SoResetTransform node should probably be used under an SoSeparator or SoTransformSeparator so it won't
change transformations for the rest of the scene graph. An SoResetTransform node can also be used to
reset the current bounding box to empty during traversal of an SoGetBoundingBoxAction, if the whatToReset
field has the BBOX bit set.
Fields
SoSFBitMaskwhatToReset
Specifies which items to reset when the node is traversed.
File Format/Defaults
ResetTransform{whatToResetTRANSFORM}Inherits From
SoBase > SoFieldContainer > SoNode > SoTransformation > SoResetTransform
Methods
SoResetTransform()
Creates a reset transformation node with default settings.
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoResetTransform — node that resets the current transformation to identity
See Also
SoTransformSoResetTransform(3IV)()
Synopsis
#include<Inventor/nodes/SoResetTransform.h>enumResetType{SoResetTransform::TRANSFORM Reset the current transformation to identity
SoResetTransform::BBOX Reset the bounding box to empty
}
Fields from class SoResetTransform:
SoSFBitMaskwhatToReset
Methods from class SoResetTransform:
SoResetTransform()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