MeVisLab Toolbox Reference
CSOPointingAction.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2013, 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
15
16#pragma once
17
18#include <SoPointingAction.h>
19
20#include <Inventor/misc/SoRef.h>
21
23class SoSFMLImage;
24
25namespace ml
26{
27 class CSO;
28}
29
31
33{
34public:
35
36 CSOPointingAction(SoView2DCSOExtensibleEditor* editor, const std::string& id);
37
38protected:
39
43
45
47
51
53
55};
56
void unsetActionActive()
CSOPointingAction(SoView2DCSOExtensibleEditor *editor, const std::string &id)
bool isInsideImage(const SoPointerPosition &pos)
void updateImageStatistics(ml::CSO *cso)
void setActionActive()
Set/unset the maskValid flag in the editor.
void setView2DImage(const SoPointerPosition &pos)
SoView2DCSOExtensibleEditor * _editor
SoPointerPosition manages the current position of the mouse cursor.
SoPointingAction(SoInteractionOwner *owner, std::string id, bool positionSensitive=true)
Definition CSO.h:44
Defines the class GetTileJob.
Definition SoSFMLImage.h:51