Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpConstructSphere.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 // HOpConstructSphere.h : interface of the HOpConstructSphere class
00011 // Constructs a sphere using left mouse down and drag
00012 
00013 #ifndef _HOPCONSTRUCTSPHERE_H
00014 #define _HOPCONSTRUCTSPHERE_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 
00024 
00026 
00037 class MVO_API HOpConstructSphere : public HBaseOperator
00038 {
00039 private:
00040     void GenerateLinesThroughSphere();
00041 
00042 protected:
00043     float m_radius;     
00052     void ConstructWireframeSphere (HPoint const & center, float radius);
00053 
00054 public:
00062     HOpConstructSphere (HBaseView* view, int DoRepeat=0, int DoCapture=1);
00063     virtual ~HOpConstructSphere ();
00064 
00068     virtual const char * GetName();  
00069 
00070 
00076     virtual int OnLButtonDown(HEventInfo &hevent);
00077 
00086     virtual int OnLButtonDownAndMove(HEventInfo &hevent);
00087 
00093     virtual int OnLButtonUp(HEventInfo &hevent); 
00094 
00100     virtual HBaseOperator * Clone(); 
00101 };
00102 
00103 #ifdef H_PACK_8
00104 #pragma pack(pop)
00105 #endif
00106 
00107 #endif
00108 
00109 
00110