Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCameraPanTouch.h
1 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
2 //
3 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
4 // and considered a trade secret as defined under civil and criminal statutes.
5 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
6 // unauthorized use or misappropriation of its trade secrets. Use of this information
7 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
8 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
9 
10 // HOpCameraPan.h : interface of the HOpCameraPan class
11 // pans the camera of current view
12 
13 #ifndef _HOPCAMERAPANTOUCH_H
14 #define _HOPCAMERAPANTOUCH_H
15 
16 #ifdef H_PACK_8
17 #pragma pack(push)
18 #pragma pack(8)
19 #endif
20 
21 #include "HTools.h"
22 #include "HBaseOperator.h"
23 
25 
30 class MVO_API HOpCameraPanTouch : public HBaseOperator
31 {
32 public:
40  HOpCameraPanTouch(HBaseView* view, int DoRepeat=0, int DoCapture=1);
41  virtual ~HOpCameraPanTouch();
42 
46  virtual const char * GetName();
47 
53  virtual int OnTouchesDown (HEventInfo &hevent);
54 
60  virtual int OnTouchesMove(HEventInfo &hevent);
61 
67  virtual int OnTouchesUp (HEventInfo &hevent);
68 
75  void SetLightFollowsCamera(bool follow){m_LightFollowsCamera = follow;};
76 
78  bool GetLightFollowsCamera(){return m_LightFollowsCamera;};
79 
85  virtual HBaseOperator * Clone();
86 
87 private:
88  bool m_LightFollowsCamera;
89 };
90 
91 
92 #ifdef H_PACK_8
93 #pragma pack(pop)
94 #endif
95 
96 #endif
97 
98 
99 
100 
virtual const char * GetName()
bool GetLightFollowsCamera()
Definition: HOpCameraPanTouch.h:78
virtual HBaseOperator * Clone()
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:60
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
virtual int OnTouchesUp(HEventInfo &hevent)
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:207
void SetLightFollowsCamera(bool follow)
Definition: HOpCameraPanTouch.h:75
virtual int OnTouchesDown(HEventInfo &hevent)
The HOpCameraPanTouch class pans the camera about a current view.
Definition: HOpCameraPanTouch.h:30
virtual int OnTouchesMove(HEventInfo &hevent)