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$ 00013 // 00014 00015 00016 00017 #ifndef _HIM_UTILITY_H 00018 #define _HIM_UTILITY_H 00019 00020 #ifdef H_PACK_8 00021 #pragma pack(push) 00022 #pragma pack(8) 00023 #endif 00024 00025 #include "HTools.h" 00026 #include "hic_types.h" 00027 00035 class MVO_API HImUtility 00036 { 00037 private: 00038 00039 HImUtility() {}; 00040 00041 public: 00043 static void RegisterCallbacks(); 00044 00050 static void set_clip_rectangle (HIC_Rendition const *nr, HIC_Segment_Info const *si); 00051 00056 static void suppress_3d_geometry(HIC_Rendition const *rendition, HIC_Geometry const *geo3); 00057 00062 static void draw_gradiated_window_background (HIC_Rendition const *rendition, HIC_Int_Rectangle const *extent); 00063 00068 static void draw_annotation_lines(HIC_Rendition const *nr, HIC_Polyline const*poly); 00069 00074 static void draw_segment_in_background(HIC_Rendition const *nr, HIC_DC_Point const *points, HIC_RGBA const *colors, HIC_Plane const *planes, HIC_Parameter const *params, HIC_Integer32 param_width, HIC_Parameter_Flags param_flags); 00075 00080 static void draw_dc_polyline_infront (HIC_Rendition const *rendition,int count, HIC_DC_Point const * geo3); 00081 00086 static void draw_device_independent_line_weights (HIC_Rendition const *rendition,int count, HIC_DC_Point const * geo3); 00087 00091 static void drawTextInfront (HIC_Rendition const *rendition, HIC_Text_Info const * text_info); 00092 00096 static void visible_hlr_polyline (HIC_Rendition const *rendition,int count, HIC_DC_Point const* geo3); 00097 00098 }; 00099 00100 00101 00102 #ifdef H_PACK_8 00103 #pragma pack(pop) 00104 #endif 00105 00106 #endif 00107 00108 00109 00110 00111 00112 00113