NAME
SoResetTransform – node that resets the current transformation to identity
INHERITS FROM
SoResetTransform
SYNOPSIS
#include <Inventor/nodes/SoResetTransform.h>
enum ResetType {
SoResetTransform::TRANSFORM Reset the current transformation to identity
SoResetTransform::BBOX Reset the bounding box to empty
}
Fields from class SoResetTransform:
Methods from class SoResetTransform:
static SoType getClassTypeId()
void setOverride(SbBool state)
virtual SbBool affectsState() const
SbBool hasDefaultValues() const
SbBool set(const char *fieldDataString)
SbBool isNotifyEnabled() const
void unrefNoDelete() const
virtual SoType getTypeId() const
virtual void setName(const SbName &name)
virtual SbName 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
SoSFBitMask whatToReset
Specifies which items to reset when the node is traversed.
METHODS
SoResetTransform()
Creates a reset transformation node with default settings.
static SoType getClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
If specified, resets current transformation matrix to identity.
If specified, resets current transformation matrix to identity and current computed bounding box to be empty.
FILE FORMAT/DEFAULTS
SEE ALSO
Typeset by Felix Ritter (MeVis Research GmbH)
Hyperlinks by Wolfram Esser (method park Software AG)