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.
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
SoMFVec3f SoComposeRotation::axis Set of axis vectors for the output
rotations. Default value is (0.0f, 0.0f, 1.0f).
SoMFFloat SoComposeRotation::angle Set of scalar rotation values for the
output rotations. Default value is 0.0.
SoEngineOutput SoComposeRotation::rotation (SoMFRotation) Rotations
generated from the angle and axis input fields.
Author
Generated automatically by Doxygen for Coin from the source code.