.TH "SoMFMatrix" 3 "Thu May 29 2014" "Version 4.0.0a" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoMFMatrix \- .PP The \fBSoMFMatrix\fP class is a container for \fBSbMatrix\fP values\&. .PP This field is used where nodes, engines or other field containers needs to store matrices\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBSoMField\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fBSoType\fP \fBgetTypeId\fP (void) const " .br .ti -1c .RI "virtual void \fBcopyFrom\fP (const \fBSoField\fP &field)" .br .ti -1c .RI "const \fBSoMFMatrix\fP & \fBoperator=\fP (const \fBSoMFMatrix\fP &field)" .br .ti -1c .RI "virtual SbBool \fBisSame\fP (const \fBSoField\fP &field) const " .br .ti -1c .RI "const \fBSbMatrix\fP & \fBoperator[]\fP (const int idx) const " .br .ti -1c .RI "const \fBSbMatrix\fP * \fBgetValues\fP (const int start) const " .br .ti -1c .RI "int \fBfind\fP (const \fBSbMatrix\fP &value, SbBool addifnotfound=FALSE)" .br .ti -1c .RI "void \fBsetValues\fP (const int start, const int \fBnum\fP, const \fBSbMatrix\fP *newvals)" .br .ti -1c .RI "void \fBset1Value\fP (const int idx, const \fBSbMatrix\fP &value)" .br .ti -1c .RI "void \fBsetValue\fP (const \fBSbMatrix\fP &value)" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBoperator=\fP (const \fBSbMatrix\fP &val)" .br .ti -1c .RI "SbBool \fBoperator==\fP (const \fBSoMFMatrix\fP &field) const " .br .ti -1c .RI "SbBool \fBoperator!=\fP (const \fBSoMFMatrix\fP &field) const " .br .ti -1c .RI "\fBSbMatrix\fP * \fBstartEditing\fP (void)" .br .ti -1c .RI "void \fBfinishEditing\fP (void)" .br .ti -1c .RI "void \fBsetValue\fP (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)" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static void * \fBcreateInstance\fP (void)" .br .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual void \fBdeleteAllValues\fP (void)" .br .ti -1c .RI "virtual void \fBcopyValue\fP (int to, int from)" .br .ti -1c .RI "virtual int \fBfieldSizeof\fP (void) const " .br .ti -1c .RI "virtual void * \fBvaluesPtr\fP (void)" .br .ti -1c .RI "virtual void \fBsetValuesPtr\fP (void *ptr)" .br .ti -1c .RI "virtual void \fBallocValues\fP (int \fBnum\fP)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBSbMatrix\fP * \fBvalues\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBSoMFMatrix\fP class is a container for \fBSbMatrix\fP values\&. .PP This field is used where nodes, engines or other field containers needs to store matrices\&. .PP \fBSee also:\fP .RS 4 \fBSoSFMatrix\fP .RE .PP .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoMFMatrix::getTypeId (void) const\fC [virtual]\fP" Returns the type identification instance which uniquely identifies the Coin field class the object belongs to\&. .PP \fBSee also:\fP .RS 4 getClassTypeId(), \fBSoType\fP .RE .PP .PP Implements \fBSoField\fP\&. .SS "void SoMFMatrix::copyFrom (const \fBSoField\fP &f)\fC [virtual]\fP" Copy value(s) from \fIf\fP into this field\&. \fIf\fP must be of the same type as this field\&. .PP Implements \fBSoField\fP\&. .SS "SbBool SoMFMatrix::isSame (const \fBSoField\fP &f) const\fC [virtual]\fP" Check for equal type and value(s)\&. .PP Implements \fBSoField\fP\&. .SS "void SoMFMatrix::deleteAllValues (void)\fC [protected]\fP, \fC [virtual]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .PP Implements \fBSoMField\fP\&. .SS "void SoMFMatrix::copyValue (intto, intfrom)\fC [protected]\fP, \fC [virtual]\fP" This method is used for moving values around internally within a multivalue field\&. It needs to be overridden in each field so it automatically takes care of running copy contructors where necessary\&. .PP Implements \fBSoMField\fP\&. .SS "const \fBSbMatrix\fP* SoMFMatrix::getValues (const intstart) const\fC [inline]\fP" \\ Returns a pointer to the values array\&. \\ .SS "void SoMFMatrix::setValue (const floata11, const floata12, const floata13, const floata14, const floata21, const floata22, const floata23, const floata24, const floata31, const floata32, const floata33, const floata34, const floata41, const floata42, const floata43, const floata44)" Set field value array to a single matrix with the given components\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.