ALBA
albaInteractorPERPicker.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaInteractorPERPicker
5 Authors: Nicola Vanella
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16#ifndef __albaInteractorPERPicker_h
17#define __albaInteractorPERPicker_h
18
19#include "albaInteractorPER.h"
20
21//----------------------------------------------------------------------------
22// forward declarations
23//----------------------------------------------------------------------------
24class albaVME;
25class vtkCamera;
26
28{
29public:
31
32protected:
35
42
43 virtual void OnMove(albaEventInteraction *e);
44
45 void SendPickingInformation(albaView *v, double *mouse_pos = NULL, int msg_id = VME_PICKED, albaMatrix *tracker_pos = NULL, bool mouse_flag = true);
46
47private:
48 albaInteractorPERPicker(const albaInteractorPERPicker&); // Not implemented.
49 void operator=(const albaInteractorPERPicker&); // Not implemented.
50
51 bool m_MovedAfterMouseDown;
53 friend class albaInteractorPERPickerTest;
54};
55
56#endif
VME_PICKED
Definition: albaDecl.h:202
Event class to transport a triggering button and a position from pointing devices.
virtual void OnLeftButtonUp(albaEventInteraction *e)
Perform a pick on start of interaction to find if the user pointed an object in the scene,...
virtual void OnMove(albaEventInteraction *e)
void SendPickingInformation(albaView *v, double *mouse_pos=NULL, int msg_id=VME_PICKED, albaMatrix *tracker_pos=NULL, bool mouse_flag=true)
albaTypeMacro(albaInteractorPERPicker, albaInteractorPER)
virtual ~albaInteractorPERPicker()
Class implementing routing of events based on picking.
albaMatrix - Time stamped 4x4 Matrix.
Definition: albaMatrix.h:44
albaVME -
Definition: albaVME.h:150
albaView is the base class for Views in alba.
Definition: albaView.h:79