96 void setValues(
int start,
int num,
const double xyzw[][4]);
99 void set1Value(
int index,
double x,
double y,
double z,
double w);
106 void setValue(
double x,
double y,
double z,
double w);
116 virtual void writeBinaryValues(
SoOutput *out)
const;
117 virtual bool readBinaryValues(
SoInput *in,
int numToRead);
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_MFIELD_HEADER(className, valueType, valueRef)
This macro is all that is needed for most multiple-value field classes.
4D vector class with double values.
Multiple-value field containing any number of four-dimensional vectors.
void setValue(double x, double y, double z, double w)
Sets the field to contain the given value and only the given value (if the array had multiple values ...
void set1Value(int index, double x, double y, double z, double w)
Set the index'th value to the given floating point double values.
void setValue(const double xyzw[4])
Sets the field to contain the given value and only the given value (if the array had multiple values ...
void setValues(int start, int num, const double xyzw[][4])
Some additional convenience functions:
void set1Value(int index, const double xyzw[4])
Set the index'th value to the given floating point double values.
Base class for all multiple-valued fields.
Used to write Inventor data files.