Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpMarkupMeasure.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 // $Id: 8e42d85b3da6d7e656e6542f95fef8807475f338 $
00013 //
00014 
00015 // HOpMarkupMeasure.h : interface of the HOpMarkupMeasure class
00016 // inserts measurement into the current scene
00017 
00018 #ifndef _HOPMARKUPMEASURE_H
00019 #define _HOPMARKUPMEASURE_H
00020 
00021 #ifdef H_PACK_8
00022 #pragma pack(push)
00023 #pragma pack(8)
00024 #endif
00025 
00026 #include "HTools.h"
00027 #include "HBaseOperator.h"
00028 #include "HUtilityAnnotationMeasure.h"
00029 
00031 
00041 class  MVO_API HOpMarkupMeasure : public HBaseOperator
00042 {
00043 public:
00044     
00047     HOpMarkupMeasure (HBaseView* view, bool AddToLayer = false, int DoRepeat=0, int DoCapture=1);
00048 
00050     virtual ~HOpMarkupMeasure();
00051 
00054     virtual const char * GetName();  
00055 
00061     virtual int OnLButtonDown (HEventInfo &hevent);
00062 
00069     virtual int OnLButtonDownAndMove(HEventInfo &hevent);
00070 
00076     virtual int OnLButtonUp (HEventInfo &hevent);
00077 
00083     virtual int OnRButtonDown (HEventInfo &hevent);
00084 
00090     virtual int OnKeyDown(HEventInfo &hevent);
00091 
00092     virtual HBaseOperator * Clone();  
00093 
00094 protected:
00095 
00098     void StartOp();
00099 
00104     bool EndOp();
00105 
00107     HUtilityAnnotationMeasure m_Annotation;
00108     
00110     int m_iBackgroundType;
00111 
00113     bool m_bAddToLayer;
00114 
00116     bool m_bNewNote;
00117 
00119     bool m_bTouchedText;
00120 
00122     bool m_bHideOverlappedText;
00123 };
00124 
00125 
00126 
00127 #ifdef H_PACK_8
00128 #pragma pack(pop)
00129 #endif
00130 
00131 #endif
00132 
00133 
00134 
00135 
00136 
00137 
00138 
00139 
00140 
00141