MeVisLab Resolution Independence API
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 { \
SO__NODE_CHECK_CONSTRUCT(__FILE__); \
if (firstInstance) { \
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...

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.