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 #ifndef _HIM_UTILITY_H 00011 #define _HIM_UTILITY_H 00012 00013 #ifdef H_PACK_8 00014 #pragma pack(push) 00015 #pragma pack(8) 00016 #endif 00017 00018 #include "HTools.h" 00019 #include "hic_types.h" 00020 00028 class MVO_API HImUtility 00029 { 00030 private: 00031 00032 HImUtility() {}; 00033 00034 public: 00036 static void RegisterCallbacks(); 00037 00043 static void set_clip_rectangle (HIC_Rendition const *nr, HIC_Segment_Info const *si); 00044 00049 static void suppress_3d_geometry(HIC_Rendition const *rendition, HIC_Geometry const *geo3); 00050 00055 static void draw_gradiated_window_background (HIC_Rendition const *rendition, HIC_Int_Rectangle const *extent); 00056 00061 static void draw_annotation_lines(HIC_Rendition const *nr, HIC_Polyline const*poly); 00062 00067 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); 00068 00073 static void draw_dc_polyline_infront (HIC_Rendition const *rendition,int count, HIC_DC_Point const geo3[]); 00074 00079 static void draw_device_independent_line_weights (HIC_Rendition const *rendition,int count, HIC_DC_Point const geo3[]); 00080 00084 static void drawTextInfront (HIC_Rendition const *rendition, HIC_Text_Info const * text_info); 00085 00089 static void visible_hlr_polyline (HIC_Rendition const *rendition,int count, HIC_DC_Point const geo3[]); 00090 00091 }; 00092 00093 00094 00095 #ifdef H_PACK_8 00096 #pragma pack(pop) 00097 #endif 00098 00099 #endif 00100 00101 00102 00103 00104 00105 00106