Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCreateRectangle.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 // HOpCreateRectangle.h : interface of the HOpCreateion class
00013 // draws a 2D box in view port based on pointer first position and last position
00014 // Derived classes access the Points for the rectangle in HBaseOperator members
00015 // m_ptFirst and m_ptLast; Points are stored in window space.
00016 
00017 
00018 #ifndef _HOPCREATERECTANGLE_H
00019 #define _HOPCREATERECTANGLE_H
00020 
00021 #ifdef H_PACK_8
00022 #pragma pack(push)
00023 #pragma pack(8)
00024 #endif
00025 
00026 #include "HTools.h"
00027 #include "HOpConstructRectangle.h"
00028 
00030 
00041 class MVO_API HOpCreateRectangle : public HOpConstructRectangle
00042 {
00043 public:
00052     HOpCreateRectangle(HBaseView* view, int DoRepeat=0, int DoCapture=1, bool UseCenterMarker=true);
00053     virtual ~HOpCreateRectangle();
00054 
00058     virtual const char * GetName();  
00059 
00065     virtual HBaseOperator * Clone(); 
00066      
00072     virtual int OnLButtonUp(HEventInfo &hevent); 
00073 };
00074 
00075 #ifdef H_PACK_8
00076 #pragma pack(pop)
00077 #endif
00078 
00079 #endif
00080 
00081 
00082