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 // CreateCuttingPlane.h : interface of the CreateCuttingPlane class 00011 // Creates a CuttingPlane using left mouse down and drag left right 00012 00013 #ifndef _HOPCREATECUTTINGPLANE_H 00014 #define _HOPCREATECUTTINGPLANE_H 00015 00016 #ifdef H_PACK_8 00017 #pragma pack(push) 00018 #pragma pack(8) 00019 #endif 00020 00021 #include "HTools.h" 00022 #include "HOpObjectTranslate.h" 00023 00024 00026 00037 class MVO_API HOpCreateCuttingPlane : public HOpObjectTranslate 00038 { 00039 public: 00046 HOpCreateCuttingPlane (HBaseView* view, int DoRepeat=0, int DoCapture=1); 00047 00051 virtual const char * GetName(); 00052 00060 virtual int OnLButtonDown(HEventInfo &hevent); 00061 00068 virtual int OnLButtonUp(HEventInfo &hevent); 00069 00074 virtual HBaseOperator * Clone(); 00075 00076 private: 00077 void MakeCuttingPlane(float z, float rad); 00078 00079 }; 00080 00081 00082 #ifdef H_PACK_8 00083 #pragma pack(pop) 00084 #endif 00085 00086 #endif 00087 00088 00089 00090 00091 00092