SoRotationXYZ Class Reference
[Transforms]

Node representing a 3D rotation about the x-, y-, or z-axis. More...

#include <Inventor/nodes/SoRotationXYZ.h>

Inheritance diagram for SoRotationXYZ:
SoTransformation SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  Axis {
  X,
  Y,
  Z
}

Public Member Functions

virtual SoType getTypeId () const
 SoRotationXYZ ()
SbRotation getRotation () const

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFEnum axis
SoSFFloat angle

Detailed Description

Node representing a 3D rotation about the x-, y-, or z-axis.

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.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoRotation, SoTransform


Member Enumeration Documentation

Rotation axis enumeration values.

Enumerator:
X 

The X-axis.

Y 

The Y-axis.

Z 

The Z-axis.


Constructor & Destructor Documentation

SoRotationXYZ::SoRotationXYZ (  ) 

Creates a rotation node with default settings.


Member Function Documentation

static SoType SoRotationXYZ::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoTransformation.

SbRotation SoRotationXYZ::getRotation (  )  const

Returns an SbRotation equivalent to the specified rotation.

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

Returns the type identifier for this specific instance.

Reimplemented from SoTransformation.


Member Data Documentation

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

Rotation axis.

Use enum Axis. Default is X.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/