Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCameraPanTouch.h
00001 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc.
00002 //
00003 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
00004 // and considered a trade secret as defined under civil and criminal statutes.
00005 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
00006 // unauthorized use or misappropriation of its trade secrets.  Use of this information
00007 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
00008 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
00009 
00010 // HOpCameraPan.h : interface of the HOpCameraPan class
00011 // pans the camera of current view
00012 
00013 #ifndef _HOPCAMERAPANTOUCH_H
00014 #define _HOPCAMERAPANTOUCH_H  
00015 
00016 #ifdef H_PACK_8
00017 #pragma pack(push)
00018 #pragma pack(8)
00019 #endif
00020 
00021 #include "HTools.h"
00022 #include "HBaseOperator.h"
00023 
00025 
00030 class MVO_API HOpCameraPanTouch : public HBaseOperator
00031 {
00032 public:
00040     HOpCameraPanTouch(HBaseView* view, int DoRepeat=0, int DoCapture=1);
00041     virtual ~HOpCameraPanTouch();
00042 
00046     virtual const char * GetName();  
00047 
00053     virtual int OnTouchesDown (HEventInfo &hevent);
00054 
00060     virtual int OnTouchesMove(HEventInfo &hevent);
00061 
00067     virtual int OnTouchesUp (HEventInfo &hevent);
00068     
00075     void SetLightFollowsCamera(bool follow){m_LightFollowsCamera = follow;};
00076 
00078     bool GetLightFollowsCamera(){return m_LightFollowsCamera;};
00079 
00085     virtual HBaseOperator * Clone();  
00086 
00087 private:
00088     bool    m_LightFollowsCamera;
00089 };
00090 
00091 
00092 #ifdef H_PACK_8
00093 #pragma pack(pop)
00094 #endif
00095 
00096 #endif
00097 
00098 
00099 
00100