.TH "SoMFVec3b" 3 "Thu May 29 2014" "Version 4.0.0a" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoMFVec3b \- .PP The \fBSoMFVec3b\fP class is a container for \fBSbVec3b\fP vectors\&. .PP This field is used where nodes, engines or other field containers needs to store an array of vectors with three elements\&. .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 \fBSoMFVec3b\fP & \fBoperator=\fP (const \fBSoMFVec3b\fP &field)" .br .ti -1c .RI "virtual SbBool \fBisSame\fP (const \fBSoField\fP &field) const " .br .ti -1c .RI "\fBSbVec3b\fP \fBoperator[]\fP (const int idx) const " .br .ti -1c .RI "const \fBSbVec3b\fP * \fBgetValues\fP (const int start) const " .br .ti -1c .RI "int \fBfind\fP (\fBSbVec3b\fP value, SbBool addifnotfound=FALSE)" .br .ti -1c .RI "void \fBsetValues\fP (const int start, const int \fBnum\fP, const \fBSbVec3b\fP *newvals)" .br .ti -1c .RI "void \fBset1Value\fP (const int idx, \fBSbVec3b\fP value)" .br .ti -1c .RI "void \fBsetValue\fP (\fBSbVec3b\fP value)" .br .ti -1c .RI "\fBSbVec3b\fP \fBoperator=\fP (\fBSbVec3b\fP val)" .br .ti -1c .RI "SbBool \fBoperator==\fP (const \fBSoMFVec3b\fP &field) const " .br .ti -1c .RI "SbBool \fBoperator!=\fP (const \fBSoMFVec3b\fP &field) const " .br .ti -1c .RI "\fBSbVec3b\fP * \fBstartEditing\fP (void)" .br .ti -1c .RI "void \fBfinishEditing\fP (void)" .br .ti -1c .RI "void \fBsetValuesPointer\fP (const int \fBnum\fP, const \fBSbVec3b\fP *userdata)" .br .ti -1c .RI "void \fBsetValuesPointer\fP (const int \fBnum\fP, \fBSbVec3b\fP *userdata)" .br .ti -1c .RI "void \fBsetValuesPointer\fP (const int \fBnum\fP, const int8_t *userdata)" .br .ti -1c .RI "void \fBsetValuesPointer\fP (const int \fBnum\fP, int8_t *userdata)" .br .ti -1c .RI "void \fBsetValues\fP (int start, int \fBnum\fP, const int8_t xyz[][3])" .br .ti -1c .RI "void \fBset1Value\fP (int idx, int8_t x, int8_t y, int8_t z)" .br .ti -1c .RI "void \fBset1Value\fP (int idx, const int8_t xyz[3])" .br .ti -1c .RI "void \fBsetValue\fP (int8_t x, int8_t y, int8_t z)" .br .ti -1c .RI "void \fBsetValue\fP (const int8_t xyz[3])" .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 "\fBSbVec3b\fP * \fBvalues\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBSoMFVec3b\fP class is a container for \fBSbVec3b\fP vectors\&. .PP This field is used where nodes, engines or other field containers needs to store an array of vectors with three elements\&. This field supports application data sharing through a setValuesPointer() method\&. See \fBSoMField\fP documentation for information on how to use this function\&. .PP \fBSee also:\fP .RS 4 \fBSbVec3b\fP, \fBSoSFVec3b\fP Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2\&.1 API\&. .RE .PP \fBSince:\fP .RS 4 Coin 2\&.5 .RE .PP .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoMFVec3b::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 SoMFVec3b::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 SoMFVec3b::isSame (const \fBSoField\fP &f) const\fC [virtual]\fP" Check for equal type and value(s)\&. .PP Implements \fBSoField\fP\&. .SS "void SoMFVec3b::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 SoMFVec3b::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 \fBSbVec3b\fP* SoMFVec3b::getValues (const intstart) const\fC [inline]\fP" \\ Returns a pointer to the values array\&. \\ .SS "void SoMFVec3b::setValues (intstart, intnumarg, const int8_txyz[][3])" Set \fInum\fP vector array elements from the \fIxyz\fP array, reading from index 0 in the given float-triplet vector array and storing values from index \fIstart\fP in this \fBSoMFVec3f\fP's array\&. .PP If \fIstart\fP + \fInum\fP is larger than the current number of elements in the \fBSoMFVec3f\fP field, this method will automatically expand the field to accommodate all given float-vector element values\&. .SS "void SoMFVec3b::set1Value (intidx, int8_tx, int8_ty, int8_tz)" Set the vector at \fIidx\fP\&. .SS "void SoMFVec3b::set1Value (intidx, const int8_txyz[3])" Set the vector at \fIidx\fP\&. .SS "void SoMFVec3b::setValue (int8_tx, int8_ty, int8_tz)" Set this field to contain a single vector with the given element values\&. .SS "void SoMFVec3b::setValue (const int8_txyz[3])" Set this field to contain a single vector with the given element values\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.