SoRotationXYZ Class Reference

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 {

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.




SoRotation, SoTransform

Member Enumeration Documentation

Rotation axis enumeration values.


The X-axis.


The Y-axis.


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 24 Mar 2020
Copyright © Thermo Fisher Scientific All rights reserved.