Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCameraRollTouch.h
1 //
2 // Copyright (c) 2000 by Tech Soft 3D, LLC.
3 // The information contained herein is confidential and proprietary to
4 // Tech Soft 3D, LLC., and considered a trade secret as defined under
5 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
6 // and criminal remedies in the event of unauthorized use or misappropriation
7 // of its trade secrets. Use of this information by anyone other than
8 // authorized employees of Tech Soft 3D, LLC. is granted only under a
9 // written non-disclosure agreement, expressly prescribing the scope and
10 // manner of such use.
11 //
12 // $Id: 8687fde2e967c6111708c8a2afa84d08ed79446e $
13 //
14 
15 // HOpCameraPan.h : interface of the HOpCameraPan class
16 // pans the camera of current view
17 
18 #ifndef _HOPCAMERAROLLTOUCH_H
19 #define _HOPCAMERAROLLTOUCH_H
20 
21 #ifdef H_PACK_8
22 #pragma pack(push)
23 #pragma pack(8)
24 #endif
25 
26 #include "HTools.h"
27 #include "HBaseOperator.h"
28 
30 
35 class MVO_API HOpCameraRollTouch : public HBaseOperator
36 {
37 public:
45  HOpCameraRollTouch(HBaseView* view, int DoRepeat=0, int DoCapture=1);
46  virtual ~HOpCameraRollTouch();
47 
51  virtual const char * GetName();
52 
58  virtual int OnTouchesDown (HEventInfo &hevent);
59 
65  virtual int OnTouchesMove(HEventInfo &hevent);
66 
72  virtual int OnTouchesUp (HEventInfo &hevent);
73 
80  void SetLightFollowsCamera(bool follow){m_LightFollowsCamera = follow;};
81 
83  bool GetLightFollowsCamera(){return m_LightFollowsCamera;};
84 
90  virtual HBaseOperator * Clone();
91 
92 private:
93  HTouchInfo m_LastTouch1;
94  HTouchInfo m_LastTouch2;
95  bool m_LightFollowsCamera;
96 };
97 
98 
99 #ifdef H_PACK_8
100 #pragma pack(pop)
101 #endif
102 
103 #endif
104 
105 
106 
107 
virtual const char * GetName()
virtual HBaseOperator * Clone()
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:65
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
The HTouchInfo class encapsulates touch events.
Definition: HEventInfo.h:87
virtual int OnTouchesUp(HEventInfo &hevent)
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
The HOpCameraRollTouch class rolls the camera around the current view axis.
Definition: HOpCameraRollTouch.h:35
virtual int OnTouchesDown(HEventInfo &hevent)
bool GetLightFollowsCamera()
Definition: HOpCameraRollTouch.h:83
virtual int OnTouchesMove(HEventInfo &hevent)
void SetLightFollowsCamera(bool follow)
Definition: HOpCameraRollTouch.h:80