Open Inventor Reference
SoSFVec2s.h
Go to the documentation of this file.
1 // **InsertLicense** code
2 
3 #ifndef _SO_SF_VEC2S_
4 #define _SO_SF_VEC2S_
5 
8 #include <Inventor/SbLinear.h>
9 
11 {
12  typedef SoSField inherited;
13 
15 
16  public:
17 
19  void setValue(short x, short y);
20 
22  void setValue(const short xy[2]);
23 
24 
25  SoINTERNAL public:
26 
28  static void initClass();
29 };
30 
31 #endif // _SO_SF_VEC2S_
#define SoINTERNAL
Definition: SbBasic.h:155
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
Definition: SbSystem.h:81
#define SO_SFIELD_HEADER(className, valueType, valueRef)
This macro is all that is needed for most single-value field classes.
Definition: SoSubField.h:287
2D vector class.
Definition: SbLinear.h:354
void setValue(short x, short y)
Set value from 2 shorts.
void setValue(const short xy[2])
Set value from array of 2 shorts.
static void initClass()
Initialize class with runtime type system.
Abstract base class for all single-value fields.
Definition: SoField.h:537