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)
 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:
 

Macro Definition Documentation

◆ SO_NODE_DEFINE_CURSOR_SHAPE_ENUM

#define SO_NODE_DEFINE_CURSOR_SHAPE_ENUM ( enumType)
Value:
{ \
int _value_false= 0; \
do { \
fieldData->addEnumValue(SO__QUOTE(enumType), \
SoViewerProxy::cursorShapeNames()[i+1], i); \
} \
} \
} while (_value_false); \
}
static int getPredefinedCursorCount()
get number of predefined cursors from code (instead of requiring a re-compilation of all using librar...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.

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.