Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCameraPan.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: 153a7d388a807431d2d6137d7e208079950c3031 $
13 //
14 
15 // HOpCameraPan.h : interface of the HOpCameraPan class
16 // pans the camera of current view
17 
18 #ifndef _HOPCAMERAPAN_H
19 #define _HOPCAMERAPAN_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 
40 class MVO_API HOpCameraPan : public HBaseOperator
41 {
42 public:
50  HOpCameraPan(HBaseView* view, int DoRepeat=0, int DoCapture=1);
51  virtual ~HOpCameraPan();
52 
56  virtual const char * GetName();
57 
63  virtual int OnLButtonDown (HEventInfo &hevent);
64 
72  virtual int OnLButtonDownAndMove(HEventInfo &hevent);
73 
79  virtual int OnLButtonUp (HEventInfo &hevent);
80 
87  void SetLightFollowsCamera(bool follow){m_LightFollowsCamera = follow;};
88 
90  bool GetLightFollowsCamera(){return m_LightFollowsCamera;};
91 
97  virtual HBaseOperator * Clone();
98 
99 private:
100  bool m_LightFollowsCamera;
101 };
102 
103 
104 #ifdef H_PACK_8
105 #pragma pack(pop)
106 #endif
107 
108 #endif
109 
110 
111 
112 
virtual int OnLButtonDownAndMove(HEventInfo &hevent)
virtual const char * GetName()
virtual int OnLButtonUp(HEventInfo &hevent)
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
bool GetLightFollowsCamera()
Definition: HOpCameraPan.h:90
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
virtual int OnLButtonDown(HEventInfo &hevent)
void SetLightFollowsCamera(bool follow)
Definition: HOpCameraPan.h:87
The HOpCameraPan class pans the camera about a current view.
Definition: HOpCameraPan.h:40