MeVisLab Resolution Independence API
Loading...
Searching...
No Matches
SoActionNotify.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2015, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#pragma once
14
15// Include base-class header.
16#include <Inventor/nodes/SoSubNode.h>
17// Include field headers.
18#include <Inventor/fields/SoSFTrigger.h>
19
20
21// Forward declarations
22class SoGLRenderAction;
23class SoGetBoundingBoxAction;
24class SoHandleEventAction;
25
26class SoActionNotify : public SoNode
27{
28 typedef SoNode inherited;
29
30 SO_NODE_HEADER(SoActionNotify);
31
32public:
33 SoSFTrigger notifyOnGLRender;
36
38
40 void GLRender(SoGLRenderAction* action) override;
41 void getBoundingBox(SoGetBoundingBoxAction* action) override;
42 void handleEvent(SoHandleEventAction* action) override;
43
45 static void initClass();
46};
SoSFTrigger notifyOnGLRender
SoSFTrigger notifyOnGetBoundingBox
static void initClass()
Register this node with the Open Inventor runtime system.
void GLRender(SoGLRenderAction *action) override
Action handlers.
SoSFTrigger notifyOnHandleEvent
void getBoundingBox(SoGetBoundingBoxAction *action) override
void handleEvent(SoHandleEventAction *action) override