MeVisLab Toolbox Reference
CSOTransformAction.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2012, 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 "CSOPointingAction.h"
19
22
23ML_START_NAMESPACE
24class CSO;
25class CSOList;
26ML_END_NAMESPACE
27
29
31{
32public:
33
35
36 bool isSensitiveAt(const SoPointerPosition& pos) override;
37 void startPressAt(const SoPointerPosition& pos) override;
38 void dragMoveTo(const SoPointerPosition& pos) override;
39 SoPointingAction* endPress(int clickCount) override;
40 int getCurrentCursor(SoViewerProxy* ) const override;
41
42protected:
43
45
47
51
53};
54
CSOPointingAction(SoView2DCSOExtensibleEditor *editor, const std::string &id)
SoPointingAction * endPress(int clickCount) override
void startPressAt(const SoPointerPosition &pos) override
bool isSensitiveAt(const SoPointerPosition &pos) override
ml::CSOList * _activeCSOList
int getCurrentCursor(SoViewerProxy *) const override
CSOTransformAction(SoView2DCSOExtensibleEditor *editor)
void dragMoveTo(const SoPointerPosition &pos) override
Continues the drag to given device position.
bool isEligibleForPicking(SoCSOTransformEditor *editor) const
SoCSOTransformEditor * _transformEditor
Extension for transforming existing CSOs.
SoPointerPosition manages the current position of the mouse cursor.
SoPointingAction(SoInteractionOwner *owner, std::string id, bool positionSensitive=true)
Definition CSO.h:44