Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCameraPan.h
00001 //
00002 // Copyright (c) 2000 by Tech Soft 3D, LLC.
00003 // The information contained herein is confidential and proprietary to
00004 // Tech Soft 3D, LLC., and considered a trade secret as defined under
00005 // civil and criminal statutes.  Tech Soft 3D shall pursue its civil
00006 // and criminal remedies in the event of unauthorized use or misappropriation
00007 // of its trade secrets.  Use of this information by anyone other than
00008 // authorized employees of Tech Soft 3D, LLC. is granted only under a
00009 // written non-disclosure agreement, expressly prescribing the scope and
00010 // manner of such use.
00011 //
00012 // $Id: 153a7d388a807431d2d6137d7e208079950c3031 $
00013 //
00014 
00015 // HOpCameraPan.h : interface of the HOpCameraPan class
00016 // pans the camera of current view
00017 
00018 #ifndef _HOPCAMERAPAN_H
00019 #define _HOPCAMERAPAN_H  
00020 
00021 #ifdef H_PACK_8
00022 #pragma pack(push)
00023 #pragma pack(8)
00024 #endif
00025 
00026 #include "HTools.h"
00027 #include "HBaseOperator.h"
00028 
00030 
00040 class MVO_API HOpCameraPan : public HBaseOperator
00041 {
00042 public:
00050     HOpCameraPan(HBaseView* view, int DoRepeat=0, int DoCapture=1);
00051     virtual ~HOpCameraPan();
00052 
00056     virtual const char * GetName();  
00057 
00063     virtual int OnLButtonDown (HEventInfo &hevent);
00064 
00072     virtual int OnLButtonDownAndMove(HEventInfo &hevent);
00073 
00079     virtual int OnLButtonUp (HEventInfo &hevent);
00080     
00087     void SetLightFollowsCamera(bool follow){m_LightFollowsCamera = follow;};
00088 
00090     bool GetLightFollowsCamera(){return m_LightFollowsCamera;};
00091 
00097     virtual HBaseOperator * Clone();  
00098 
00099 private:
00100     bool    m_LightFollowsCamera;
00101 };
00102 
00103 
00104 #ifdef H_PACK_8
00105 #pragma pack(pop)
00106 #endif
00107 
00108 #endif
00109 
00110 
00111 
00112