94 void setValues(
int start,
int num,
const double xy[][2]);
114 virtual void writeBinaryValues(
SoOutput *out)
const;
115 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.
2D vector class with double members.
Multiple-value field containing any number of two-dimensional vectors.
void set1Value(int index, const double xy[2])
Set the index'th value to the given floating point double values.
void set1Value(int index, double x, double y)
Set the index'th value to the given floating point double values.
void setValues(int start, int num, const double xy[][2])
Some additional convenience functions:
void setValue(double x, double y)
Sets the field to contain the given value and only the given value (if the array had multiple values ...
void setValue(const double xy[2])
Sets the field to contain the given value and only the given value (if the array had multiple values ...
Base class for all multiple-valued fields.
Used to write Inventor data files.