Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpCreateRectangle.h
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 // HOpCreateRectangle.h : interface of the HOpCreateion class
00011 // draws a 2D box in view port based on pointer first position and last position
00012 // Derived classes access the Points for the rectangle in HBaseOperator members
00013 // m_ptFirst and m_ptLast; Points are stored in window space.
00014 
00015 #ifndef _HOPCREATERECTANGLE_H
00016 #define _HOPCREATERECTANGLE_H
00017 
00018 #ifdef H_PACK_8
00019 #pragma pack(push)
00020 #pragma pack(8)
00021 #endif
00022 
00023 #include "HTools.h"
00024 #include "HOpConstructRectangle.h"
00025 
00027 
00038 class MVO_API HOpCreateRectangle : public HOpConstructRectangle
00039 {
00040 public:
00049     HOpCreateRectangle(HBaseView* view, int DoRepeat=0, int DoCapture=1, bool UseCenterMarker=true);
00050     virtual ~HOpCreateRectangle();
00051 
00055     virtual const char * GetName();  
00056 
00062     virtual HBaseOperator * Clone(); 
00063      
00069     virtual int OnLButtonUp(HEventInfo &hevent); 
00070 };
00071 
00072 #ifdef H_PACK_8
00073 #pragma pack(pop)
00074 #endif
00075 
00076 #endif
00077 
00078 
00079