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: 36ef1ed77fe2516fe798d474dc176e85408010b4 $ 00013 // 00014 00015 // HOpCreatePolyline.h : interface of the HOpCreatePolyline class 00016 // 00017 // Draws a polyline in the view plane based on pointer input 00018 // Polyline points are stored in protected member variables and ready after 00019 // OnLButtonDblClk method has been called. 00020 // Derived Classes should call this::OnLButtonDblClk in their overloaded implementation. 00021 // Polyline points are in window space. 00022 00023 00024 #ifndef _HOPCreatePOLYLINE_H 00025 #define _HOPCreatePOLYLINE_H 00026 00027 #ifdef H_PACK_8 00028 #pragma pack(push) 00029 #pragma pack(8) 00030 #endif 00031 00032 #include "HTools.h" 00033 #include "HBaseModel.h" 00034 #include "HBaseView.h" 00035 #include "HBaseOperator.h" 00036 #include "HEventInfo.h" 00037 #include "HOpConstructPolyline.h" 00038 00039 00041 00054 class MVO_API HOpCreatePolyline : public HOpConstructPolyline 00055 { 00056 public: 00064 HOpCreatePolyline(HBaseView* view, int DoRepeat=0, int DoCapture=1); 00065 virtual ~HOpCreatePolyline(); 00066 00072 virtual HBaseOperator * Clone(); 00073 00077 virtual const char * GetName(); 00078 00085 virtual int OnLButtonDblClk(HEventInfo &hevent); 00086 }; 00087 00088 #ifdef H_PACK_8 00089 #pragma pack(pop) 00090 #endif 00091 00092 #endif 00093 00094 00095 00096