13#ifndef SO_ACTION_LOG_H
14#define SO_ACTION_LOG_H
17#include <Inventor/nodes/SoSubNode.h>
19#include <Inventor/fields/SoSFBool.h>
20#include <Inventor/fields/SoSFString.h>
21#include <Inventor/fields/SoSFTrigger.h>
22#include <Inventor/sensors/SoFieldSensor.h>
27class SoGLRenderAction;
28class SoCallbackAction;
29class SoGetBoundingBoxAction;
30class SoGetMatrixAction;
31class SoHandleEventAction;
42 typedef SoNode inherited;
90 void GLRender(SoGLRenderAction *action)
override;
91 void callback(SoCallbackAction *action)
override;
95 void pick(SoPickAction *action)
override;
96 void rayPick(SoRayPickAction *action)
override;
97 void search(SoSearchAction *action)
override;
98 void write(SoWriteAction *action)
override;
104 void addEntryToJSON(
const std::string& str);
106 void clearLogChangedCB(SoField* field);
108 void* getViewerId(SoAction* action);
109 std::string getViewerIdEntry(SoAction* action);
~SoActionLog() override
Destructor.
SoSFBool traceUnknownEvent
void write(SoWriteAction *action) override
SoSFBool traceLocation2Event
SoSFBool traceEnterLeaveEvent
SoSFBool traceMouseWheelEvent
SoSFBool traceGetBoundingBox
SoSFTrigger clearLog
clears jsonLog immediately
void handleEvent(SoHandleEventAction *action) override
SoSFBool logToString
flag to enable logging to jsonLog string
void search(SoSearchAction *action) override
void GLRender(SoGLRenderAction *action) override
Action handlers.
void pick(SoPickAction *action) override
void getMatrix(SoGetMatrixAction *action) override
SoSFBool logToConsole
flag to enable logging to console
static void initClass()
Register this node with the Open Inventor runtime system.
SoSFBool traceHandleEvent
void callback(SoCallbackAction *action) override
SoSFBool traceKeyboardEvent
void getBoundingBox(SoGetBoundingBoxAction *action) override
SoSFBool traceLocation2RefreshEvent
SoActionLog()
Constructor.
SoSFBool traceMouseButtonEvent
void rayPick(SoRayPickAction *action) override
SoSFString jsonLog
contains the logged events in JSON format