Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpMarkupMeasure.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 // HOpMarkupMeasure.h : interface of the HOpMarkupMeasure class
00011 // inserts measurement into the current scene
00012 
00013 #ifndef _HOPMARKUPMEASURE_H
00014 #define _HOPMARKUPMEASURE_H
00015 
00016 #ifdef H_PACK_8
00017 #pragma pack(push)
00018 #pragma pack(8)
00019 #endif
00020 
00021 #include "HTools.h"
00022 #include "HBaseOperator.h"
00023 #include "HUtilityAnnotationMeasure.h"
00024 
00026 
00036 class  MVO_API HOpMarkupMeasure : public HBaseOperator
00037 {
00038 public:
00039     
00042     HOpMarkupMeasure (HBaseView* view, bool AddToLayer = false, int DoRepeat=0, int DoCapture=1);
00043 
00045     virtual ~HOpMarkupMeasure();
00046 
00049     virtual const char * GetName();  
00050 
00056     virtual int OnLButtonDown (HEventInfo &hevent);
00057 
00064     virtual int OnLButtonDownAndMove(HEventInfo &hevent);
00065 
00071     virtual int OnLButtonUp (HEventInfo &hevent);
00072 
00078     virtual int OnRButtonDown (HEventInfo &hevent);
00079 
00085     virtual int OnKeyDown(HEventInfo &hevent);
00086 
00087     virtual HBaseOperator * Clone();  
00088 
00089 protected:
00090 
00093     void StartOp();
00094 
00099     bool EndOp();
00100 
00102     HUtilityAnnotationMeasure m_Annotation;
00103     
00105     int m_iBackgroundType;
00106 
00108     bool m_bAddToLayer;
00109 
00111     bool m_bNewNote;
00112 
00114     bool m_bTouchedText;
00115 
00117     bool m_bHideOverlappedText;
00118 };
00119 
00120 
00121 
00122 #ifdef H_PACK_8
00123 #pragma pack(pop)
00124 #endif
00125 
00126 #endif
00127 
00128 
00129 
00130 
00131 
00132 
00133 
00134 
00135 
00136