![]() |
http://www.sim.no http://www.coin3d.org |
The SoSFMatrix class is a container for an SbMatrix.This field is used where nodes, engines or other field containers needs to store a 4x4 matrix. More...
#include <Inventor/fields/SoSFMatrix.h>
Public Member Functions | |
virtual SoType | getTypeId (void) const |
virtual void | copyFrom (const SoField &field) |
const SoSFMatrix & | operator= (const SoSFMatrix &field) |
virtual SbBool | isSame (const SoField &field) const |
PRIVATE_SFIELD_IO_HEADER () | |
const SbMatrix & | getValue (void) const |
void | setValue (const SbMatrix &newvalue) |
const SbMatrix & | operator= (const SbMatrix &newvalue) |
int | operator== (const SoSFMatrix &field) const |
int | operator!= (const SoSFMatrix &field) const |
void | setValue (const float a11, const float a12, const float a13, const float a14, const float a21, const float a22, const float a23, const float a24, const float a31, const float a32, const float a33, const float a34, const float a41, const float a42, const float a43, const float a44) |
Static Public Member Functions | |
static void * | createInstance (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
Protected Attributes | |
SbMatrix | value |
The SoSFMatrix class is a container for an SbMatrix.
This field is used where nodes, engines or other field containers needs to store a 4x4 matrix.
Fields of this type stores their value to file as a set of 16 floating point values, written from the matrix in row-major mode.
static SoType SoSFMatrix::getClassTypeId | ( | void | ) | [static] |
Returns a unique type identifier for this field class.
Reimplemented from SoSField.
virtual SoType SoSFMatrix::getTypeId | ( | void | ) | const [virtual] |
Returns the type identification instance which uniquely identifies the Coin field class the object belongs to.
Implements SoField.
virtual void SoSFMatrix::copyFrom | ( | const SoField & | f | ) | [virtual] |
Copy value(s) from f into this field. f must be of the same type as this field.
Implements SoField.
virtual SbBool SoSFMatrix::isSame | ( | const SoField & | f | ) | const [virtual] |
Check for equal type and value(s).
Implements SoField.
void SoSFMatrix::initClass | ( | void | ) | [static] |
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.
Reimplemented from SoSField.
void SoSFMatrix::setValue | ( | const float | a11, |
const float | a12, | ||
const float | a13, | ||
const float | a14, | ||
const float | a21, | ||
const float | a22, | ||
const float | a23, | ||
const float | a24, | ||
const float | a31, | ||
const float | a32, | ||
const float | a33, | ||
const float | a34, | ||
const float | a41, | ||
const float | a42, | ||
const float | a43, | ||
const float | a44 | ||
) |
Set matrix elements.
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Feb 28 2011 10:12:20 for Coin by Doxygen. 1.7.3