MeVisLab Toolbox Reference
SoInteractionProviderNode.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2008, 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#ifndef SO_INTERACTION_PROVIDER_NODE_H
14#define SO_INTERACTION_PROVIDER_NODE_H
15
18
20#include "SoInteractionOwner.h"
21
22#include <ThirdPartyWarningsDisable.h>
23#include <Inventor/nodes/SoSubNode.h>
24#include <Inventor/nodes/SoGroup.h>
25#include <Inventor/fields/SoSFString.h>
26#include <ThirdPartyWarningsRestore.h>
27
28// included for convenience:
29#include "SoCommandAction.h"
30#include "SoPointingAction.h"
31
35 : public SoGroup
36 , public SoInteractionOwner
37{
38 SO_NODE_HEADER(SoInteractionProviderNode);
39
40public:
47
49 static void initClass();
50
53 void objRef() override;
54 void objUnref() override;
56
59 std::string getID() const override;
60
62 SoSFString instanceName;
63
66};
67
68#endif // __SoInteractionProviderNode_H
#define SOMANAGEDINTERACTION_API
File to resolve system dependencies in View2D library.
SoInteractionOwner()
Default constructor.
SoSFString instanceName
Defines interface field to store the instance name.
static void initClass()
Initializes this class.
void objUnref() override
std::string getID() const override
~SoInteractionProviderNode() override
Destructor.
SoSFString interactionProviderID
This field overrides the instanceName as providerID if specified.
void objRef() override