Open Inventor Reference
SoSFVec3s.h
Go to the documentation of this file.
1 // **InsertLicense** code
2 
3 #ifndef _SO_SF_VEC3S_
4 #define _SO_SF_VEC3S_
5 
8 #include <Inventor/SbLinear.h>
9 
11 {
12  typedef SoSField inherited;
13 
15 
16  public:
17 
19  void setValue(short x, short y, short z);
20 
22  void setValue(const short xyz[3]);
23 
24 
25  SoINTERNAL public:
26 
28  static void initClass();
29 };
30 
31 #endif // _SO_SF_VEC3S_
#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
3D vector used to represet points or directions.
Definition: SbLinear.h:454
void setValue(const short xyz[3])
Set value from array of 3 shorts.
void setValue(short x, short y, short z)
Set value from 3 shorts.
static void initClass()
Initialize class with runtime type system.
Abstract base class for all single-value fields.
Definition: SoField.h:537