SoComposeRotation.3coin2

Langue: en

Version: 375482 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SoComposeRotation -

The SoComposeRotation class is used to compose rotations from angle and axis.

Simple usage example:.

SYNOPSIS


#include <Inventor/engines/SoCompose.h>

Inherits SoEngine.

Public Attributes


SoMFVec3f axis

SoMFFloat angle

SoEngineOutput rotation

Detailed Description

The SoComposeRotation class is used to compose rotations from angle and axis.

Simple usage example:.

   #Inventor V2.1 ascii
   
   Separator {
      Transform {
         rotation =
         ComposeRotation { axis 0 1 0  angle =
            ElapsedTime { }.timeOut
         }.rotation
      }
      Cube { }
   }
 


 

Member Data Documentation

SoMFVec3f SoComposeRotation::axisSet of axis vectors for the output rotations.

SoMFFloat SoComposeRotation::angleSet of scalar rotation values for the output rotations.

SoEngineOutput SoComposeRotation::rotation(SoMFRotation) Rotations generated from the angle and axis input fields.

Author

Generated automatically by Doxygen for Coin from the source code.