SoSFMatrix3 Class Reference
[Fields]

Field containing a 3x3 matrix. More...

#include <Inventor/fields/SoSFMatrix3.h>

Inheritance diagram for SoSFMatrix3:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFMatrix3operator= (const SoSFMatrix3 &f)
 SoSFMatrix3 ()
virtual ~SoSFMatrix3 ()
const SbMatrix3getValue () const
void setValue (const SbMatrix3 &newValue)
const SbMatrix3operator= (const SbMatrix3 &newValue)
int operator== (const SoSFMatrix3 &f) const
int operator!= (const SoSFMatrix3 &f) const
virtual size_t getValueSize () const
void setValue (float a11, float a12, float a13, float a21, float a22, float a23, float a31, float a32, float a33)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing a 3x3 matrix.

A field containing a 3x3 transformation matrix (an SbMatrix3).

SoSFMatrix3 is written to a file as 9 floating point numbers separated by whitespace. For example, an identity matrix is written as:

      1 0 0 0 1 0 0 0 1
     

SEE ALSO

SoField, SoSField, SoSFMatrix, SoMFMatrix, SbMatrix SbMatrix3


Constructor & Destructor Documentation

SoSFMatrix3::SoSFMatrix3 (  ) 

Default constructor.

virtual SoSFMatrix3::~SoSFMatrix3 (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFMatrix3::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

virtual SoType SoSFMatrix3::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.

const SbMatrix3& SoSFMatrix3::getValue (  )  const [inline]

Returns this field's value.

virtual size_t SoSFMatrix3::getValueSize (  )  const [inline, virtual]

Get size of the value.

Reimplemented from SoField.

int SoSFMatrix3::operator!= ( const SoSFMatrix3 f  )  const [inline]

Returns FALSE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

const SbMatrix3& SoSFMatrix3::operator= ( const SbMatrix3 newValue  )  [inline]

Sets this field to newValue.

const SoSFMatrix3& SoSFMatrix3::operator= ( const SoSFMatrix3 f  ) 

Copy from another field of same type.

int SoSFMatrix3::operator== ( const SoSFMatrix3 f  )  const

Returns TRUE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

void SoSFMatrix3::setValue ( float  a11,
float  a12,
float  a13,
float  a21,
float  a22,
float  a23,
float  a31,
float  a32,
float  a33 
)

Sets this field to contain the matrix given by the 9 values.

void SoSFMatrix3::setValue ( const SbMatrix3 newValue  ) 

Sets this field to newValue.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/