Open Inventor Reference
SoMFMatrix Class Reference

Multiple-value field containing any number of 4x4 matrices. More...

#include <Inventor/fields/SoMFMatrix.h>

Inheritance diagram for SoMFMatrix:
SoMField SoField

List of all members.

Public Member Functions

void setValue (float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, float a41, float a42, float a43, float a44)
 Set one value from 16 floats.

Static Public Member Functions

static void initClass ()

Detailed Description

A multiple-value field that contains any number of 4x4 matrices.

SoMFMatrices are written to file as sets of 16 floating point numbers separated by whitespace. When more than one value is present, all of the values are enclosed in square brackets and separated by commas; for example, two identity matrices might be written as:

[ 1 0 0 0  0 1 0 0  0 0 1 0  0 0 0 1, 
  1 0 0 0  0 1 0 0  0 0 1 0  0 0 0 1 ]

Definition at line 82 of file SoMFMatrix.h.


Member Function Documentation

static void SoMFMatrix::initClass ( ) [static]

Reimplemented from SoMField.

void SoMFMatrix::setValue ( float  a11,
float  a12,
float  a13,
float  a14,
float  a21,
float  a22,
float  a23,
float  a24,
float  a31,
float  a32,
float  a33,
float  a34,
float  a41,
float  a42,
float  a43,
float  a44 
)

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