![]() |
Coin3D is Free Software, published under the BSD 3-clause license. |
https://coin3d.github.io https://www.kongsberg.com/en/kogt/ |
The SoSFBitMask class is a container for a set of bit flags. More...
#include <Inventor/fields/SoSFBitMask.h>
Static Public Member Functions | |
static void * | createInstance (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
![]() | |
static void * | createInstance (void) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
![]() | |
static void | initClass (void) |
static SoType | getClassTypeId (void) |
static void | atexit_cleanup (void) |
![]() | |
static void | initClass (void) |
static void | initClasses (void) |
static void | cleanupClass (void) |
static SoType | getClassTypeId (void) |
Additional Inherited Members | |
![]() | |
enum | FieldType { NORMAL_FIELD = 0 , EVENTIN_FIELD , EVENTOUT_FIELD , EXPOSED_FIELD } |
![]() | |
virtual SbBool | findEnumValue (const SbName &name, int &val) |
virtual SbBool | findEnumName (int value, const SbName *&name) const |
![]() | |
SoSField (void) | |
![]() | |
SoField (void) | |
void | valueChanged (SbBool resetdefault=TRUE) |
virtual void | evaluateConnection (void) const |
virtual SbBool | readConnection (SoInput *in) |
virtual void | writeConnection (SoOutput *out) const |
SbBool | isDestructing (void) const |
virtual SoNotRec | createNotRec (SoBase *cont) |
![]() | |
int | value |
int | numEnums |
int * | enumValues |
SbName * | enumNames |
SbBool | legalValuesSet |
The SoSFBitMask class is a container for a set of bit flags.
This field is used where nodes, engines or other field containers needs to store one particular set of bit flags from an enumerated set.
A field of this type stores its value to file as the symbolic names, rather than the actual integer bitmask. If more than one bit is set in the value when exporting, the bits are written like this: "(BITNAME|BITNAME|BITNAME|...)".
SoSFBitMask instances are derived from SoSFEnum instances, and are initialized in the same way using the exact same enum-field-related macros.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object.
This static method returns the SoType object associated with objects of this class.
Copy value(s) from f into this field. f must be of the same type as this field.
Reimplemented from SoSFEnum.
Check for equal type and value(s).
Reimplemented from SoSFEnum.
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.