man SoResetTransform () - node that resets the current transformation to identity

NAME

SoResetTransform - node that resets the current transformation to identity

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoTransformation > SoResetTransform

SYNOPSIS

#include <Inventor/nodes/SoResetTransform.h> enum ResetType { c } c } Reset the current transformation to identity

c } c } Reset the bounding box to empty

} Fields from class SoResetTransform: c } c } whatToReset Methods from class SoResetTransform: c } c } SoResetTransform()

c } c } getClassTypeId() Methods from class SoNode: c } c } setOverride(SbBool state)

c } c } isOverride() const

c } c } copy(SbBool copyConnections = FALSE) const

c } c } affectsState() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoNodeList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

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

c } c } whatToReset

Specifies which items to reset when the node is traversed.

METHODS

c } c } SoResetTransform()

Creates a reset transformation node with default settings. c } c } getClassTypeId()

Returns type identifier for this class.

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.

FILE FORMAT/DEFAULTS

ResetTransform {
whatToReset	TRANSFORM
}

SEE ALSO

SoTransform