00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_SOMFVEC2F_H
00021
#define COIN_SOMFVEC2F_H
00022
00023
#include <Inventor/fields/SoMField.h>
00024
#include <Inventor/fields/SoSubField.h>
00025
#include <Inventor/SbVec2f.h>
00026
00027
00028 class COIN_DLL_API SoMFVec2f :
public SoMField {
00029
typedef SoMField inherited;
00030
00031 SO_MFIELD_HEADER(SoMFVec2f,
SbVec2f,
const SbVec2f &);
00032
00033
public:
00034
static void initClass(
void);
00035
00036
void setValues(
const int start,
const int num,
const float xy[][2]);
00037
void set1Value(
const int idx,
const float x,
const float y);
00038
void set1Value(
const int idx,
const float xy[2]);
00039
void setValue(
const float x,
const float y);
00040
void setValue(
const float xy[2]);
00041 };
00042
00043
#endif // !COIN_SOMFVEC2F_H