1 #ifndef COIN_SOMFENUM_H
2 #define COIN_SOMFENUM_H
36 #include <Inventor/fields/SoMField.h>
37 #include <Inventor/fields/SoSubField.h>
45 static void initClass(
void);
47 void setValue(
const SbName name);
48 void set1Value(
const int idx,
const SbName name);
49 void setEnums(
const int num,
const int *
const values,
50 const SbName *
const names);
52 int getNumEnums(
void)
const;
53 int getEnum(
const int idx,
SbName & name)
const;
56 virtual SbBool findEnumValue(
const SbName & name,
int & value);
57 virtual SbBool findEnumName(
int value,
const SbName * & name)
const;
67 #include <Inventor/fields/SoSFEnum.h>
69 #define SO_ENGINE_SET_MF_ENUM_TYPE(_fieldname_, _enumtype_) \
70 PRIVATE_SOENUM_SET_TYPE(_fieldname_, _enumtype_, inputdata)
72 #define SO_NODE_SET_MF_ENUM_TYPE(_fieldname_, _enumtype_) \
73 PRIVATE_SOENUM_SET_TYPE(_fieldname_, _enumtype_, fieldData)
75 #endif // !COIN_SOMFENUM_H
Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Sat Oct 26 2013 19:06:29 for Coin by Doxygen 1.8.4.