MeVisLab Toolbox Reference
SoViewerElement.h File Reference
#include "InventorWrapperDllInit.h"
#include "SoViewerProxy.h"
#include <ThirdPartyWarningsDisable.h>
#include <Inventor/elements/SoSubElement.h>
#include <ThirdPartyWarningsRestore.h>

Go to the source code of this file.

Classes

class  SoViewerElement
 Element that stores a proxy object to the currently active viewer. More...

Macros

#define SO_NODE_DEFINE_CURSOR_SHAPE_ENUM(enumType)

Macro Definition Documentation

◆ SO_NODE_DEFINE_CURSOR_SHAPE_ENUM

#define SO_NODE_DEFINE_CURSOR_SHAPE_ENUM ( enumType)
Value:
{ \
int _value_false= 0; \
do { \
SO__NODE_CHECK_CONSTRUCT(__FILE__); \
if (firstInstance) { \
fieldData->addEnumValue(SO__QUOTE(enumType), \
} \
} \
} while (_value_false); \
}
static const char *const * cursorShapeNames()
static int getPredefinedCursorCount()

The following macro can be used to define the enum type for the cursor shape for a SoField - normally you will give SoViewerProxy::cursorShapeEnum as argument.

Definition at line 74 of file SoViewerElement.h.