1 #ifndef COIN_SOMFENUM_H
2 #define COIN_SOMFENUM_H
27 #include <Inventor/fields/SoMField.h>
28 #include <Inventor/fields/SoSubField.h>
38 void setValue(
const SbName name);
39 void set1Value(
const int idx,
const SbName name);
40 void setEnums(
const int num,
const int *
const values,
41 const SbName *
const names);
43 int getNumEnums(
void)
const;
44 int getEnum(
const int idx,
SbName & name)
const;
47 virtual SbBool findEnumValue(
const SbName & name,
int & value);
48 virtual SbBool findEnumName(
int value,
const SbName * & name)
const;
58 #include <Inventor/fields/SoSFEnum.h>
60 #define SO_ENGINE_SET_MF_ENUM_TYPE(_fieldname_, _enumtype_) \
61 PRIVATE_SOENUM_SET_TYPE(_fieldname_, _enumtype_, inputdata)
63 #define SO_NODE_SET_MF_ENUM_TYPE(_fieldname_, _enumtype_) \
64 PRIVATE_SOENUM_SET_TYPE(_fieldname_, _enumtype_, fieldData)
66 #endif // !COIN_SOMFENUM_H
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 18 2012 for Coin by Doxygen. 1.8.1.1