SoResetTransform Class Reference
[Transforms]

Node that resets the current transformation to identity. More...

#include <Inventor/nodes/SoResetTransform.h>

Inheritance diagram for SoResetTransform:
SoTransformation SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  ResetType {
  TRANSFORM = 0x01,
  BBOX = 0x02
}

Public Member Functions

virtual SoType getTypeId () const
 SoResetTransform ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFBitMask whatToReset

Detailed Description

Node that resets the current transformation to identity.

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.

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

ACTION BEHAVIOR

SEE ALSO

SoTransform


Member Enumeration Documentation

Reset Type enumeration values; defines which things get reset.

Enumerator:
TRANSFORM 

Reset the current transformation to identity.

BBOX 

Reset the bounding box to empty.


Constructor & Destructor Documentation

SoResetTransform::SoResetTransform (  ) 

Creates a reset transformation node with default settings.


Member Function Documentation

static SoType SoResetTransform::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoTransformation.

virtual SoType SoResetTransform::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoTransformation.


Member Data Documentation

Specifies which items to reset when the node is traversed.

Use enum ResetType. Default is TRANSFORM.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/