public class SoResetTransform extends SoTransformation
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.
CAUTION: Picking on a shape below an SoResetTransform
may fail if bounding box caching is enabled (default). Bounding box caching is set using SoSeparator
.
Clipping and culling anomalies may also occur.
File format/default:
ResetTransform {
whatToReset | TRANSFORM |
Action behavior:
SoGLRenderAction
, SoCallbackAction
, SoRayPickAction
If specified, resets current transformation matrix to identity. Sets: SoModelMatrixElement
, SoUnitsElement
SoGetBoundingBoxAction
If specified, resets current transformation matrix to identity and current computed bounding box to be empty. Sets: SoBBoxModelMatrixElement
SoGetMatrixAction
Returns identity matrix.
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoResetTransform.ResetTypes
Reset Type enumeration values; defines which things get reset.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
BBOX
Deprecated.
Use
SoResetTransform.ResetTypes.BBOX instead. |
static int |
TRANSFORM
Deprecated.
Use
SoResetTransform.ResetTypes.TRANSFORM instead. |
SoSFBitMask<SoResetTransform.ResetTypes> |
whatToReset
Specifies which items to reset when the node is traversed.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoResetTransform()
Creates a reset transformation node with default settings.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int TRANSFORM
SoResetTransform.ResetTypes.TRANSFORM
instead.@Deprecated public static final int BBOX
SoResetTransform.ResetTypes.BBOX
instead.public final SoSFBitMask<SoResetTransform.ResetTypes> whatToReset
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com