NAME
SoRotationXYZ – node representing a 3D rotation about the x-, y-, or z-axis
INHERITS FROM
SoRotationXYZ
SYNOPSIS
#include <Inventor/nodes/SoRotationXYZ.h>
enum Axis {
SoRotationXYZ::X The x-axis
SoRotationXYZ::Y The y-axis
SoRotationXYZ::Z The z-axis
}
Fields from class SoRotationXYZ:
Methods from class SoRotationXYZ:
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 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
SoSFFloat angle
Rotation angle (in radians), using the right-hand rule.
METHODS
SoRotationXYZ()
Creates a rotation node with default settings.
static SoType getClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
Accumulates rotation transformation into the current transformation.
Returns the matrix corresponding to the rotation.
FILE FORMAT/DEFAULTS
SEE ALSO
Typeset by Felix Ritter (MeVis Research GmbH)
Hyperlinks by Wolfram Esser (method park Software AG)