Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

SoMFRotation Class Reference

The SoMFRotation class is a container for SbRotation values. More...

#include <Inventor/fields/SoMFRotation.h>

Inheritance diagram for SoMFRotation::

SoMField SoField List of all members.

Public Methods

void setValues (const int start, const int num, const float q[][4])
void set1Value (const int idx, const float q0, const float q1, const float q2, const float q3)
void set1Value (const int idx, const float q[4])
void set1Value (const int idx, const SbVec3f &axis, const float angle)
void setValue (const float q0, const float q1, const float q2, const float q3)
void setValue (const float q[4])
void setValue (const SbVec3f &axis, const float angle)

Static Public Methods

void initClass (void)

Detailed Description

The SoMFRotation class is a container for SbRotation values.

This field is used where nodes, engines or other field containers needs to store multiple rotation definitions.

See also:
SoSFRotation


Member Function Documentation

void SoMFRotation::initClass void    [static]
 

Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.

Reimplemented from SoMField.

void SoMFRotation::setValues const int    start,
const int    num,
const float    q[][4]
 

Set the values of num rotations, starting from index start, using the quaternion quadruples from q.

void SoMFRotation::set1Value const int    idx,
const float    q0,
const float    q1,
const float    q2,
const float    q3
 

Set the rotation at idx from the quaternion values.

void SoMFRotation::set1Value const int    idx,
const float    q[4]
 

Set the rotation at idx from the quaternion quadruple q.

void SoMFRotation::set1Value const int    idx,
const SbVec3f   axis,
const float    angle
 

Set the rotation at idx from the rotation axis and angle.

void SoMFRotation::setValue const float    q0,
const float    q1,
const float    q2,
const float    q3
 

Set the field to a single rotation from the quaternion values.

void SoMFRotation::setValue const float    q[4]
 

Set the field to a single rotation from the quaternion quadruple q.

void SoMFRotation::setValue const SbVec3f   axis,
const float    angle
 

Set the field to a single rotation from the axis and angle.


The documentation for this class was generated from the following files:
Generated on Sat Jan 12 11:41:08 2002 for Coin by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001