Coin Logo http://www.sim.no/
http://www.coin3d.org/

Static Public Member Functions | Public Attributes

SoComposeRotation Class Reference

The SoComposeRotation class is used to compose rotations from angle and axis.Simple usage example: More...

#include <Inventor/engines/SoCompose.h>

Inheritance diagram for SoComposeRotation:
SoEngine SoFieldContainer SoBase

List of all members.

Static Public Member Functions

static void initClass ()

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 Function Documentation

void SoComposeRotation::initClass ( void  ) [static]

Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

Reimplemented from SoEngine.


Member Data Documentation

Set of axis vectors for the output rotations. Default value is (0.0f, 0.0f, 1.0f).

Set of scalar rotation values for the output rotations. Default value is 0.0.

(SoMFRotation) Rotations generated from the angle and axis input fields.


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

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on Sun May 1 2011 02:58:28 for Coin by Doxygen 1.7.3.