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
6
#include <
Inventor/system/SbSystem.h
>
7
#include <
Inventor/fields/SoSubField.h
>
8
#include <
Inventor/SbLinear.h
>
9
10
class
INVENTOR_API
SoSFVec2s
:
public
SoSField
11
{
12
typedef
SoSField
inherited;
13
14
SO_SFIELD_HEADER
(
SoSFVec2s
,
SbVec2s
,
const
SbVec2s
&);
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_
SoINTERNAL
#define SoINTERNAL
Definition
SbBasic.h:155
SbLinear.h
SbSystem.h
INVENTOR_API
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
Definition
SbSystem.h:77
SoSubField.h
SO_SFIELD_HEADER
#define SO_SFIELD_HEADER(className, valueType, valueRef)
This macro is all that is needed for most single-value field classes.
Definition
SoSubField.h:287
SbVec2s
2D vector class.
Definition
SbLinear.h:354
SoSFVec2s
Definition
SoSFVec2s.h:11
SoSFVec2s::setValue
void setValue(short x, short y)
Set value from 2 shorts.
SoSFVec2s::setValue
void setValue(const short xy[2])
Set value from array of 2 shorts.
SoSFVec2s::initClass
static void initClass()
Initialize class with runtime type system.
SoSField::SoSField
SoSField()
Constructor.
build
MeVis
ThirdParty
Sources
Inventor
include
Inventor
fields
SoSFVec2s.h
Generated by
1.13.0