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.
|
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
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, getRenderEngineMode, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoSFBitMask<SoResetTransform.ResetTypes> whatToReset
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com