![]() |
Coin3D is Free Software, published under the BSD 3-clause license. |
https://coin3d.github.io https://www.kongsberg.com/en/kogt/ |
The SoMFVec3d class is a container for SbVec3d vectors. More...
#include <Inventor/fields/SoMFVec3d.h>
Static Public Member Functions | |
static void * | createInstance (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
![]() | |
static SoType | getClassTypeId (void) |
static void | atexit_cleanup (void) |
static void | initClass (void) |
![]() | |
static void | initClass (void) |
static void | initClasses (void) |
static void | cleanupClass (void) |
static SoType | getClassTypeId (void) |
Protected Member Functions | |
virtual void | deleteAllValues (void) |
virtual void | copyValue (int to, int from) |
virtual int | fieldSizeof (void) const |
virtual void * | valuesPtr (void) |
virtual void | setValuesPtr (void *ptr) |
virtual void | allocValues (int num) |
![]() | |
SoMField (void) | |
virtual void | makeRoom (int newnum) |
virtual SoNotRec | createNotRec (SoBase *container) |
void | setChangedIndex (const int chgidx) |
void | setChangedIndices (const int chgidx=-1, const int numchgind=0) |
![]() | |
SoField (void) | |
void | valueChanged (SbBool resetdefault=TRUE) |
virtual void | evaluateConnection (void) const |
virtual SbBool | readConnection (SoInput *in) |
virtual void | writeConnection (SoOutput *out) const |
SbBool | isDestructing (void) const |
Protected Attributes | |
SbVec3d * | values |
![]() | |
int | num |
int | maxNum |
SbBool | userDataIsUsed |
Additional Inherited Members | |
![]() | |
enum | FieldType { NORMAL_FIELD = 0 , EVENTIN_FIELD , EVENTOUT_FIELD , EXPOSED_FIELD } |
The SoMFVec3d class is a container for SbVec3d vectors.
This field is used where nodes, engines or other field containers need to store an array of vectors with three elements.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object.
This static method returns the SoType object associated with objects of this class.
Copy value(s) from f into this field. f must be of the same type as this field.
Implements SoField.
Check for equal type and value(s).
Implements SoField.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Implements SoMField.
|
protectedvirtual |
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 constructors where necessary.
Implements SoMField.
Returns a pointer to the values array.
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.
Set num vector array elements from the xyz array, reading from index 0 in the given double-triplet vector array and storing values from index start in this SoMFVec3d's array.
If start + num is larger than the current number of elements in the SoMFVec3d field, this method will automatically expand the field to accommodate all given double-vector element values.
void SoMFVec3d::set1Value | ( | int | idx, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Set the vector at idx.
void SoMFVec3d::setValue | ( | double | x, |
double | y, | ||
double | z | ||
) |
Set this field to contain a single vector with the given element values.
Set this field to contain a single vector with the given element values.