Open Inventor Reference
SoMFVec4f Class Reference

Multiple-value field containing any number of four-dimensional vectors. More...

#include <Inventor/fields/SoMFVec4f.h>

Inheritance diagram for SoMFVec4f:
SoMField SoField

List of all members.

Public Member Functions

void setValues (int start, int num, const float xyzw[][4])
 Some additional convenience functions:
void set1Value (int index, float x, float y, float z, float w)
 Set the index'th value to the given floating point values.
void set1Value (int index, const float xyzw[4])
 Set the index'th value to the given floating point values.
void setValue (float x, float y, float z, float w)
 Sets the field to contain the given value and only the given value (if the array had multiple values before, they are deleted).
void setValue (const float xyzw[4])
 Sets the field to contain the given value and only the given value (if the array had multiple values before, they are deleted).

Static Public Member Functions

static void initClass ()

Detailed Description

A multiple-value field that contains any number of four-dimensional vectors.

SoMFVec4fs are written to file as one or more triples of floating point values separated by whitespace.

When more than one value is present, all of the values are enclosed in square brackets and separated by commas; for example:

[ 0 0 0, 1.2 3.4 5.6, 98.6 -4e1 212 ]

Definition at line 85 of file SoMFVec4f.h.


Member Function Documentation

static void SoMFVec4f::initClass ( ) [static]

Reimplemented from SoMField.

void SoMFVec4f::set1Value ( int  index,
const float  xyzw[4] 
)
void SoMFVec4f::set1Value ( int  index,
float  x,
float  y,
float  z,
float  w 
)
void SoMFVec4f::setValue ( float  x,
float  y,
float  z,
float  w 
)
void SoMFVec4f::setValue ( const float  xyzw[4])
void SoMFVec4f::setValues ( int  start,
int  num,
const float  xyzw[][4] 
)

Set values from array of arrays of 4 floats


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