Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCameraManipulateTouch.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: 3119c1f811db83bc688d7d844e8de2bd69bd707a $
13 //
14 
15 // HOpCameraManipulateTouch.h : interface of the HOpCameraManipulateTouch class
16 // Manipulates the camera of current view usual a virtual trackball
17 // interface
18 
19 #ifndef _HOpCameraManipulateTouch_H
20 #define _HOpCameraManipulateTouch_H
21 
22 #ifdef H_PACK_8
23 #pragma pack(push)
24 #pragma pack(8)
25 #endif
26 
27 #include "HTools.h"
28 #include "HBaseOperator.h"
30 class HOpCameraOrbit;
31 class HOpCameraPan;
32 class HOpCameraZoom;
33 class HTClient;
34 class HEventInfo;
36 
44 {
45 public:
57  HOpCameraManipulateTouch (HBaseView* view, int DoRepeat=0, int DoCapture=1, HBaseOperator *orbit = 0, HBaseOperator *pan = 0, HBaseOperator *zoom = 0, HBaseOperator *roll = 0);
58  virtual ~HOpCameraManipulateTouch();
59 
61  virtual const char * GetName();
62 
63 
69  virtual int OnTouchesDown (HEventInfo &hevent);
70 
71 
77  virtual int OnTouchesMove(HEventInfo &hevent);
78 
79 
80 
86  virtual int OnTouchesUp (HEventInfo &hevent);
87 
88 
94  virtual HBaseOperator * Clone();
95 
96  virtual bool OperatorStarted( void );
97 
98 
99 
100 
101 protected:
102 
103 
109 private:
110  HEventInfo *m_LastEvent;
111  float m_time;
112 
113 };
114 
115 #ifdef H_PACK_8
116 #pragma pack(pop)
117 #endif
118 
119 #endif
120 
121 
122 
123 
virtual const char * GetName()
virtual bool OperatorStarted()
Operator has been started if true, and has not been started if false.
Definition: HBaseOperator.h:111
The HOpCameraOrbit class provides interactive orbiting of the camera around a scene.
Definition: HOpCameraOrbit.h:44
Definition: HTManager.h:162
virtual HBaseOperator * Clone()
HBaseOperator * m_pZoomOperator
Definition: HOpCameraManipulateTouch.h:106
HBaseOperator * m_pOrbitOperator
Definition: HOpCameraManipulateTouch.h:104
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 HOpCameraRelativeOrbit class provides interactive orbiting of the camera around elements in the s...
Definition: HOpCameraRelativeOrbit.h:43
virtual int OnTouchesUp(HEventInfo &hevent)
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
HBaseOperator * m_pPanOperator
Definition: HOpCameraManipulateTouch.h:105
virtual int OnTouchesDown(HEventInfo &hevent)
virtual int OnTouchesMove(HEventInfo &hevent)
HBaseOperator * m_pRollOperator
Definition: HOpCameraManipulateTouch.h:107
The HOpCameraZoom class zooms the camera toward a target.
Definition: HOpCameraZoom.h:41
The HOpCameraPan class pans the camera about a current view.
Definition: HOpCameraPan.h:40
The HOpCameraManipulateTouch class combines the touch versions of the Orbit, Pan and Zoom Operators...
Definition: HOpCameraManipulateTouch.h:43