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 // HOpCreatePolyline.h : interface of the HOpCreatePolyline class 00011 // 00012 // Draws a polyline in the view plane based on pointer input 00013 // Polyline points are stored in protected member variables and ready after 00014 // OnLButtonDblClk method has been called. 00015 // Derived Classes should call this::OnLButtonDblClk in their overloaded implementation. 00016 // Polyline points are in window space. 00017 00018 00019 #ifndef _HOPCreatePOLYLINE_H 00020 #define _HOPCreatePOLYLINE_H 00021 00022 #ifdef H_PACK_8 00023 #pragma pack(push) 00024 #pragma pack(8) 00025 #endif 00026 00027 #include "HTools.h" 00028 #include "HBaseModel.h" 00029 #include "HBaseView.h" 00030 #include "HBaseOperator.h" 00031 #include "HEventInfo.h" 00032 #include "HOpConstructPolyline.h" 00033 00034 00036 00049 class MVO_API HOpCreatePolyline : public HOpConstructPolyline 00050 { 00051 public: 00059 HOpCreatePolyline(HBaseView* view, int DoRepeat=0, int DoCapture=1); 00060 virtual ~HOpCreatePolyline(); 00061 00067 virtual HBaseOperator * Clone(); 00068 00072 virtual const char * GetName(); 00073 00080 virtual int OnLButtonDblClk(HEventInfo &hevent); 00081 }; 00082 00083 #ifdef H_PACK_8 00084 #pragma pack(pop) 00085 #endif 00086 00087 #endif 00088 00089 00090 00091