Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCameraPanTouch.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: e63053fc4c6cfbb4d1e37f1559bf4cf8a2beeb09 $
13 //
14 
15 // HOpCameraPan.h : interface of the HOpCameraPan class
16 // pans the camera of current view
17 
18 #ifndef _HOPCAMERAPANTOUCH_H
19 #define _HOPCAMERAPANTOUCH_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 HOpCameraPanTouch : public HBaseOperator
36 {
37 public:
45  HOpCameraPanTouch(HBaseView* view, int DoRepeat=0, int DoCapture=1);
46  virtual ~HOpCameraPanTouch();
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  bool m_LightFollowsCamera;
94 };
95 
96 
97 #ifdef H_PACK_8
98 #pragma pack(pop)
99 #endif
100 
101 #endif
102 
103 
104 
105 
virtual const char * GetName()
bool GetLightFollowsCamera()
Definition: HOpCameraPanTouch.h:83
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
virtual int OnTouchesUp(HEventInfo &hevent)
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
void SetLightFollowsCamera(bool follow)
Definition: HOpCameraPanTouch.h:80
virtual int OnTouchesDown(HEventInfo &hevent)
The HOpCameraPanTouch class pans the camera about a current view.
Definition: HOpCameraPanTouch.h:35
virtual int OnTouchesMove(HEventInfo &hevent)