SmallChange
1.0.0
A collection of extensions to Coin3D
|
Rot2Heading is a class for transforming a rotation into a vector. More...
#include <Rot2Heading.h>
Public Member Functions | |
Rot2Heading (void) | |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoEngineOutput | heading |
SoSFBool | inverse |
SoMFRotation | rotation |
Protected Member Functions | |
virtual | ~Rot2Heading () |
Rot2Heading is a class for transforming a rotation into a vector.
It is a useful engine, since it can, for instance, be used to create a headlight in a scene graph by connecting the camera orientation to the input, and a directional light direction to the output.
Rot2Heading::Rot2Heading | ( | void | ) |
Constructor.
|
protectedvirtual |
Destructor.
SoEngineOutput Rot2Heading::heading |
(SoSFVec3f) The rotated vector.
SoSFBool Rot2Heading::inverse |
Set to TRUE if the rotation should be inverted.
SoMFRotation Rot2Heading::rotation |
The rotation input.