man SoRotationXYZ () - node representing a 3D rotation about the x-, y-, or z-axis

NAME

SoRotationXYZ - node representing a 3D rotation about the x-, y-, or z-axis

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoTransformation > SoRotationXYZ

SYNOPSIS

#include <Inventor/nodes/SoRotationXYZ.h> enum Axis { c } c } The x-axis

c } c } The y-axis

c } c } The z-axis

} Fields from class SoRotationXYZ: c } c } axis

c } c } angle Methods from class SoRotationXYZ: c } c } SoRotationXYZ()

c } c } getRotation() const

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 defines a 3D rotation about one of the three principal axes. The rotation is accumulated into the current transformation, which is applied to subsequent shapes.

FIELDS

c } c } axis

Rotation axis. c } c } angle

Rotation angle (in radians), using the right-hand rule.

METHODS

c } c } SoRotationXYZ()

Creates a rotation node with default settings. c } c } getRotation() const

Returns an SbRotation equivalent to the specified rotation. c } c } getClassTypeId()

Returns type identifier for this class.

ACTION BEHAVIOR

SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoRayPickAction

Accumulates rotation transformation into the current transformation. SoGetMatrixAction

Returns the matrix corresponding to the rotation.

FILE FORMAT/DEFAULTS

RotationXYZ {
axis	X
angle	0
}

SEE ALSO

SoRotation, SoTransform