Changeset 3519 in Sophya for trunk/SophyaPI
- Timestamp:
- Sep 11, 2008, 2:43:55 PM (17 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 2 added
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/Makefile
r3404 r3519 4 4 5 5 clean: 6 rm -f $(SOPHYAOBJP)lut.o $(SOPHYAOBJP)parradapter.o $(SOPHYAOBJP)pi3ddrw.o $(SOPHYAOBJP)pi3dwdg.o $(SOPHYAOBJP)piapplgen.o $(SOPHYAOBJP)piapplx.o $(SOPHYAOBJP)piaxes.o $(SOPHYAOBJP)piaxestools.o $(SOPHYAOBJP)pibargraph.o $(SOPHYAOBJP)pibwdggen.o $(SOPHYAOBJP)pibwdgx.o $(SOPHYAOBJP)picmap.o $(SOPHYAOBJP)picmapgen.o $(SOPHYAOBJP)picmapview.o $(SOPHYAOBJP)picmapx.o $(SOPHYAOBJP)picons.o $(SOPHYAOBJP)picontainergen.o $(SOPHYAOBJP)picontainerx.o $(SOPHYAOBJP)pidrawer.o $(SOPHYAOBJP)pidrawwin.o $(SOPHYAOBJP)pidrwtools.o $(SOPHYAOBJP)pieldrw.o $(SOPHYAOBJP)pierrdisp.o $(SOPHYAOBJP)pievthandler.o $(SOPHYAOBJP)pifilechogen.o $(SOPHYAOBJP)pifilechox.o $(SOPHYAOBJP)pifontgen.o $(SOPHYAOBJP)pifontx.o $(SOPHYAOBJP)pigraph3d.o $(SOPHYAOBJP)pigraphgen.o $(SOPHYAOBJP)pigraphps.o $(SOPHYAOBJP)pigraphuc.o $(SOPHYAOBJP)pigraphx.o $(SOPHYAOBJP)pigratt.o $(SOPHYAOBJP)pigrcoord.o $(SOPHYAOBJP)piimage.o $(SOPHYAOBJP)piimgtools.o $(SOPHYAOBJP)pilineatt.o $(SOPHYAOBJP)pilistgen.o $(SOPHYAOBJP)pilistx.o $(SOPHYAOBJP)pimenubargen.o $(SOPHYAOBJP)pimenubarx.o $(SOPHYAOBJP)pimenugen.o $(SOPHYAOBJP)pimenux.o $(SOPHYAOBJP)pimsghandler.o $(SOPHYAOBJP)pioptmenugen.o $(SOPHYAOBJP)pioptmenux.o $(SOPHYAOBJP)piperiodx.o $(SOPHYAOBJP)pipixmapgen.o $(SOPHYAOBJP)pipixmapx.o $(SOPHYAOBJP)pip plist.o $(SOPHYAOBJP)pippmenubar.o $(SOPHYAOBJP)pippoptmenu.o $(SOPHYAOBJP)pippviewadapter.o $(SOPHYAOBJP)piscdrawwdg.o $(SOPHYAOBJP)pistdwdggen.o $(SOPHYAOBJP)pistdwdgx.o $(SOPHYAOBJP)pistzwin.o $(SOPHYAOBJP)pisurfdr.o $(SOPHYAOBJP)pitherm.o $(SOPHYAOBJP)pitxtdrw.o $(SOPHYAOBJP)piup.o $(SOPHYAOBJP)piup_def.o $(SOPHYAOBJP)piupdattachment.o $(SOPHYAOBJP)piwdggen.o $(SOPHYAOBJP)piwdgx.o $(SOPHYAOBJP)piwindowgen.o $(SOPHYAOBJP)piwindowx.o $(SOPHYAOBJP)pixtbase.o $(SOPHYAOBJP)piyfxdrw.o $(SOPHYAOBJP)psfile.o $(SOPHYAOBJP)xdispim.o6 rm -f $(SOPHYAOBJP)lut.o $(SOPHYAOBJP)parradapter.o $(SOPHYAOBJP)pi3ddrw.o $(SOPHYAOBJP)pi3dwdg.o $(SOPHYAOBJP)piapplgen.o $(SOPHYAOBJP)piapplx.o $(SOPHYAOBJP)piaxes.o $(SOPHYAOBJP)piaxestools.o $(SOPHYAOBJP)pibargraph.o $(SOPHYAOBJP)pibwdggen.o $(SOPHYAOBJP)pibwdgx.o $(SOPHYAOBJP)picmap.o $(SOPHYAOBJP)picmapgen.o $(SOPHYAOBJP)picmapview.o $(SOPHYAOBJP)picmapx.o $(SOPHYAOBJP)picons.o $(SOPHYAOBJP)picontainergen.o $(SOPHYAOBJP)picontainerx.o $(SOPHYAOBJP)pidrawer.o $(SOPHYAOBJP)pidrawwin.o $(SOPHYAOBJP)pidrwtools.o $(SOPHYAOBJP)pieldrw.o $(SOPHYAOBJP)pierrdisp.o $(SOPHYAOBJP)pievthandler.o $(SOPHYAOBJP)pifilechogen.o $(SOPHYAOBJP)pifilechox.o $(SOPHYAOBJP)pifontgen.o $(SOPHYAOBJP)pifontx.o $(SOPHYAOBJP)pigraph3d.o $(SOPHYAOBJP)pigraphgen.o $(SOPHYAOBJP)pigraphps.o $(SOPHYAOBJP)pigraphuc.o $(SOPHYAOBJP)pigraphx.o $(SOPHYAOBJP)pigratt.o $(SOPHYAOBJP)pigrcoord.o $(SOPHYAOBJP)piimage.o $(SOPHYAOBJP)piimgtools.o $(SOPHYAOBJP)pilineatt.o $(SOPHYAOBJP)pilistgen.o $(SOPHYAOBJP)pilistx.o $(SOPHYAOBJP)pimenubargen.o $(SOPHYAOBJP)pimenubarx.o $(SOPHYAOBJP)pimenugen.o $(SOPHYAOBJP)pimenux.o $(SOPHYAOBJP)pimsghandler.o $(SOPHYAOBJP)pioptmenugen.o $(SOPHYAOBJP)pioptmenux.o $(SOPHYAOBJP)piperiodx.o $(SOPHYAOBJP)pipixmapgen.o $(SOPHYAOBJP)pipixmapx.o $(SOPHYAOBJP)pipixutils.o $(SOPHYAOBJP)pipplist.o $(SOPHYAOBJP)pippmenubar.o $(SOPHYAOBJP)pippoptmenu.o $(SOPHYAOBJP)pippviewadapter.o $(SOPHYAOBJP)piscdrawwdg.o $(SOPHYAOBJP)pistdwdggen.o $(SOPHYAOBJP)pistdwdgx.o $(SOPHYAOBJP)pistzwin.o $(SOPHYAOBJP)pisurfdr.o $(SOPHYAOBJP)pitherm.o $(SOPHYAOBJP)pitxtdrw.o $(SOPHYAOBJP)piup.o $(SOPHYAOBJP)piup_def.o $(SOPHYAOBJP)piupdattachment.o $(SOPHYAOBJP)piwdggen.o $(SOPHYAOBJP)piwdgx.o $(SOPHYAOBJP)piwindowgen.o $(SOPHYAOBJP)piwindowx.o $(SOPHYAOBJP)pixtbase.o $(SOPHYAOBJP)piyfxdrw.o $(SOPHYAOBJP)psfile.o $(SOPHYAOBJP)xdispim.o 7 7 rm -f $(SOPHYALIBP)libPI.a 8 8 9 $(SOPHYALIBP)libPI.a : $(SOPHYAOBJP)lut.o $(SOPHYAOBJP)parradapter.o $(SOPHYAOBJP)pi3ddrw.o $(SOPHYAOBJP)pi3dwdg.o $(SOPHYAOBJP)piapplgen.o $(SOPHYAOBJP)piapplx.o $(SOPHYAOBJP)piaxes.o $(SOPHYAOBJP)piaxestools.o $(SOPHYAOBJP)pibargraph.o $(SOPHYAOBJP)pibwdggen.o $(SOPHYAOBJP)pibwdgx.o $(SOPHYAOBJP)picmap.o $(SOPHYAOBJP)picmapgen.o $(SOPHYAOBJP)picmapview.o $(SOPHYAOBJP)picmapx.o $(SOPHYAOBJP)picons.o $(SOPHYAOBJP)picontainergen.o $(SOPHYAOBJP)picontainerx.o $(SOPHYAOBJP)pidrawer.o $(SOPHYAOBJP)pidrawwin.o $(SOPHYAOBJP)pidrwtools.o $(SOPHYAOBJP)pieldrw.o $(SOPHYAOBJP)pievthandler.o $(SOPHYAOBJP)pifilechogen.o $(SOPHYAOBJP)pifilechox.o $(SOPHYAOBJP)pifontgen.o $(SOPHYAOBJP)pifontx.o $(SOPHYAOBJP)pigraph3d.o $(SOPHYAOBJP)pigraphgen.o $(SOPHYAOBJP)pigraphps.o $(SOPHYAOBJP)pigraphuc.o $(SOPHYAOBJP)pigraphx.o $(SOPHYAOBJP)pigratt.o $(SOPHYAOBJP)pigrcoord.o $(SOPHYAOBJP)piimage.o $(SOPHYAOBJP)piimgtools.o $(SOPHYAOBJP)pilineatt.o $(SOPHYAOBJP)pilistgen.o $(SOPHYAOBJP)pilistx.o $(SOPHYAOBJP)pimenubargen.o $(SOPHYAOBJP)pimenubarx.o $(SOPHYAOBJP)pimenugen.o $(SOPHYAOBJP)pimenux.o $(SOPHYAOBJP)pimsghandler.o $(SOPHYAOBJP)pioptmenugen.o $(SOPHYAOBJP)pioptmenux.o $(SOPHYAOBJP)piperiodx.o $(SOPHYAOBJP)pipixmapgen.o $(SOPHYAOBJP)pipixmapx.o $(SOPHYAOBJP)pi scdrawwdg.o $(SOPHYAOBJP)pistdwdggen.o $(SOPHYAOBJP)pistdwdgx.o $(SOPHYAOBJP)pistzwin.o $(SOPHYAOBJP)pisurfdr.o $(SOPHYAOBJP)pitherm.o $(SOPHYAOBJP)pitxtdrw.o $(SOPHYAOBJP)piwdggen.o $(SOPHYAOBJP)piwdgx.o $(SOPHYAOBJP)piwindowgen.o $(SOPHYAOBJP)piwindowx.o $(SOPHYAOBJP)pixtbase.o $(SOPHYAOBJP)piyfxdrw.o $(SOPHYAOBJP)psfile.o9 $(SOPHYALIBP)libPI.a : $(SOPHYAOBJP)lut.o $(SOPHYAOBJP)parradapter.o $(SOPHYAOBJP)pi3ddrw.o $(SOPHYAOBJP)pi3dwdg.o $(SOPHYAOBJP)piapplgen.o $(SOPHYAOBJP)piapplx.o $(SOPHYAOBJP)piaxes.o $(SOPHYAOBJP)piaxestools.o $(SOPHYAOBJP)pibargraph.o $(SOPHYAOBJP)pibwdggen.o $(SOPHYAOBJP)pibwdgx.o $(SOPHYAOBJP)picmap.o $(SOPHYAOBJP)picmapgen.o $(SOPHYAOBJP)picmapview.o $(SOPHYAOBJP)picmapx.o $(SOPHYAOBJP)picons.o $(SOPHYAOBJP)picontainergen.o $(SOPHYAOBJP)picontainerx.o $(SOPHYAOBJP)pidrawer.o $(SOPHYAOBJP)pidrawwin.o $(SOPHYAOBJP)pidrwtools.o $(SOPHYAOBJP)pieldrw.o $(SOPHYAOBJP)pievthandler.o $(SOPHYAOBJP)pifilechogen.o $(SOPHYAOBJP)pifilechox.o $(SOPHYAOBJP)pifontgen.o $(SOPHYAOBJP)pifontx.o $(SOPHYAOBJP)pigraph3d.o $(SOPHYAOBJP)pigraphgen.o $(SOPHYAOBJP)pigraphps.o $(SOPHYAOBJP)pigraphuc.o $(SOPHYAOBJP)pigraphx.o $(SOPHYAOBJP)pigratt.o $(SOPHYAOBJP)pigrcoord.o $(SOPHYAOBJP)piimage.o $(SOPHYAOBJP)piimgtools.o $(SOPHYAOBJP)pilineatt.o $(SOPHYAOBJP)pilistgen.o $(SOPHYAOBJP)pilistx.o $(SOPHYAOBJP)pimenubargen.o $(SOPHYAOBJP)pimenubarx.o $(SOPHYAOBJP)pimenugen.o $(SOPHYAOBJP)pimenux.o $(SOPHYAOBJP)pimsghandler.o $(SOPHYAOBJP)pioptmenugen.o $(SOPHYAOBJP)pioptmenux.o $(SOPHYAOBJP)piperiodx.o $(SOPHYAOBJP)pipixmapgen.o $(SOPHYAOBJP)pipixmapx.o $(SOPHYAOBJP)pipixutils.o $(SOPHYAOBJP)piscdrawwdg.o $(SOPHYAOBJP)pistdwdggen.o $(SOPHYAOBJP)pistdwdgx.o $(SOPHYAOBJP)pistzwin.o $(SOPHYAOBJP)pisurfdr.o $(SOPHYAOBJP)pitherm.o $(SOPHYAOBJP)pitxtdrw.o $(SOPHYAOBJP)piwdggen.o $(SOPHYAOBJP)piwdgx.o $(SOPHYAOBJP)piwindowgen.o $(SOPHYAOBJP)piwindowx.o $(SOPHYAOBJP)pixtbase.o $(SOPHYAOBJP)piyfxdrw.o $(SOPHYAOBJP)psfile.o 10 10 $(AR) $(ARFLAGS) $@ $? 11 11 touch $(SOPHYAINCP)/SophyaConfInfo/libPI.objlist 12 12 13 13 $(SOPHYAOBJP)lut.o: lut.cc $(SOPHYAINCP)sopnamsp.h \ 14 $(SOPHYAINCP)machdefs.h lut.h 14 $(SOPHYAINCP)machdefs.h \ 15 $(SOPHYAINCP)osx_values.h lut.h 15 16 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ lut.cc 16 17 17 $(SOPHYAOBJP)parradapter.o: parradapter.cc \18 $(SOPHYAINCP) sopnamsp.h parradapter.h \19 $(SOPHYAINCP) machdefs.h lut.h18 $(SOPHYAOBJP)parradapter.o: parradapter.cc $(SOPHYAINCP)sopnamsp.h \ 19 $(SOPHYAINCP)nbtri.h $(SOPHYAINCP)machdefs.h \ 20 $(SOPHYAINCP)osx_values.h parradapter.h lut.h pipixutils.h 20 21 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ parradapter.cc 21 22 22 $(SOPHYAOBJP)pi3ddrw.o: pi3ddrw.cc $(SOPHYAINCP)sopnamsp.h \ 23 pi3ddrw.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 24 pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 25 picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \ 26 pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \ 27 pigratt.h piaxes.h pieldrw.h pigraph3d.h 23 $(SOPHYAOBJP)pi3ddrw.o: pi3ddrw.cc $(SOPHYAINCP)sopnamsp.h pi3ddrw.h \ 24 pisysdep.h $(SOPHYAINCP)machdefs.h \ 25 $(SOPHYAINCP)osx_values.h pidrawer.h pibwdggen.h piwdgx.h \ 26 piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \ 27 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 28 pipixutils.h pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h \ 29 pieldrw.h pigraph3d.h 28 30 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pi3ddrw.cc 29 31 30 $(SOPHYAOBJP)pi3dwdg.o: pi3dwdg.cc $(SOPHYAINCP)sopnamsp.h \ 31 pi3dwdg.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 32 pi3ddrw.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \ 33 picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \ 34 pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \ 35 pievthandler.h psfile.h pigratt.h piaxes.h pieldrw.h pigraph3d.h \ 36 pibwdgx.h pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \ 37 pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h piwindowgen.h \ 38 picontainerx.h picontainergen.h piapplx.h piapplgen.h pimenubarx.h \ 39 pimenubargen.h picons.h 32 $(SOPHYAOBJP)pi3dwdg.o: pi3dwdg.cc $(SOPHYAINCP)sopnamsp.h pi3dwdg.h \ 33 pisysdep.h $(SOPHYAINCP)machdefs.h \ 34 $(SOPHYAINCP)osx_values.h pi3ddrw.h pidrawer.h pibwdggen.h \ 35 piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \ 36 picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \ 37 pilineatt.h pipixutils.h pigraphuc.h pievthandler.h psfile.h pigratt.h \ 38 piaxes.h pieldrw.h pigraph3d.h pibwdgx.h pigraphps.h pidrwtools.h \ 39 pistdwdgx.h pistdwdggen.h pimenux.h pimenugen.h pioptmenux.h \ 40 pioptmenugen.h piwindowx.h piwindowgen.h picontainerx.h \ 41 picontainergen.h piapplx.h piapplgen.h pimenubarx.h pimenubargen.h \ 42 piconsenum.h 40 43 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pi3dwdg.cc 41 44 42 45 $(SOPHYAOBJP)piapplgen.o: piapplgen.cc $(SOPHYAINCP)sopnamsp.h \ 43 piapplgen.h pimsghandler.h \ 44 $(SOPHYAINCP)machdefs.h pisysdep.h \ 45 picontainerx.h picontainergen.h piwdgx.h piwdggen.h picolist.h \ 46 pimenubarx.h pimenubargen.h pimenux.h pimenugen.h picons.h pistdwdgx.h \ 46 piapplgen.h pimsghandler.h $(SOPHYAINCP)machdefs.h \ 47 $(SOPHYAINCP)osx_values.h pisysdep.h picontainerx.h \ 48 picontainergen.h piwdgx.h piwdggen.h picolist.h pimenubarx.h \ 49 pimenubargen.h pimenux.h pimenugen.h piconsenum.h 50 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piapplgen.cc 51 52 $(SOPHYAOBJP)piapplx.o: piapplx.cc /sw/include/Xm/Xm.h /sw/include/Xm/XmStrDefs.h \ 53 /sw/include/Xm/VirtKeys.h /sw/include/Xm/Transfer.h \ 54 /sw/include/Xm/DragDrop.h /sw/include/Xm/DragC.h \ 55 /sw/include/Xm/Display.h /sw/include/Xm/DropSMgr.h \ 56 /sw/include/Xm/DragIcon.h /sw/include/Xm/DropTrans.h \ 57 /sw/include/Xm/DragOverS.h /sw/include/Xm/Primitive.h \ 58 /sw/include/Xm/Manager.h /sw/include/Xm/Gadget.h \ 59 /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h \ 60 $(SOPHYAINCP)sopnamsp.h piapplx.h piapplgen.h \ 61 pimsghandler.h $(SOPHYAINCP)machdefs.h \ 62 $(SOPHYAINCP)osx_values.h pisysdep.h picontainerx.h \ 63 picontainergen.h piwdgx.h piwdggen.h picolist.h pimenubarx.h \ 64 pimenubargen.h pimenux.h pimenugen.h piconsenum.h picons.h pistdwdgx.h \ 47 65 pistdwdggen.h pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h \ 48 66 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 49 pigraphuc.h pievthandler.h psfile.h pigraphps.h 50 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piapplgen.cc 51 52 $(SOPHYAOBJP)piapplx.o: piapplx.cc $(SOPHYAINCP)sopnamsp.h \ 53 piapplx.h piapplgen.h pimsghandler.h \ 54 $(SOPHYAINCP)machdefs.h pisysdep.h \ 55 picontainerx.h picontainergen.h piwdgx.h piwdggen.h picolist.h \ 56 pimenubarx.h pimenubargen.h pimenux.h pimenugen.h picons.h pistdwdgx.h \ 57 pistdwdggen.h pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h \ 58 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 59 pigraphuc.h pievthandler.h psfile.h pigraphps.h 67 pipixutils.h pigraphuc.h pievthandler.h psfile.h pigraphps.h 60 68 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piapplx.cc 61 69 62 70 $(SOPHYAOBJP)piaxes.o: piaxes.cc $(SOPHYAINCP)sopnamsp.h \ 63 $(SOPHYAINCP)machdefs.h piaxes.h pigraphuc.h \ 64 pisysdep.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 65 picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \ 66 pilineatt.h pigratt.h 71 $(SOPHYAINCP)machdefs.h \ 72 $(SOPHYAINCP)osx_values.h piaxes.h pigraphuc.h pisysdep.h \ 73 pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 74 picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 75 pipixutils.h pigratt.h 67 76 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piaxes.cc 68 77 69 $(SOPHYAOBJP)piaxestools.o: piaxestools.cc \70 $(SOPHYAINCP)sopnamsp.h piaxes.h pigraphuc.h \71 pisysdep.h $(SOPHYAINCP)machdefs.h pigraphgen.h \72 pi wdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \73 pi cmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigratt.h \78 $(SOPHYAOBJP)piaxestools.o: piaxestools.cc $(SOPHYAINCP)sopnamsp.h \ 79 piaxes.h pigraphuc.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 80 $(SOPHYAINCP)osx_values.h pigraphgen.h piwdgx.h piwdggen.h \ 81 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pifontx.h \ 82 pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigratt.h \ 74 83 piaxestools.h pistdwdgx.h pistdwdggen.h pioptmenux.h pioptmenugen.h \ 75 84 pimenux.h pimenugen.h piwindowx.h piwindowgen.h picontainerx.h \ 76 85 picontainergen.h piapplx.h piapplgen.h pimenubarx.h pimenubargen.h \ 77 picons .h pibwdgx.h pibwdggen.h pigraphx.h pievthandler.h psfile.h \78 pi graphps.h piscdrawwdg.h pidrawer.h pieldrw.h86 piconsenum.h piscdrawwdg.h pibwdgx.h pibwdggen.h pigraphx.h \ 87 pievthandler.h psfile.h pigraphps.h pidrawer.h pieldrw.h 79 88 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piaxestools.cc 80 89 81 $(SOPHYAOBJP)pibargraph.o: pibargraph.cc \82 $(SOPHYAINCP) sopnamsp.h \83 $(SOPHYAINCP) machdefs.h pibargraph.h pisysdep.h \90 $(SOPHYAOBJP)pibargraph.o: pibargraph.cc $(SOPHYAINCP)sopnamsp.h \ 91 $(SOPHYAINCP)machdefs.h \ 92 $(SOPHYAINCP)osx_values.h pibargraph.h pisysdep.h \ 84 93 pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 85 94 picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \ 86 pifontgen.h pigrcoord.h pilineatt.h pi graphuc.h pievthandler.h psfile.h \87 pi gratt.h piaxes.h95 pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \ 96 pievthandler.h psfile.h pigratt.h piaxes.h 88 97 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pibargraph.cc 89 98 90 99 $(SOPHYAOBJP)pibwdggen.o: pibwdggen.cc $(SOPHYAINCP)sopnamsp.h \ 91 100 pibwdggen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 92 piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \ 93 picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \ 94 pilineatt.h pigraphuc.h pievthandler.h psfile.h pidrawer.h pigratt.h \ 95 piaxes.h pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \ 101 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 102 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h \ 103 pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \ 104 pigraphuc.h pievthandler.h psfile.h pidrawer.h pigratt.h piaxes.h \ 105 pigraphps.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h \ 96 106 pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h piwindowgen.h \ 97 107 picontainerx.h picontainergen.h piapplx.h piapplgen.h pimenubarx.h \ 98 pimenubargen.h picons .h pibwdgx.h108 pimenubargen.h piconsenum.h 99 109 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pibwdggen.cc 100 110 101 $(SOPHYAOBJP)pibwdgx.o: pibwdgx.cc $(SOPHYAINCP)sopnamsp.h \102 pi xtbaseP.h pibwdgx.h pisysdep.h \103 $(SOPHYAINCP) machdefs.h pibwdggen.h piwdgx.h \104 pi wdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \105 pigraph x.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \111 $(SOPHYAOBJP)pibwdgx.o: pibwdgx.cc $(SOPHYAINCP)sopnamsp.h pixtbaseP.h \ 112 pibwdgx.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 113 $(SOPHYAINCP)osx_values.h pibwdggen.h piwdgx.h piwdggen.h \ 114 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h \ 115 pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \ 106 116 pigraphuc.h pievthandler.h psfile.h pigraphps.h pixtbase.h 107 117 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pibwdgx.cc 108 118 109 $(SOPHYAOBJP)picmap.o: picmap.cc $(SOPHYAINCP)sopnamsp.h \110 pi cmap.h pisysdep.h $(SOPHYAINCP)machdefs.h \111 picmapx.h picmapgen.h119 $(SOPHYAOBJP)picmap.o: picmap.cc $(SOPHYAINCP)sopnamsp.h picmap.h \ 120 pisysdep.h $(SOPHYAINCP)machdefs.h \ 121 $(SOPHYAINCP)osx_values.h picmapx.h picmapgen.h 112 122 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ picmap.cc 113 123 114 124 $(SOPHYAOBJP)picmapgen.o: picmapgen.cc $(SOPHYAINCP)sopnamsp.h \ 115 125 picmapgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 116 picmapx.h picmap.h126 $(SOPHYAINCP)osx_values.h picmapx.h picmap.h 117 127 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ picmapgen.cc 118 128 119 $(SOPHYAOBJP)picmapview.o: picmapview.cc \120 $(SOPHYAINCP)sopnamsp.h picmapview.h pisysdep.h \121 $(SOPHYAINCP) machdefs.h pibwdgx.h pibwdggen.h \122 piwdg x.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \123 pi cmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \124 pi lineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h129 $(SOPHYAOBJP)picmapview.o: picmapview.cc $(SOPHYAINCP)sopnamsp.h \ 130 picmapview.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 131 $(SOPHYAINCP)osx_values.h pibwdgx.h pibwdggen.h piwdgx.h \ 132 piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \ 133 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 134 pipixutils.h pigraphuc.h pievthandler.h psfile.h pigraphps.h 125 135 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ picmapview.cc 126 136 127 $(SOPHYAOBJP)picmapx.o: picmapx.cc $(SOPHYAINCP)sopnamsp.h \ 128 piwdgx.h piwdggen.h $(SOPHYAINCP)machdefs.h \ 129 pimsghandler.h picolist.h picmapx.h picmapgen.h pisysdep.h 137 $(SOPHYAOBJP)picmapx.o: picmapx.cc $(SOPHYAINCP)sopnamsp.h piwdgx.h \ 138 piwdggen.h $(SOPHYAINCP)machdefs.h \ 139 $(SOPHYAINCP)osx_values.h pimsghandler.h picolist.h \ 140 picmapx.h picmapgen.h pisysdep.h 130 141 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ picmapx.cc 131 142 132 $(SOPHYAOBJP)picons.o: picons.cc $(SOPHYAINCP)sopnamsp.h \ 133 pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \ 134 pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picons.h \ 135 pistdwdgx.h pistdwdggen.h picontainerx.h picontainergen.h pibwdgx.h \ 136 pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \ 137 pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \ 138 pievthandler.h psfile.h pigraphps.h 143 $(SOPHYAOBJP)picons.o: picons.cc $(SOPHYAINCP)sopnamsp.h pisysdep.h \ 144 $(SOPHYAINCP)machdefs.h \ 145 $(SOPHYAINCP)osx_values.h pimenux.h pimenugen.h piwdgx.h \ 146 piwdggen.h pimsghandler.h picolist.h picons.h pistdwdgx.h pistdwdggen.h \ 147 picontainerx.h picontainergen.h pibwdgx.h pibwdggen.h picmap.h \ 148 picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \ 149 pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \ 150 psfile.h pigraphps.h piconsenum.h 139 151 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ picons.cc 140 152 141 $(SOPHYAOBJP)picontainergen.o: picontainergen.cc \142 $(SOPHYAINCP)sopnamsp.h picontainergen.h \143 pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \144 pi wdggen.h pimsghandler.h picolist.h153 $(SOPHYAOBJP)picontainergen.o: picontainergen.cc $(SOPHYAINCP)sopnamsp.h \ 154 picontainergen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 155 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 156 pimsghandler.h picolist.h 145 157 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ picontainergen.cc 146 158 147 $(SOPHYAOBJP)picontainerx.o: picontainerx.cc \ 148 $(SOPHYAINCP)sopnamsp.h picontainerx.h \ 149 pisysdep.h $(SOPHYAINCP)machdefs.h \ 150 picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h 159 $(SOPHYAOBJP)picontainerx.o: picontainerx.cc $(SOPHYAINCP)sopnamsp.h \ 160 picontainerx.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 161 $(SOPHYAINCP)osx_values.h picontainergen.h piwdgx.h \ 162 piwdggen.h pimsghandler.h picolist.h /sw/include/Xm/Form.h \ 163 /sw/include/Xm/BulletinB.h /sw/include/Xm/Xm.h \ 164 /sw/include/Xm/XmStrDefs.h /sw/include/Xm/VirtKeys.h \ 165 /sw/include/Xm/Transfer.h /sw/include/Xm/DragDrop.h \ 166 /sw/include/Xm/DragC.h /sw/include/Xm/Display.h \ 167 /sw/include/Xm/DropSMgr.h /sw/include/Xm/DragIcon.h \ 168 /sw/include/Xm/DropTrans.h /sw/include/Xm/DragOverS.h \ 169 /sw/include/Xm/Primitive.h /sw/include/Xm/Manager.h \ 170 /sw/include/Xm/Gadget.h /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h 151 171 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ picontainerx.cc 152 172 153 173 $(SOPHYAOBJP)pidrawer.o: pidrawer.cc $(SOPHYAINCP)sopnamsp.h \ 154 $(SOPHYAINCP)machdefs.h pidrawer.h pibwdggen.h \ 174 $(SOPHYAINCP)machdefs.h \ 175 $(SOPHYAINCP)osx_values.h pidrawer.h pibwdggen.h \ 155 176 pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 156 177 picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \ 157 pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigratt.h \ 158 piaxes.h pidrwtools.h pistdwdgx.h pistdwdggen.h pimenux.h pimenugen.h \ 178 pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \ 179 psfile.h pigratt.h piaxes.h pidrwtools.h pistdwdgx.h pistdwdggen.h \ 180 pimenux.h pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h \ 181 piwindowgen.h picontainerx.h picontainergen.h piapplx.h piapplgen.h \ 182 pimenubarx.h pimenubargen.h piconsenum.h ucckprot.h 183 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pidrawer.cc 184 185 $(SOPHYAOBJP)pidrawwin.o: pidrawwin.cc $(SOPHYAINCP)sopnamsp.h \ 186 pidrawwin.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 187 $(SOPHYAINCP)osx_values.h piwindowx.h piwindowgen.h \ 188 picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimsghandler.h \ 189 picolist.h piscdrawwdg.h pibwdgx.h pibwdggen.h picmap.h picmapx.h \ 190 picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \ 191 pilineatt.h pipixutils.h pigraphuc.h pievthandler.h psfile.h \ 192 pigraphps.h pistdwdgx.h pistdwdggen.h pidrawer.h pigratt.h piaxes.h \ 193 pieldrw.h 194 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pidrawwin.cc 195 196 $(SOPHYAOBJP)pidrwtools.o: pidrwtools.cc $(SOPHYAINCP)sopnamsp.h \ 197 pidrwtools.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 198 $(SOPHYAINCP)osx_values.h pistdwdgx.h pistdwdggen.h \ 199 piwdgx.h piwdggen.h pimsghandler.h picolist.h pimenux.h pimenugen.h \ 159 200 pioptmenux.h pioptmenugen.h piwindowx.h piwindowgen.h picontainerx.h \ 160 201 picontainergen.h piapplx.h piapplgen.h pimenubarx.h pimenubargen.h \ 161 picons.h pibwdgx.h pigraphps.h ucckprot.h 162 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pidrawer.cc 163 164 $(SOPHYAOBJP)pidrawwin.o: pidrawwin.cc $(SOPHYAINCP)sopnamsp.h \ 165 pidrawwin.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 166 piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piwdgx.h \ 167 piwdggen.h pimsghandler.h picolist.h piscdrawwdg.h pibwdgx.h \ 168 pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \ 169 pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \ 170 pievthandler.h psfile.h pigraphps.h pistdwdgx.h pistdwdggen.h \ 171 pidrawer.h pigratt.h piaxes.h pieldrw.h 172 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pidrawwin.cc 173 174 $(SOPHYAOBJP)pidrwtools.o: pidrwtools.cc \ 175 $(SOPHYAINCP)sopnamsp.h pidrwtools.h pisysdep.h \ 176 $(SOPHYAINCP)machdefs.h pistdwdgx.h \ 177 pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h pimenux.h \ 178 pimenugen.h pioptmenux.h pioptmenugen.h piwindowx.h piwindowgen.h \ 179 picontainerx.h picontainergen.h piapplx.h piapplgen.h pimenubarx.h \ 180 pimenubargen.h picons.h pibwdgx.h pibwdggen.h picmap.h picmapx.h \ 181 picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \ 182 pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h \ 183 piscdrawwdg.h pidrawer.h pigratt.h piaxes.h pieldrw.h pi3dwdg.h \ 184 pi3ddrw.h pigraph3d.h 202 piconsenum.h pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h \ 203 pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \ 204 pigraphuc.h pievthandler.h psfile.h piscdrawwdg.h pibwdgx.h pigraphps.h \ 205 pidrawer.h pigratt.h piaxes.h pieldrw.h pi3dwdg.h pi3ddrw.h pigraph3d.h 185 206 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pidrwtools.cc 186 207 187 208 $(SOPHYAOBJP)pieldrw.o: pieldrw.cc $(SOPHYAINCP)sopnamsp.h \ 188 $(SOPHYAINCP)machdefs.h pieldrw.h pidrawer.h \ 189 pibwdggen.h pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 190 picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \ 191 pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \ 192 pigratt.h piaxes.h 209 $(SOPHYAINCP)machdefs.h \ 210 $(SOPHYAINCP)osx_values.h pieldrw.h pidrawer.h pibwdggen.h \ 211 pisysdep.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 212 picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \ 213 pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \ 214 psfile.h pigratt.h piaxes.h 193 215 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pieldrw.cc 194 216 195 $(SOPHYAOBJP)pievthandler.o: pievthandler.cc \ 196 $(SOPHYAINCP)sopnamsp.h pievthandler.h \ 197 pisysdep.h $(SOPHYAINCP)machdefs.h \ 198 pimsghandler.h piwdgx.h piwdggen.h picolist.h pigraphx.h pigraphgen.h \ 199 picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \ 200 pilineatt.h 217 $(SOPHYAOBJP)pievthandler.o: pievthandler.cc $(SOPHYAINCP)sopnamsp.h \ 218 pievthandler.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 219 $(SOPHYAINCP)osx_values.h pimsghandler.h piwdgx.h \ 220 piwdggen.h picolist.h pigraphx.h pigraphgen.h picmap.h picmapx.h \ 221 picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h 201 222 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pievthandler.cc 202 223 203 $(SOPHYAOBJP)pifilechogen.o: pifilechogen.cc \204 $(SOPHYAINCP)sopnamsp.h pifilechogen.h \205 pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \206 pi wdggen.h pimsghandler.h picolist.h224 $(SOPHYAOBJP)pifilechogen.o: pifilechogen.cc $(SOPHYAINCP)sopnamsp.h \ 225 pifilechogen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 226 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 227 pimsghandler.h picolist.h 207 228 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pifilechogen.cc 208 229 209 $(SOPHYAOBJP)pifilechox.o: pifilechox.cc \210 $(SOPHYAINCP)sopnamsp.h pisysdep.h \211 $(SOPHYAINCP) machdefs.h piapplx.h piapplgen.h \230 $(SOPHYAOBJP)pifilechox.o: pifilechox.cc $(SOPHYAINCP)sopnamsp.h \ 231 pisysdep.h $(SOPHYAINCP)machdefs.h \ 232 $(SOPHYAINCP)osx_values.h piapplx.h piapplgen.h \ 212 233 pimsghandler.h picontainerx.h picontainergen.h piwdgx.h piwdggen.h \ 213 picolist.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h picons.h \ 214 pistdwdgx.h pistdwdggen.h pibwdgx.h pibwdggen.h picmap.h picmapx.h \ 215 picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \ 216 pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h \ 217 pifilechox.h pifilechogen.h piwindowx.h piwindowgen.h 234 picolist.h pimenubarx.h pimenubargen.h pimenux.h pimenugen.h \ 235 piconsenum.h pifilechox.h pifilechogen.h piwindowx.h piwindowgen.h \ 236 /sw/include/Xm/FileSB.h /sw/include/Xm/Xm.h /sw/include/Xm/XmStrDefs.h \ 237 /sw/include/Xm/VirtKeys.h /sw/include/Xm/Transfer.h \ 238 /sw/include/Xm/DragDrop.h /sw/include/Xm/DragC.h \ 239 /sw/include/Xm/Display.h /sw/include/Xm/DropSMgr.h \ 240 /sw/include/Xm/DragIcon.h /sw/include/Xm/DropTrans.h \ 241 /sw/include/Xm/DragOverS.h /sw/include/Xm/Primitive.h \ 242 /sw/include/Xm/Manager.h /sw/include/Xm/Gadget.h \ 243 /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h 218 244 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pifilechox.cc 219 245 220 246 $(SOPHYAOBJP)pifontgen.o: pifontgen.cc $(SOPHYAINCP)sopnamsp.h \ 221 247 pigraphgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 222 piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \ 223 picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h 248 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 249 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pifontx.h \ 250 pifontgen.h pigrcoord.h pilineatt.h pipixutils.h 224 251 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pifontgen.cc 225 252 226 $(SOPHYAOBJP)pifontx.o: pifontx.cc $(SOPHYAINCP)sopnamsp.h \ 227 pisysdep.h $(SOPHYAINCP)machdefs.h pifontx.h \ 228 pifontgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h 253 $(SOPHYAOBJP)pifontx.o: pifontx.cc $(SOPHYAINCP)sopnamsp.h pisysdep.h \ 254 $(SOPHYAINCP)machdefs.h \ 255 $(SOPHYAINCP)osx_values.h pifontx.h pifontgen.h piwdgx.h \ 256 piwdggen.h pimsghandler.h picolist.h 229 257 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pifontx.cc 230 258 231 259 $(SOPHYAOBJP)pigraph3d.o: pigraph3d.cc $(SOPHYAINCP)sopnamsp.h \ 232 260 pigraph3d.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 233 pigraphuc.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \234 pi cmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h \235 pi lineatt.h261 $(SOPHYAINCP)osx_values.h pigraphuc.h pigraphgen.h \ 262 piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \ 263 picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pipixutils.h 236 264 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pigraph3d.cc 237 265 238 $(SOPHYAOBJP)pigraphgen.o: pigraphgen.cc \239 $(SOPHYAINCP)sopnamsp.h pigraphgen.h pisysdep.h \240 $(SOPHYAINCP) machdefs.h piwdgx.h piwdggen.h \266 $(SOPHYAOBJP)pigraphgen.o: pigraphgen.cc $(SOPHYAINCP)sopnamsp.h \ 267 pigraphgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 268 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 241 269 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pifontx.h \ 242 pifontgen.h pigrcoord.h pilineatt.h ucckprot.h270 pifontgen.h pigrcoord.h pilineatt.h pipixutils.h ucckprot.h 243 271 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pigraphgen.cc 244 272 245 273 $(SOPHYAOBJP)pigraphps.o: pigraphps.cc $(SOPHYAINCP)sopnamsp.h \ 246 274 pigraphps.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 275 $(SOPHYAINCP)osx_values.h pigraphgen.h piwdgx.h piwdggen.h \ 276 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pifontx.h \ 277 pifontgen.h pigrcoord.h pilineatt.h pipixutils.h psfile.h 278 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pigraphps.cc 279 280 $(SOPHYAOBJP)pigraphuc.o: pigraphuc.cc $(SOPHYAINCP)sopnamsp.h \ 281 $(SOPHYAINCP)machdefs.h \ 282 $(SOPHYAINCP)osx_values.h pigraphuc.h pisysdep.h \ 247 283 pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 248 284 picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 249 psfile.h 250 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pigraphps.cc 251 252 $(SOPHYAOBJP)pigraphuc.o: pigraphuc.cc $(SOPHYAINCP)sopnamsp.h \ 253 $(SOPHYAINCP)machdefs.h pigraphuc.h pisysdep.h \ 254 pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 255 picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 256 ucckprot.h 285 pipixutils.h ucckprot.h 257 286 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pigraphuc.cc 258 287 259 $(SOPHYAOBJP)pigraphx.o: pigraphx.cc $(SOPHYAINCP)sopnamsp.h \ 260 pigraphx.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 261 pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 262 picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h 288 $(SOPHYAOBJP)pigraphx.o: pigraphx.cc $(SOPHYAINCP)sopnamsp.h pigraphx.h \ 289 pisysdep.h $(SOPHYAINCP)machdefs.h \ 290 $(SOPHYAINCP)osx_values.h pigraphgen.h piwdgx.h piwdggen.h \ 291 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pifontx.h \ 292 pifontgen.h pigrcoord.h pilineatt.h pipixutils.h 263 293 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pigraphx.cc 264 294 265 $(SOPHYAOBJP)pigratt.o: pigratt.cc $(SOPHYAINCP)sopnamsp.h \ 266 pigratt.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 267 pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 268 picmapx.h picmapgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 295 $(SOPHYAOBJP)pigratt.o: pigratt.cc $(SOPHYAINCP)sopnamsp.h pigratt.h \ 296 pisysdep.h $(SOPHYAINCP)machdefs.h \ 297 $(SOPHYAINCP)osx_values.h pigraphgen.h piwdgx.h piwdggen.h \ 298 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pifontx.h \ 299 pifontgen.h pigrcoord.h pilineatt.h pipixutils.h \ 269 300 $(SOPHYAINCP)strutilxx.h \ 270 301 $(SOPHYAINCP)machdefs.h … … 272 303 273 304 $(SOPHYAOBJP)pigrcoord.o: pigrcoord.cc $(SOPHYAINCP)sopnamsp.h \ 274 pigrcoord.h pisysdep.h $(SOPHYAINCP)machdefs.h 305 pigrcoord.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 306 $(SOPHYAINCP)osx_values.h 275 307 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pigrcoord.cc 276 308 277 $(SOPHYAOBJP)piimage.o: piimage.cc $(SOPHYAINCP)sopnamsp.h \ 278 pisysdep.h $(SOPHYAINCP)machdefs.h piimage.h \ 279 parradapter.h lut.h pieldrw.h pidrawer.h pibwdggen.h piwdgx.h \ 280 piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \ 309 $(SOPHYAOBJP)piimage.o: piimage.cc $(SOPHYAINCP)sopnamsp.h pisysdep.h \ 310 $(SOPHYAINCP)machdefs.h \ 311 $(SOPHYAINCP)osx_values.h piimage.h parradapter.h lut.h \ 312 pipixutils.h pieldrw.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h \ 313 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h \ 314 pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \ 315 pievthandler.h psfile.h pigratt.h piaxes.h pipixmapx.h pipixmapgen.h \ 316 pibwdgx.h pigraphps.h pistdwdgx.h pistdwdggen.h piwindowx.h \ 317 piwindowgen.h picontainerx.h picontainergen.h picmapview.h piimgtools.h \ 318 pioptmenux.h pioptmenugen.h pimenux.h pimenugen.h piapplx.h piapplgen.h \ 319 pimenubarx.h pimenubargen.h piconsenum.h pidrwtools.h piscdrawwdg.h \ 320 piyfxdrw.h 321 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piimage.cc 322 323 $(SOPHYAOBJP)piimgtools.o: piimgtools.cc $(SOPHYAINCP)sopnamsp.h \ 324 piimgtools.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 325 $(SOPHYAINCP)osx_values.h pistdwdgx.h pistdwdggen.h \ 326 piwdgx.h piwdggen.h pimsghandler.h picolist.h pioptmenux.h \ 327 pioptmenugen.h pimenux.h pimenugen.h piwindowx.h piwindowgen.h \ 328 picontainerx.h picontainergen.h piapplx.h piapplgen.h pimenubarx.h \ 329 pimenubargen.h piconsenum.h piimage.h parradapter.h lut.h pipixutils.h \ 330 pieldrw.h pidrawer.h pibwdggen.h picmap.h picmapx.h picmapgen.h \ 281 331 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 282 332 pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h pipixmapx.h \ 283 pipixmapgen.h pibwdgx.h pigraphps.h pistdwdgx.h pistdwdggen.h \ 284 piwindowx.h piwindowgen.h picontainerx.h picontainergen.h picmapview.h \ 285 piimgtools.h pioptmenux.h pioptmenugen.h pimenux.h pimenugen.h \ 286 piapplx.h piapplgen.h pimenubarx.h pimenubargen.h picons.h pidrwtools.h \ 287 piscdrawwdg.h piyfxdrw.h 288 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piimage.cc 289 290 $(SOPHYAOBJP)piimgtools.o: piimgtools.cc \ 291 $(SOPHYAINCP)sopnamsp.h piimgtools.h pisysdep.h \ 292 $(SOPHYAINCP)machdefs.h pistdwdgx.h \ 293 pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 294 pioptmenux.h pioptmenugen.h pimenux.h pimenugen.h piwindowx.h \ 295 piwindowgen.h picontainerx.h picontainergen.h piapplx.h piapplgen.h \ 296 pimenubarx.h pimenubargen.h picons.h pibwdgx.h pibwdggen.h picmap.h \ 297 picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \ 298 pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h \ 299 piimage.h parradapter.h lut.h pieldrw.h pidrawer.h pigratt.h piaxes.h \ 300 pipixmapx.h pipixmapgen.h picmapview.h 333 pipixmapgen.h pibwdgx.h pigraphps.h picmapview.h 301 334 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piimgtools.cc 302 335 303 336 $(SOPHYAOBJP)pilineatt.o: pilineatt.cc $(SOPHYAINCP)sopnamsp.h \ 304 pilineatt.h pisysdep.h $(SOPHYAINCP)machdefs.h 337 pilineatt.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 338 $(SOPHYAINCP)osx_values.h 305 339 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pilineatt.cc 306 340 307 341 $(SOPHYAOBJP)pilistgen.o: pilistgen.cc $(SOPHYAINCP)sopnamsp.h \ 308 342 pilistgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 309 piwdgx.h piwdggen.h pimsghandler.h picolist.h 343 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 344 pimsghandler.h picolist.h 310 345 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pilistgen.cc 311 346 312 $(SOPHYAOBJP)pilistx.o: pilistx.cc $(SOPHYAINCP)sopnamsp.h \ 313 pilistx.h pilistgen.h pisysdep.h \ 314 $(SOPHYAINCP)machdefs.h piwdgx.h piwdggen.h \ 315 pimsghandler.h picolist.h picontainerx.h picontainergen.h 347 $(SOPHYAOBJP)pilistx.o: pilistx.cc $(SOPHYAINCP)sopnamsp.h pilistx.h \ 348 pilistgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 349 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 350 pimsghandler.h picolist.h picontainerx.h picontainergen.h \ 351 /sw/include/Xm/Xm.h /sw/include/Xm/XmStrDefs.h \ 352 /sw/include/Xm/VirtKeys.h /sw/include/Xm/Transfer.h \ 353 /sw/include/Xm/DragDrop.h /sw/include/Xm/DragC.h \ 354 /sw/include/Xm/Display.h /sw/include/Xm/DropSMgr.h \ 355 /sw/include/Xm/DragIcon.h /sw/include/Xm/DropTrans.h \ 356 /sw/include/Xm/DragOverS.h /sw/include/Xm/Primitive.h \ 357 /sw/include/Xm/Manager.h /sw/include/Xm/Gadget.h \ 358 /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h /sw/include/Xm/List.h 316 359 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pilistx.cc 317 360 318 $(SOPHYAOBJP)pimenubargen.o: pimenubargen.cc \ 319 $(SOPHYAINCP)sopnamsp.h pimenubargen.h \ 320 pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \ 321 pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h piapplx.h \ 322 piapplgen.h picontainerx.h picontainergen.h pimenubarx.h picons.h \ 323 pistdwdgx.h pistdwdggen.h pibwdgx.h pibwdggen.h picmap.h picmapx.h \ 324 picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \ 325 pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h 361 $(SOPHYAOBJP)pimenubargen.o: pimenubargen.cc $(SOPHYAINCP)sopnamsp.h \ 362 pimenubargen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 363 $(SOPHYAINCP)osx_values.h pimenux.h pimenugen.h piwdgx.h \ 364 piwdggen.h pimsghandler.h picolist.h piapplx.h piapplgen.h \ 365 picontainerx.h picontainergen.h pimenubarx.h piconsenum.h 326 366 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pimenubargen.cc 327 367 328 $(SOPHYAOBJP)pimenubarx.o: pimenubarx.cc \ 329 $(SOPHYAINCP)sopnamsp.h pimenubarx.h \ 330 pimenubargen.h pisysdep.h \ 331 $(SOPHYAINCP)machdefs.h pimenux.h pimenugen.h \ 332 piwdgx.h piwdggen.h pimsghandler.h picolist.h piapplx.h piapplgen.h \ 333 picontainerx.h picontainergen.h picons.h pistdwdgx.h pistdwdggen.h \ 334 pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h \ 335 pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \ 336 pievthandler.h psfile.h pigraphps.h 368 $(SOPHYAOBJP)pimenubarx.o: pimenubarx.cc $(SOPHYAINCP)sopnamsp.h \ 369 pimenubarx.h pimenubargen.h pisysdep.h \ 370 $(SOPHYAINCP)machdefs.h \ 371 $(SOPHYAINCP)osx_values.h pimenux.h pimenugen.h piwdgx.h \ 372 piwdggen.h pimsghandler.h picolist.h piapplx.h piapplgen.h \ 373 picontainerx.h picontainergen.h piconsenum.h /sw/include/Xm/Xm.h \ 374 /sw/include/Xm/XmStrDefs.h /sw/include/Xm/VirtKeys.h \ 375 /sw/include/Xm/Transfer.h /sw/include/Xm/DragDrop.h \ 376 /sw/include/Xm/DragC.h /sw/include/Xm/Display.h \ 377 /sw/include/Xm/DropSMgr.h /sw/include/Xm/DragIcon.h \ 378 /sw/include/Xm/DropTrans.h /sw/include/Xm/DragOverS.h \ 379 /sw/include/Xm/Primitive.h /sw/include/Xm/Manager.h \ 380 /sw/include/Xm/Gadget.h /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h \ 381 /sw/include/Xm/RowColumn.h /sw/include/Xm/PushB.h \ 382 /sw/include/Xm/ToggleB.h /sw/include/Xm/CascadeB.h 337 383 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pimenubarx.cc 338 384 339 385 $(SOPHYAOBJP)pimenugen.o: pimenugen.cc $(SOPHYAINCP)sopnamsp.h \ 340 386 pimenugen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 341 piwdgx.h piwdggen.h pimsghandler.h picolist.h 387 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 388 pimsghandler.h picolist.h 342 389 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pimenugen.cc 343 390 344 $(SOPHYAOBJP)pimenux.o: pimenux.cc $(SOPHYAINCP)sopnamsp.h \ 345 pisysdep.h $(SOPHYAINCP)machdefs.h pimenubarx.h \ 346 pimenubargen.h pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h \ 347 picolist.h 391 $(SOPHYAOBJP)pimenux.o: pimenux.cc $(SOPHYAINCP)sopnamsp.h pisysdep.h \ 392 $(SOPHYAINCP)machdefs.h \ 393 $(SOPHYAINCP)osx_values.h pimenubarx.h pimenubargen.h \ 394 pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 395 /sw/include/Xm/Xm.h /sw/include/Xm/XmStrDefs.h \ 396 /sw/include/Xm/VirtKeys.h /sw/include/Xm/Transfer.h \ 397 /sw/include/Xm/DragDrop.h /sw/include/Xm/DragC.h \ 398 /sw/include/Xm/Display.h /sw/include/Xm/DropSMgr.h \ 399 /sw/include/Xm/DragIcon.h /sw/include/Xm/DropTrans.h \ 400 /sw/include/Xm/DragOverS.h /sw/include/Xm/Primitive.h \ 401 /sw/include/Xm/Manager.h /sw/include/Xm/Gadget.h \ 402 /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h \ 403 /sw/include/Xm/RowColumn.h /sw/include/Xm/PushB.h \ 404 /sw/include/Xm/ToggleB.h /sw/include/Xm/CascadeB.h \ 405 /sw/include/Xm/Separator.h 348 406 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pimenux.cc 349 407 350 $(SOPHYAOBJP)pimsghandler.o: pimsghandler.cc \351 $(SOPHYAINCP)sopnamsp.h pimsghandler.h \352 $(SOPHYAINCP) machdefs.h408 $(SOPHYAOBJP)pimsghandler.o: pimsghandler.cc $(SOPHYAINCP)sopnamsp.h \ 409 pimsghandler.h $(SOPHYAINCP)machdefs.h \ 410 $(SOPHYAINCP)osx_values.h 353 411 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pimsghandler.cc 354 412 355 $(SOPHYAOBJP)pioptmenugen.o: pioptmenugen.cc \356 $(SOPHYAINCP)sopnamsp.h pioptmenugen.h \357 pisysdep.h $(SOPHYAINCP)machdefs.h pimenux.h \358 pi menugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h413 $(SOPHYAOBJP)pioptmenugen.o: pioptmenugen.cc $(SOPHYAINCP)sopnamsp.h \ 414 pioptmenugen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 415 $(SOPHYAINCP)osx_values.h pimenux.h pimenugen.h piwdgx.h \ 416 piwdggen.h pimsghandler.h picolist.h 359 417 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pioptmenugen.cc 360 418 361 $(SOPHYAOBJP)pioptmenux.o: pioptmenux.cc \ 362 $(SOPHYAINCP)sopnamsp.h pisysdep.h \ 363 $(SOPHYAINCP)machdefs.h pioptmenux.h \ 364 pioptmenugen.h pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h \ 365 picolist.h pistdwdgx.h pistdwdggen.h piapplx.h piapplgen.h \ 366 picontainerx.h picontainergen.h pimenubarx.h pimenubargen.h picons.h \ 367 pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h \ 368 pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \ 369 pievthandler.h psfile.h pigraphps.h 419 $(SOPHYAOBJP)pioptmenux.o: pioptmenux.cc /sw/include/Xm/Xm.h \ 420 /sw/include/Xm/XmStrDefs.h /sw/include/Xm/VirtKeys.h \ 421 /sw/include/Xm/Transfer.h /sw/include/Xm/DragDrop.h \ 422 /sw/include/Xm/DragC.h /sw/include/Xm/Display.h \ 423 /sw/include/Xm/DropSMgr.h /sw/include/Xm/DragIcon.h \ 424 /sw/include/Xm/DropTrans.h /sw/include/Xm/DragOverS.h \ 425 /sw/include/Xm/Primitive.h /sw/include/Xm/Manager.h \ 426 /sw/include/Xm/Gadget.h /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h \ 427 /sw/include/Xm/PushB.h $(SOPHYAINCP)sopnamsp.h pisysdep.h \ 428 $(SOPHYAINCP)machdefs.h \ 429 $(SOPHYAINCP)osx_values.h pioptmenux.h pioptmenugen.h \ 430 pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 431 pistdwdgx.h pistdwdggen.h piapplx.h piapplgen.h picontainerx.h \ 432 picontainergen.h pimenubarx.h pimenubargen.h piconsenum.h 370 433 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pioptmenux.cc 371 434 372 $(SOPHYAOBJP)piperiodx.o: piperiodx.cc $(SOPHYAINCP)sopnamsp.h \373 piwdg x.h piwdggen.h $(SOPHYAINCP)machdefs.h \374 pimsghandler.h picolist.h piperiodx.h \375 $(SOPHYAINCP)periodic.h \435 $(SOPHYAOBJP)piperiodx.o: piperiodx.cc $(SOPHYAINCP)sopnamsp.h piwdgx.h \ 436 piwdggen.h $(SOPHYAINCP)machdefs.h \ 437 $(SOPHYAINCP)osx_values.h pimsghandler.h picolist.h \ 438 piperiodx.h $(SOPHYAINCP)periodic.h \ 376 439 $(SOPHYAINCP)machdefs.h 377 440 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piperiodx.cc 378 441 379 $(SOPHYAOBJP)pipixmapgen.o: pipixmapgen.cc \380 $(SOPHYAINCP)sopnamsp.h pipixmapgen.h \381 pisysdep.h $(SOPHYAINCP)machdefs.h pibwdgx.h \382 pi bwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \383 pi cmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \384 pi grcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h442 $(SOPHYAOBJP)pipixmapgen.o: pipixmapgen.cc $(SOPHYAINCP)sopnamsp.h \ 443 pipixmapgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 444 $(SOPHYAINCP)osx_values.h pibwdgx.h pibwdggen.h piwdgx.h \ 445 piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \ 446 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 447 pipixutils.h pigraphuc.h pievthandler.h psfile.h pigraphps.h 385 448 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pipixmapgen.cc 386 449 387 450 $(SOPHYAOBJP)pipixmapx.o: pipixmapx.cc $(SOPHYAINCP)sopnamsp.h \ 388 451 pipixmapx.h pipixmapgen.h pisysdep.h \ 389 $(SOPHYAINCP)machdefs.h pibwdgx.h pibwdggen.h \ 390 piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h \ 391 picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h \ 392 pilineatt.h pigraphuc.h pievthandler.h psfile.h pigraphps.h 452 $(SOPHYAINCP)machdefs.h \ 453 $(SOPHYAINCP)osx_values.h pibwdgx.h pibwdggen.h piwdgx.h \ 454 piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \ 455 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 456 pipixutils.h pigraphuc.h pievthandler.h psfile.h pigraphps.h 393 457 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pipixmapx.cc 394 458 395 $(SOPHYAOBJP)piscdrawwdg.o: piscdrawwdg.cc \ 396 $(SOPHYAINCP)sopnamsp.h \ 397 $(SOPHYAINCP)machdefs.h piscdrawwdg.h \ 398 pisysdep.h pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \ 399 picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \ 400 pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \ 459 $(SOPHYAOBJP)pipixutils.o: pipixutils.cc pipixutils.h 460 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pipixutils.cc 461 462 $(SOPHYAOBJP)piscdrawwdg.o: piscdrawwdg.cc $(SOPHYAINCP)sopnamsp.h \ 463 $(SOPHYAINCP)machdefs.h \ 464 $(SOPHYAINCP)osx_values.h piscdrawwdg.h pisysdep.h \ 465 pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 466 picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \ 467 pifontgen.h pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h \ 401 468 pievthandler.h psfile.h pigraphps.h pistdwdgx.h pistdwdggen.h \ 402 469 piwindowx.h piwindowgen.h picontainerx.h picontainergen.h pidrawer.h \ 403 470 pigratt.h piaxes.h pieldrw.h pidrwtools.h pimenux.h pimenugen.h \ 404 471 pioptmenux.h pioptmenugen.h piapplx.h piapplgen.h pimenubarx.h \ 405 pimenubargen.h picons .h piaxestools.h472 pimenubargen.h piconsenum.h piaxestools.h 406 473 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piscdrawwdg.cc 407 474 408 $(SOPHYAOBJP)pistdwdggen.o: pistdwdggen.cc \409 $(SOPHYAINCP)sopnamsp.h pistdwdggen.h \410 pisysdep.h $(SOPHYAINCP)machdefs.h piwdgx.h \411 pi wdggen.h pimsghandler.h picolist.h475 $(SOPHYAOBJP)pistdwdggen.o: pistdwdggen.cc $(SOPHYAINCP)sopnamsp.h \ 476 pistdwdggen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 477 $(SOPHYAINCP)osx_values.h piwdgx.h piwdggen.h \ 478 pimsghandler.h picolist.h 412 479 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pistdwdggen.cc 413 480 414 $(SOPHYAOBJP)pistdwdgx.o: pistdwdgx.cc $(SOPHYAINCP)sopnamsp.h \ 415 pisysdep.h $(SOPHYAINCP)machdefs.h pistdwdgx.h \ 416 pistdwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 417 picontainerx.h picontainergen.h 481 $(SOPHYAOBJP)pistdwdgx.o: pistdwdgx.cc $(SOPHYAINCP)sopnamsp.h pisysdep.h \ 482 $(SOPHYAINCP)machdefs.h \ 483 $(SOPHYAINCP)osx_values.h pistdwdgx.h pistdwdggen.h \ 484 piwdgx.h piwdggen.h pimsghandler.h picolist.h picontainerx.h \ 485 picontainergen.h /sw/include/Xm/Label.h /sw/include/Xm/Xm.h \ 486 /sw/include/Xm/XmStrDefs.h /sw/include/Xm/VirtKeys.h \ 487 /sw/include/Xm/Transfer.h /sw/include/Xm/DragDrop.h \ 488 /sw/include/Xm/DragC.h /sw/include/Xm/Display.h \ 489 /sw/include/Xm/DropSMgr.h /sw/include/Xm/DragIcon.h \ 490 /sw/include/Xm/DropTrans.h /sw/include/Xm/DragOverS.h \ 491 /sw/include/Xm/Primitive.h /sw/include/Xm/Manager.h \ 492 /sw/include/Xm/Gadget.h /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h \ 493 /sw/include/Xm/PushB.h /sw/include/Xm/ArrowB.h /sw/include/Xm/Text.h \ 494 /sw/include/Xm/ToggleB.h /sw/include/Xm/Scale.h \ 495 /sw/include/Xm/ScrollBar.h 418 496 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pistdwdgx.cc 419 497 420 $(SOPHYAOBJP)pistzwin.o: pistzwin.cc $(SOPHYAINCP)sopnamsp.h \421 pis tzwin.h pisysdep.h $(SOPHYAINCP)machdefs.h \422 piwindowx.h piwindowgen.h picontainerx.h picontainergen.h piwdgx.h \423 pi wdggen.h pimsghandler.h picolist.h piperiodx.h \424 $(SOPHYAINCP)periodic.h \425 $(SOPHYAINCP)machdefs.h psfile.h pifontgen.h \426 pi graphgen.h picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h \427 pi lineatt.h498 $(SOPHYAOBJP)pistzwin.o: pistzwin.cc $(SOPHYAINCP)sopnamsp.h pistzwin.h \ 499 pisysdep.h $(SOPHYAINCP)machdefs.h \ 500 $(SOPHYAINCP)osx_values.h piwindowx.h piwindowgen.h \ 501 picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimsghandler.h \ 502 picolist.h piperiodx.h $(SOPHYAINCP)periodic.h \ 503 $(SOPHYAINCP)machdefs.h psfile.h pifontgen.h pigraphgen.h \ 504 picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h pilineatt.h \ 505 pipixutils.h 428 506 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pistzwin.cc 429 507 430 $(SOPHYAOBJP)pisurfdr.o: pisurfdr.cc $(SOPHYAINCP)sopnamsp.h \431 p isurfdr.h parradapter.h \432 $(SOPHYAINCP) machdefs.h lut.h pi3ddrw.h \508 $(SOPHYAOBJP)pisurfdr.o: pisurfdr.cc $(SOPHYAINCP)sopnamsp.h pisurfdr.h \ 509 parradapter.h $(SOPHYAINCP)machdefs.h \ 510 $(SOPHYAINCP)osx_values.h lut.h pipixutils.h pi3ddrw.h \ 433 511 pisysdep.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h \ 434 512 picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \ … … 437 515 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pisurfdr.cc 438 516 439 $(SOPHYAOBJP)pitherm.o: pitherm.cc $(SOPHYAINCP)sopnamsp.h \440 pi therm.h pisysdep.h $(SOPHYAINCP)machdefs.h \441 pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \442 pi cmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \443 pi fontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \444 pi graphps.h517 $(SOPHYAOBJP)pitherm.o: pitherm.cc $(SOPHYAINCP)sopnamsp.h pitherm.h \ 518 pisysdep.h $(SOPHYAINCP)machdefs.h \ 519 $(SOPHYAINCP)osx_values.h pibwdgx.h pibwdggen.h piwdgx.h \ 520 piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \ 521 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 522 pipixutils.h pigraphuc.h pievthandler.h psfile.h pigraphps.h 445 523 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pitherm.cc 446 524 447 525 $(SOPHYAOBJP)pitxtdrw.o: pitxtdrw.cc $(SOPHYAINCP)sopnamsp.h \ 448 $(SOPHYAINCP)machdefs.h pitxtdrw.h pisysdep.h \ 449 pidrawer.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 450 picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \ 451 pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \ 452 pigratt.h piaxes.h 526 $(SOPHYAINCP)machdefs.h \ 527 $(SOPHYAINCP)osx_values.h pitxtdrw.h pisysdep.h pidrawer.h \ 528 pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 529 picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \ 530 pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \ 531 psfile.h pigratt.h piaxes.h 453 532 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pitxtdrw.cc 454 533 455 $(SOPHYAOBJP)piwdggen.o: piwdggen.cc $(SOPHYAINCP)sopnamsp.h \ 456 piwdggen.h $(SOPHYAINCP)machdefs.h \ 457 pimsghandler.h picolist.h picontainergen.h pisysdep.h piwdgx.h \ 458 pievthandler.h pigraphx.h pigraphgen.h picmap.h picmapx.h picmapgen.h \ 459 pifontx.h pifontgen.h pigrcoord.h pilineatt.h psfile.h 534 $(SOPHYAOBJP)piwdggen.o: piwdggen.cc $(SOPHYAINCP)sopnamsp.h piwdggen.h \ 535 $(SOPHYAINCP)machdefs.h \ 536 $(SOPHYAINCP)osx_values.h pimsghandler.h picolist.h \ 537 picontainergen.h pisysdep.h piwdgx.h pievthandler.h pigraphx.h \ 538 pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \ 539 pigrcoord.h pilineatt.h pipixutils.h psfile.h 460 540 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piwdggen.cc 461 541 462 $(SOPHYAOBJP)piwdgx.o: piwdgx.cc $(SOPHYAINCP)sopnamsp.h \ 542 $(SOPHYAOBJP)piwdgx.o: piwdgx.cc /sw/include/Xm/Xm.h /sw/include/Xm/XmStrDefs.h \ 543 /sw/include/Xm/VirtKeys.h /sw/include/Xm/Transfer.h \ 544 /sw/include/Xm/DragDrop.h /sw/include/Xm/DragC.h \ 545 /sw/include/Xm/Display.h /sw/include/Xm/DropSMgr.h \ 546 /sw/include/Xm/DragIcon.h /sw/include/Xm/DropTrans.h \ 547 /sw/include/Xm/DragOverS.h /sw/include/Xm/Primitive.h \ 548 /sw/include/Xm/Manager.h /sw/include/Xm/Gadget.h \ 549 /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h /sw/include/Xm/Form.h \ 550 /sw/include/Xm/BulletinB.h $(SOPHYAINCP)sopnamsp.h \ 463 551 piwdgx.h piwdggen.h $(SOPHYAINCP)machdefs.h \ 464 pimsghandler.h picolist.h picontainerx.h pisysdep.h picontainergen.h \ 465 pievthandler.h pigraphx.h pigraphgen.h picmap.h picmapx.h picmapgen.h \ 466 pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 552 $(SOPHYAINCP)osx_values.h pimsghandler.h picolist.h \ 553 picontainerx.h pisysdep.h picontainergen.h pievthandler.h pigraphx.h \ 554 pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h pifontgen.h \ 555 pigrcoord.h pilineatt.h pipixutils.h \ 467 556 $(SOPHYAINCP)pexceptions.h \ 468 557 $(SOPHYAINCP)machdefs.h 469 558 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piwdgx.cc 470 559 471 $(SOPHYAOBJP)piwindowgen.o: piwindowgen.cc \472 $(SOPHYAINCP)sopnamsp.h piwindowgen.h \473 pisysdep.h $(SOPHYAINCP)machdefs.h \474 pi containerx.h picontainergen.h piwdgx.h piwdggen.h pimsghandler.h \475 pi colist.h psfile.h pifontgen.h pigraphgen.h picmap.h picmapx.h \476 pi cmapgen.h pifontx.h pigrcoord.h pilineatt.h560 $(SOPHYAOBJP)piwindowgen.o: piwindowgen.cc $(SOPHYAINCP)sopnamsp.h \ 561 piwindowgen.h pisysdep.h $(SOPHYAINCP)machdefs.h \ 562 $(SOPHYAINCP)osx_values.h picontainerx.h picontainergen.h \ 563 piwdgx.h piwdggen.h pimsghandler.h picolist.h psfile.h pifontgen.h \ 564 pigraphgen.h picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h \ 565 pilineatt.h pipixutils.h 477 566 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piwindowgen.cc 478 567 479 568 $(SOPHYAOBJP)piwindowx.o: piwindowx.cc $(SOPHYAINCP)sopnamsp.h \ 480 569 piwindowx.h piwindowgen.h pisysdep.h \ 481 $(SOPHYAINCP)machdefs.h picontainerx.h \ 482 picontainergen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h 570 $(SOPHYAINCP)machdefs.h \ 571 $(SOPHYAINCP)osx_values.h picontainerx.h picontainergen.h \ 572 piwdgx.h piwdggen.h pimsghandler.h picolist.h /sw/include/Xm/Form.h \ 573 /sw/include/Xm/BulletinB.h /sw/include/Xm/Xm.h \ 574 /sw/include/Xm/XmStrDefs.h /sw/include/Xm/VirtKeys.h \ 575 /sw/include/Xm/Transfer.h /sw/include/Xm/DragDrop.h \ 576 /sw/include/Xm/DragC.h /sw/include/Xm/Display.h \ 577 /sw/include/Xm/DropSMgr.h /sw/include/Xm/DragIcon.h \ 578 /sw/include/Xm/DropTrans.h /sw/include/Xm/DragOverS.h \ 579 /sw/include/Xm/Primitive.h /sw/include/Xm/Manager.h \ 580 /sw/include/Xm/Gadget.h /sw/include/Xm/VendorS.h /sw/include/Xm/XmIm.h 483 581 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piwindowx.cc 484 582 485 583 $(SOPHYAOBJP)pixtbase.o: pixtbase.cc $(SOPHYAINCP)sopnamsp.h \ 486 $(SOPHYAINCP)machdefs.h pixtbaseP.h pibwdgx.h \ 487 pisysdep.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 488 picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h \ 489 pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h pievthandler.h psfile.h \ 490 pigraphps.h pixtbase.h 584 $(SOPHYAINCP)machdefs.h \ 585 $(SOPHYAINCP)osx_values.h pixtbaseP.h pibwdgx.h pisysdep.h \ 586 pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 587 picmapx.h picmapgen.h pigraphx.h pigraphgen.h pifontx.h pifontgen.h \ 588 pigrcoord.h pilineatt.h pipixutils.h pigraphuc.h pievthandler.h \ 589 psfile.h pigraphps.h pixtbase.h 491 590 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pixtbase.cc 492 591 493 592 $(SOPHYAOBJP)piyfxdrw.o: piyfxdrw.cc $(SOPHYAINCP)sopnamsp.h \ 494 $(SOPHYAINCP)machdefs.h piyfxdrw.h pisysdep.h \ 495 parradapter.h lut.h pidrawer.h pibwdggen.h piwdgx.h piwdggen.h \ 496 pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h pigraphx.h \ 497 pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h pigraphuc.h \ 498 pievthandler.h psfile.h pigratt.h piaxes.h 593 $(SOPHYAINCP)machdefs.h \ 594 $(SOPHYAINCP)osx_values.h piyfxdrw.h pisysdep.h \ 595 parradapter.h lut.h pipixutils.h pidrawer.h pibwdggen.h piwdgx.h \ 596 piwdggen.h pimsghandler.h picolist.h picmap.h picmapx.h picmapgen.h \ 597 pigraphx.h pigraphgen.h pifontx.h pifontgen.h pigrcoord.h pilineatt.h \ 598 pigraphuc.h pievthandler.h psfile.h pigratt.h piaxes.h 499 599 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ piyfxdrw.cc 500 600 501 $(SOPHYAOBJP)psfile.o: psfile.cc $(SOPHYAINCP)sopnamsp.h \ 502 psfile.h $(SOPHYAINCP)machdefs.h pisysdep.h \ 503 pifontgen.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h \ 504 picmap.h picmapx.h picmapgen.h pifontx.h pigrcoord.h pilineatt.h 601 $(SOPHYAOBJP)psfile.o: psfile.cc $(SOPHYAINCP)sopnamsp.h psfile.h \ 602 $(SOPHYAINCP)machdefs.h \ 603 $(SOPHYAINCP)osx_values.h pisysdep.h pifontgen.h \ 604 pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picolist.h picmap.h \ 605 picmapx.h picmapgen.h pifontx.h pigrcoord.h pilineatt.h pipixutils.h 505 606 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ psfile.cc 506 607 -
trunk/SophyaPI/PI/lut.cc
r2615 r3519 15 15 /* --Methode-- */ 16 16 17 LUT::LUT(double min, double max, unsigned short ncol, int typ , int ntable)17 LUT::LUT(double min, double max, unsigned short ncol, int typ) 18 18 { 19 int nlev; 20 21 bornes=NULL; 22 nlev = ncol-2; 19 int nlev = ncol-2; 23 20 if (nlev < 1) nlev = 1; 24 21 bornes = new double[nlev+1]; … … 39 36 delete[] table; 40 37 } 38 /* --Methode-- */ 39 void LUT::SetNCol(unsigned short ncol) 40 { 41 if (ncol == NCol()) return; 42 double min = Min(); 43 double max = Max(); 44 if (bornes) delete[] bornes; 45 int nlev = ncol-2; 46 if (nlev < 1) nlev = 1; 47 bornes = new double[nlev+1]; 48 nLevel = nlev; 49 SetLut(min, max, Type()); 50 } 41 51 42 52 /* --Methode-- */ 43 void LUT::SetLut(double min, double max, int typ , int ntable)53 void LUT::SetLut(double min, double max, int typ) 44 54 { 45 55 46 56 if( (typ != kLutType_Lin) && (typ != kLutType_Log) 47 && (typ != kLutType_Sqrt) && (typ != kLutType_Square) 48 ) typ = kLutType_Lin;57 && (typ != kLutType_Sqrt) && (typ != kLutType_Square) 58 && (typ != kLutType_RGB) ) typ = kLutType_Lin; 49 59 type = typ; 50 60 if (max <= min) max = min+1.; … … 57 67 { 58 68 case kLutType_Lin : 69 case kLutType_RGB : 59 70 dx = (max-min)/(double)nLevel; 60 71 for(i=0; i<nLevel; i++) … … 84 95 } 85 96 else bornes[0] = 0.5*(min+max); 86 ComputeTable((ntable > nLevel) ? ntable : tablenbin); 97 // ComputeTable((ntable > nLevel) ? ntable : tablenbin); 98 ComputeTable(0); 87 99 return; 88 100 } … … 110 122 111 123 /* --Methode-- */ 124 unsigned short LUT::ApplyRGB(double x) 125 { 126 long lv = x+0.3; 127 double r = (lv%256); 128 lv /= 256; 129 double g = (lv%256); 130 lv /= 256; 131 double b = (lv%256); 132 int qqq = 1; 133 int quantum = 1; 134 for(quantum=2; quantum<=42; quantum++) { 135 qqq = quantum*quantum*quantum; 136 if (qqq > NCol()) break; 137 } 138 quantum--; 139 int ir = AppFast(r)*quantum/(NCol()); 140 int ig = AppFast(g)*quantum/(NCol()); 141 int ib = AppFast(b)*quantum/(NCol()); 142 return ((unsigned short)((ib*quantum+ig)*quantum+ir)); 143 } 144 145 /* --Methode-- */ 112 146 void LUT::ComputeTable(int nt) 113 147 { … … 115 149 else if (nt < (nLevel+2)) nt = (nLevel+2); 116 150 tablenbin = nt; 151 if (table) delete[] table; 117 152 table = new unsigned short [nt-2]; 118 153 tablebinwidth = (Max()-Min())/(nt-2); -
trunk/SophyaPI/PI/lut.h
r3292 r3519 13 13 14 14 // Type de lut possibles 15 enum {kLutType_Lin=1, kLutType_Log=2, kLutType_Sqrt=3, kLutType_Square=4 };15 enum {kLutType_Lin=1, kLutType_Log=2, kLutType_Sqrt=3, kLutType_Square=4, kLutType_RGB=11 }; 16 16 17 17 class LUT … … 19 19 public: 20 20 21 LUT(double min, double max, unsigned short ncol=16, int typ=kLutType_Lin , int ntable=0);21 LUT(double min, double max, unsigned short ncol=16, int typ=kLutType_Lin); 22 22 ~LUT(); 23 void SetLut(double min, double max, int typ=kLutType_Lin, int ntable=0); 23 void SetNCol(unsigned short ncol); 24 void SetLut(double min, double max, int typ=kLutType_Lin); 24 25 void Print(); 25 26 unsigned short Apply(double x); 27 unsigned short ApplyRGB(double x); 28 26 29 inline unsigned short ApplyFast(double x) 27 30 { 28 if (x < Min()) return(0); 29 if (x >= Max() ) return(nLevel+1); 30 int k = (int)((x-Min())/tablebinwidth); 31 return(table[k]); 31 if (type == kLutType_RGB) return ApplyRGB(x); 32 else return AppFast(x); 32 33 } 34 33 35 34 36 inline double Min() { return(bornes[0]); }; … … 37 39 inline int NCol() { return(nLevel+2); }; 38 40 41 39 42 protected: 40 43 void ComputeTable(int nt); 41 44 inline unsigned short AppFast(double x) 45 { 46 if (x < Min()) return(0); 47 if (x >= Max() ) return(nLevel+1); 48 int k = (int)((x-Min())/tablebinwidth); 49 return(table[k]); 50 } 51 42 52 int type; 43 53 int nLevel; -
trunk/SophyaPI/PI/objlist.list
r2543 r3519 1 copy_pipixmapx.o 1 2 lut.o 2 3 parradapter.o … … 48 49 pipixmapgen.o 49 50 pipixmapx.o 51 pipixutils.o 50 52 piscdrawwdg.o 51 53 pistdwdggen.o -
trunk/SophyaPI/PI/parradapter.cc
r3461 r3519 174 174 175 175 /* --Methode-- */ 176 double P2DArrayAdapter::MeanVal(int ix1, int ix2, int jy1, int jy2) 177 { 178 int ec; 179 if (ix1>ix2) { ec=ix1; ix1=ix2; ix2=ec; } 180 if (jy1>jy2) { ec=jy1; jy1=jy2; jy2=ec; } 181 // On calcule la somme des pixels dans la zone 182 double ss = 0.; 183 for(int j=jy1; j<=jy2; j++) 184 for(int i=ix1; i<=ix2; i++) ss += Value(i,j); 185 186 ss /= (double)((jy2-jy1+1)*(ix2-ix1+1)); 187 return ss; 188 } 189 190 /* --Methode-- */ 176 191 void P2DArrayAdapter::XYfromxy(int ix, int iy, double& x, double& y) 177 192 { … … 433 448 434 449 /* --Methode-- */ 435 unsigned char *P2DArrayAdapter::ComputePixmap(LUT* lut, int ofx, int ofy, int zm,436 int xwsz, int ywsz, unsigned char * opix, int * oxsp, int * oysp)450 void P2DArrayAdapter::ComputePixmap(LUT* lut, int ofx, int ofy, int zm, 451 int xwsz, int ywsz, PIPixColIdx & pixc) 437 452 { 438 453 // TIMEF ; 439 unsigned char *pix, *pp, ucp;440 454 int zmm=1; 441 int npx, npy, nppx, nppy , nszp, oszp;455 int npx, npy, nppx, nppy; 442 456 int i,j,k,l; 443 double vpx;444 457 445 458 /* … … 448 461 */ 449 462 450 if ( (XSize() <= 0) || (YSize() <= 0) || (lut == NULL) || (ofx < 0) || (ofy < 0) ) 451 { *oxsp = *oysp = 0; return(NULL); } 463 if ( (XSize() <= 0) || (YSize() <= 0) || (lut == NULL) || (ofx < 0) || (ofy < 0) ) { 464 pixc.DeAlloc(); return; 465 } 452 466 453 467 npx = XSize()-ofx; … … 471 485 } 472 486 473 oszp = (*oxsp)*(*oysp); 474 nszp = nppx*nppy; 475 if ( oszp != nszp ) 476 { 477 if (opix) delete[] opix; 478 pix = new unsigned char[nppx*nppy]; 479 if (pix == NULL) { *oxsp = *oysp = 0; ; return(NULL); } 480 } 481 else pix = opix; 482 *oxsp = nppx; *oysp = nppy; 483 487 488 /* printf("Debug_ComputePixmap %d %d %d (%d-%d %d-%d)\n", 489 ofx, ofy, zm, npx,nppx, npy,nppy); */ 490 if (lut->NCol() <= 256) { // On fait un pixmap de type Byte/pixel 484 491 /* 485 printf("Debug_ComputePixmap %d %d %d (%d-%d %d-%d)\n", 486 ofx, ofy, zm, npx,nppx, npy,nppy); 487 */ 488 489 pp = pix; 492 printf("Debug_ComputePixmap- pixc.AllocateByte() type=%d - %d %d %d - %d %d %d - %d %d %d \n", 493 lut->Type(), 494 lut->ApplyFast(0.), lut->ApplyFast(1.), lut->ApplyFast(2.), 495 lut->ApplyRGB(0.), lut->ApplyRGB(1.), lut->ApplyRGB(2.), 496 lut->Apply(0.), lut->Apply(1.), lut->Apply(2.)); 497 */ 498 unsigned char *pp, ucp; 499 pixc.AllocateByte(nppx, nppy); 500 pp = pixc.BytePointer(); 490 501 if (eXY) { // Echange Axe X,Y 491 502 if (zm == 1) { // Pas de zoom … … 497 508 } 498 509 else if (zm < -1) { // Compression 499 double fv = (double)(zmm*zmm);500 510 for(j=ofy; j<ofy+npy; j+=zmm) 501 for(i=ofx; i<ofx+npx; i+=zmm) { 502 vpx = 0; 503 for(l=0; l<zmm; l++) 504 for(k=0; k<zmm; k++) 505 vpx += this->Value( (j+l)*sgnX+offX, (i+k)*sgnY+offY); 506 *pp = (unsigned char) lut->ApplyFast(vpx/fv); 511 for(i=ofx; i<ofx+npx; i+=zmm) { 512 *pp = lut->ApplyFast( MeanVal(j*sgnX+offX, (j+zmm-1)*sgnX+offX, 513 i*sgnY+offY, (i+zmm-1)*sgnY+offY) ); 507 514 pp++; 508 515 } 509 516 } 510 517 else { // Agrandissement … … 513 520 ucp = (unsigned char) lut->ApplyFast(this->Value(j*sgnX+offX, i*sgnY+offY)); 514 521 for(l=0; l<zm; l++) { 515 pp = pix +((j-ofy)*zm+l)*nppx+((i-ofx)*zm);522 pp = pixc.BytePointer()+((j-ofy)*zm+l)*nppx+((i-ofx)*zm); 516 523 for(k=0; k<zm; k++) { *pp = ucp; pp++; } 517 524 } … … 528 535 } 529 536 else if (zm < -1) { // Compression 530 double fv = (double)(zmm*zmm);531 537 for(j=ofy; j<ofy+npy; j+=zmm) 532 538 for(i=ofx; i<ofx+npx; i+=zmm) { 533 vpx = 0; 534 for(l=0; l<zmm; l++) 535 for(k=0; k<zmm; k++) 536 vpx += this->Value( (i+k)*sgnX+offX, (j+l)*sgnY+offY); 537 *pp = (unsigned char) lut->ApplyFast(vpx/fv); 539 *pp = lut->ApplyFast( MeanVal(i*sgnX+offX, (i+zmm-1)*sgnX+offX, 540 j*sgnY+offY, (j+zmm-1)*sgnY+offY) ); 538 541 pp++; 539 542 } 540 543 } 541 544 else { // Agrandissement … … 544 547 ucp = (unsigned char) lut->ApplyFast(this->Value(i*sgnX+offX, j*sgnY+offY)); 545 548 for(l=0; l<zm; l++) { 546 pp = pix +((j-ofy)*zm+l)*nppx+((i-ofx)*zm);549 pp = pixc.BytePointer()+((j-ofy)*zm+l)*nppx+((i-ofx)*zm); 547 550 for(k=0; k<zm; k++) { *pp = ucp; pp++; } 548 551 } … … 550 553 } 551 554 } 552 return(pix); 555 } // ---- Fin pixmap de type Byte 556 else { // On fait un pixmap de type short/pixel 557 // printf("Debug_ComputePixmap- pixc.AllocateShort() \n"); 558 unsigned short *pp, ucp; 559 pixc.AllocateShort(nppx, nppy); 560 pp = pixc.ShortPointer(); 561 if (eXY) { // Echange Axe X,Y 562 if (zm == 1) { // Pas de zoom 563 for(j=ofy; j<ofy+npy; j++) 564 for(i=ofx; i<ofx+npx; i++) 565 { *pp = (unsigned char) lut->ApplyFast( 566 this->Value(j*sgnX+offX, i*sgnY+offY)); 567 pp++; } 568 } 569 else if (zm < -1) { // Compression 570 for(j=ofy; j<ofy+npy; j+=zmm) 571 for(i=ofx; i<ofx+npx; i+=zmm) { 572 *pp = lut->ApplyFast( MeanVal(j*sgnX+offX, (j+zmm-1)*sgnX+offX, 573 i*sgnY+offY, (i+zmm-1)*sgnY+offY) ); 574 pp++; 575 } 576 } 577 else { // Agrandissement 578 for(j=ofy; j<ofy+npy; j++) 579 for(i=ofx; i<ofx+npx; i++) { 580 ucp = (unsigned char) lut->ApplyFast(this->Value(j*sgnX+offX, i*sgnY+offY)); 581 for(l=0; l<zm; l++) { 582 pp = pixc.ShortPointer()+((j-ofy)*zm+l)*nppx+((i-ofx)*zm); 583 for(k=0; k<zm; k++) { *pp = ucp; pp++; } 584 } 585 } 586 } 587 } // Fin du cas avec echange d'axe X/Y 588 else { 589 if (zm == 1) { // Pas de zoom 590 for(j=ofy; j<ofy+npy; j++) 591 for(i=ofx; i<ofx+npx; i++) 592 { *pp = (unsigned char) lut->ApplyFast( 593 this->Value(i*sgnX+offX, j*sgnY+offY)); 594 pp++; } 595 } 596 else if (zm < -1) { // Compression 597 for(j=ofy; j<ofy+npy; j+=zmm) 598 for(i=ofx; i<ofx+npx; i+=zmm) { 599 *pp = lut->ApplyFast( MeanVal(i*sgnX+offX, (i+zmm-1)*sgnX+offX, 600 j*sgnY+offY, (j+zmm-1)*sgnY+offY) ); 601 pp++; 602 } 603 } 604 else { // Agrandissement 605 for(j=ofy; j<ofy+npy; j++) 606 for(i=ofx; i<ofx+npx; i++) { 607 ucp = (unsigned char) lut->ApplyFast(this->Value(i*sgnX+offX, j*sgnY+offY)); 608 for(l=0; l<zm; l++) { 609 pp = pixc.ShortPointer()+((j-ofy)*zm+l)*nppx+((i-ofx)*zm); 610 for(k=0; k<zm; k++) { *pp = ucp; pp++; } 611 } 612 } 613 } 614 } 615 } // ---- Fin pixmap de type Byte 616 617 return; 553 618 } 554 619 -
trunk/SophyaPI/PI/parradapter.h
r3458 r3519 9 9 #include "machdefs.h" 10 10 #include "lut.h" 11 #include "pipixutils.h" 11 12 12 13 #include <string> … … 54 55 virtual void DefineXYCoordinates(double x0, double y0, double dx, double dy); 55 56 // Doit etre defini par les classes derivees 56 virtual double Value(int ix, int iy) = 0; 57 virtual double Value(int ix, int iy) = 0; 58 // Peut etre redefini pour les classes derivees, pour une optimisation par exemple 59 virtual double MeanVal(int ix1, int ix2, int jy1, int jy2); 57 60 58 61 virtual void XYfromxy(int ix, int iy, double& x, double& y); … … 89 92 90 93 // Calcul pixmap avec un LUT 91 virtual unsigned char * ComputePixmap(LUT* lut, int ofx, int ofy, int zm, 92 int xwsz, int ywsz, unsigned char * opix, 93 int * oxsp, int * oysp); 94 virtual void ComputePixmap(LUT* lut, int ofx, int ofy, int zm, 95 int xwsz, int ywsz, PIPixColIdx & pixc); 94 96 95 97 // Methode de decodage des options - Implementation par defaut ne fait rien … … 109 111 }; 110 112 113 // Adaptateur de tableau 1D pour pointeur de type T * 114 111 115 template <class T> 112 116 class P1DAdapter : public P1DArrayAdapter { … … 126 130 127 131 132 // Adaptateur de tableau 2D pour pointeur de type T * 128 133 template <class T> 129 134 class P2DAdapter : public P2DArrayAdapter { … … 134 139 135 140 virtual ~P2DAdapter() { if ( (aDel) && (mData) ) delete[] mData; } 136 virtual double 141 virtual double Value(int ix, int iy) 137 142 { if ( (ix < 0) || (iy < 0) || (ix >= sX) || (iy >= sY) ) return(0.); 138 143 return(mData[ix+iy*sX]); } 144 virtual double MeanVal(int ix1, int ix2, int jy1, int jy2) 145 { 146 int ec; 147 if (ix1>ix2) { ec=ix1; ix1=ix2; ix2=ec; } 148 if (jy1>jy2) { ec=jy1; jy1=jy2; jy2=ec; } 149 double ss = 0.; 150 for(int j=jy1; j<=jy2; j++) 151 for(int i=ix1; i<=ix2; i++) ss += (double)(mData[i+j*sX]); 152 ss /= (double)((jy2-jy1+1)*(ix2-ix1+1)); 153 return ss; 154 } 155 139 156 protected : 140 157 bool aDel; … … 142 159 }; 143 160 161 // Adaptateur de tableau 2D pour tableau RGB 162 163 class P2DPixRGBAdapter : public P2DArrayAdapter { 164 public : 165 P2DPixRGBAdapter(PIPixRGBArray * rgbp, bool ad=false) : 166 P2DArrayAdapter(rgbp->XSize(), rgbp->YSize() ) 167 { aDel = ad; mPix = rgbp; } 168 virtual ~P2DPixRGBAdapter() { if ( (aDel) && (mPix) ) delete mPix; } 169 170 virtual double Value(int ix, int iy) 171 { 172 if ( (ix < 0) || (iy < 0) || (ix >= sX) || (iy >= sY) ) return(0.); 173 PIPixRGB rgb = (*mPix)(ix, iy); 174 return ( ((double)rgb.blue*256.+(double)rgb.green)*256.+(double)rgb.red ); 175 } 176 virtual double MeanVal(int ix1, int ix2, int jy1, int jy2) 177 { 178 int ec; 179 if (ix1>ix2) { ec=ix1; ix1=ix2; ix2=ec; } 180 if (jy1>jy2) { ec=jy1; jy1=jy2; jy2=ec; } 181 int r = 0; 182 int g = 0; 183 int b = 0; 184 for(int j=jy1; j<=jy2; j++) 185 for(int i=ix1; i<=ix2; i++) { 186 PIPixRGB rgb = (*mPix)(i, j); 187 r += rgb.red; g += rgb.green; b += rgb.blue; 188 } 189 int n = (jy2-jy1+1)*(ix2-ix1+1); 190 r /= n; g /= n; b /= n; 191 return ( ((double)b*256.+(double)g)*256.+(double)r ); 192 } 193 194 protected : 195 bool aDel; 196 PIPixRGBArray* mPix; 197 }; 198 144 199 145 200 -
trunk/SophyaPI/PI/picmap.cc
r2615 r3519 24 24 //-- 25 25 26 #define MXMAPIDS 3 026 #define MXMAPIDS 33 27 27 static int MapNCols[MXMAPIDS] = { 28 28 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 29 29 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 30 256, 256, 256, 256, 256, 256, 256, 256, 256, 256 }; 30 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 31 216, 512, 4096 }; 31 32 32 33 // Tables de couleurs : … … 37 38 // 1 Standard PI 64 couleurs differentes 38 39 // 1 Standard PI 16 couleurs 40 // 1 Standard PI , 216 couleurs RGB (6x6x6) 41 // 1 Standard PI , 512 couleurs RGB (8x8x8) 42 // 1 Standard PI , 4096 couleurs RGB (16x16x16) 39 43 40 44 static const char* MapNoms[MXMAPIDS] = { … … 47 51 "MIDAS_Stairs9","MIDAS_StairCase","MIDAS_Color", 48 52 "MIDAS_ManyCol","MIDAS_Idl14","MIDAS_Idl15", 49 "MultiCol16","MultiCol64"};53 "MultiCol16","MultiCol64","RGB216CM","RGB512CM","RGB4096CM"}; 50 54 51 55 static CMapId MapIds[MXMAPIDS] = { … … 58 62 CMAP_MIDAS_Stairs9, CMAP_MIDAS_StairCase, CMAP_MIDAS_Color, 59 63 CMAP_MIDAS_ManyCol, CMAP_MIDAS_Idl14, CMAP_MIDAS_Idl15, 60 CMAP_COL16, CMAP_COL64 } ;64 CMAP_COL16, CMAP_COL64, CMAP_RGB216, CMAP_RGB512, CMAP_RGB4096, } ; 61 65 62 66 static int mColTNums[8192]; // Max 8192 tables differentes pour le moment … … 70 74 NULL, NULL, NULL, NULL, NULL, 71 75 NULL, NULL, NULL, NULL, NULL, 72 NULL, NULL, NULL, NULL, NULL }; 76 NULL, NULL, NULL, NULL, NULL, 77 NULL, NULL, NULL, }; 73 78 74 79 int PIColorMap::NumberStandardColorMaps() … … 122 127 //| CMAP_COL64 : 64 Couleurs arcenciel 123 128 //| CMAP_OTHER : Table non standard 129 //| CMAP_RGB216 : 216 couleurs, 6x6x6 couleurs en composantes RGB 130 //| CMAP_RGB512 : 512 couleurs, 8x8x8 couleurs en composantes RGB 131 //| CMAP_RGB4096 : 4096 couleurs, 16x16x16 couleurs en composantes RGB 132 124 133 // Toutes les tables de couleurs standard possèdent 256 cellules de couleurs, 125 // contenant 16 ou 32 ou 128 couleurs distinctes.134 // contenant 16 ou 32 ou 128 (ou 216) couleurs distinctes, sauf CMAP_RGB512 et CMAP_RGB4096. 126 135 // 127 136 // PIColorMap(string const& nom, int nCol) … … 563 572 } 564 573 break; 574 575 case CMAP_RGB216 : 576 i = 0; 577 for(int kb=0; kb<6; kb++) { 578 mycol.blue = (unsigned short)(kb*65535/5); 579 for(int jg=0; jg<6; jg++) { 580 mycol.green = (unsigned short)(jg*65535/5); 581 for(int ir=0; ir<6; ir++) { 582 mycol.red = (unsigned short)(ir*65535/5); 583 AllocColor(mycol, i); i++; 584 } 585 } 586 } 587 mycol.blue = mycol.green = mycol.red = 65535; 588 for(i=216; i<256; i++) 589 AllocColor(mycol, i); 590 break; 591 592 case CMAP_RGB512 : 593 case CMAP_RGB4096 : 594 { 595 int nlev = 8; 596 if ( mType == CMAP_RGB4096) nlev = 16; 597 int drgb = 65535/(nlev-1); 598 i = 0; 599 for(int kb=0; kb<8; kb++) { 600 mycol.blue = (unsigned short)(kb*drgb); 601 for(int jg=0; jg<8; jg++) { 602 mycol.green = (unsigned short)(jg*drgb); 603 for(int ir=0; ir<8; ir++) { 604 mycol.red = (unsigned short)(ir*drgb); 605 AllocColor(mycol, i); i++; 606 } 607 } 608 } 609 } 610 break; 611 565 612 //---------------------------------------------------------- 566 613 //---------------------------------------------------------- -
trunk/SophyaPI/PI/picmap.h
r2379 r3519 47 47 48 48 // Table simple a 16/64 couleurs 49 CMAP_COL16 = 998, // 16 Couleurs arcenciel 50 CMAP_COL64 = 999 // 64 Couleurs differentes 49 CMAP_COL16 = 991, // 16 Couleurs arcenciel 50 CMAP_COL64 = 992, // 64 Couleurs differentes 51 // Table de couleurs RGB 6x6x6=216 couleurs 52 CMAP_RGB216 = 993, // 216 couleurs avec toutes les nuances RGB 53 CMAP_RGB512 = 994, // 512 couleurs avec toutes les nuances RGB 54 CMAP_RGB4096 = 995 // 4096 couleurs avec toutes les nuances RGB 51 55 }; 52 56 -
trunk/SophyaPI/PI/pigraphgen.h
r2257 r3519 17 17 18 18 #include "pilineatt.h" // Class PILineAtt 19 #include "pipixutils.h" // classes utilitaires pour pixels/RGB ... 19 20 20 21 … … 118 119 bool fgline=true); 119 120 120 virtual void DrawPixmap(PIGrCoord x, PIGrCoord y, unsigned char *pix,121 int sx, int sy, PIColorMap* cmap)= 0;121 virtual void DrawPixmap(PIGrCoord x, PIGrCoord y, PIPixColIdx & pix, 122 PIColorMap* cmap) = 0; 122 123 123 124 // Modifications attributs graphiques -
trunk/SophyaPI/PI/pigraphps.cc
r2615 r3519 324 324 325 325 /* --Methode-- */ 326 void PIGraphicPS::DrawPixmap(PIGrCoord x, PIGrCoord y, unsigned char *pix, 327 int sx, int sy, PIColorMap* cmap) 328 { 326 void PIGraphicPS::DrawPixmap(PIGrCoord x, PIGrCoord y, PIPixColIdx & pixc, PIColorMap* cmap) 327 { 328 int sx = pixc.XSize(); 329 int sy = pixc.YSize(); 329 330 if ( (sx < 1) || (sy < 1) ) return; 330 if ((pix == NULL) || (cmap == NULL)) return; 331 if(mPSOut) 332 mPSOut->Image((double)x, (double)y, (double)sx, (double)sy, sx, sy, pix, cmap); 331 if (cmap == NULL) return; 332 if(mPSOut) { 333 if (pixc.BytePointer()) 334 mPSOut->Image((double)x, (double)y, (double)sx, (double)sy, sx, sy, pixc.BytePointer(), cmap); 335 else if (pixc.ShortPointer()) 336 mPSOut->Image((double)x, (double)y, (double)sx, (double)sy, sx, sy, pixc.ShortPointer(), cmap); 337 } 333 338 return; 334 339 } -
trunk/SophyaPI/PI/pigraphps.h
r2257 r3519 38 38 virtual void DrawMarker(PIGrCoord x0, PIGrCoord y0); 39 39 virtual void DrawMarkers(PIGrCoord *x, PIGrCoord *y, int n); 40 virtual void DrawPixmap(PIGrCoord x, PIGrCoord y, unsigned char *pix, 41 int sx, int sy, PIColorMap* cmap); 40 virtual void DrawPixmap(PIGrCoord x, PIGrCoord y, PIPixColIdx & pix, PIColorMap* cmap); 42 41 43 42 // Modifications attributs graphiques -
trunk/SophyaPI/PI/pigraphuc.cc
r2615 r3519 729 729 730 730 /* --Methode-- */ 731 void PIGraphicUC::DrawPixmap(PIGrCoord x, PIGrCoord y, unsigned char *pix, 732 int sx, int sy, PIColorMap* cmap) 733 { 734 if (!mGrC) return; 735 if ( (sx < 1) || (sy < 1) ) return; 736 if ((pix == NULL) || (cmap == NULL)) return; 731 void PIGraphicUC::DrawPixmap(PIGrCoord x, PIGrCoord y, PIPixColIdx & pix, PIColorMap* cmap) 732 { 733 if (!mGrC) return; 734 if ( (pix.XSize() < 1) || (pix.YSize() < 1) ) return; 735 if (cmap == NULL) return; 737 736 double xf,yf; 738 737 UC2GrC(x, y, xf, yf); 739 mGrC->DrawPixmap(xf, yf, pix, sx, sy,cmap);738 mGrC->DrawPixmap(xf, yf, pix, cmap); 740 739 } 741 740 -
trunk/SophyaPI/PI/pigraphuc.h
r2257 r3519 78 78 bool fgline=true); 79 79 80 virtual void DrawPixmap(PIGrCoord x, PIGrCoord y, unsigned char *pix, 81 int sx, int sy, PIColorMap* cmap); 80 virtual void DrawPixmap(PIGrCoord x, PIGrCoord y, PIPixColIdx & pix, PIColorMap* cmap); 82 81 83 82 // Modifications attributs graphiques -
trunk/SophyaPI/PI/pigraphx.cc
r2615 r3519 384 384 385 385 /* --Methode-- */ 386 void PIGraphicX::DrawPixmap(PIGrCoord x, PIGrCoord y, unsigned char *pix, 387 int sx, int sy, PIColorMap* cmap) 386 void PIGraphicX::DrawPixmap(PIGrCoord x, PIGrCoord y, PIPixColIdx & pixc, PIColorMap* cmap) 388 387 { 389 388 Window xw; … … 395 394 XImage * ximg; 396 395 397 if ( (sx < 1) || (sy < 1) ) return; 398 if ((pix == NULL) || (cmap == NULL)) return; 396 int sx = pixc.XSize(); 397 int sy = pixc.YSize(); 398 if ((sx==0) || (sx==0) || (cmap == NULL)) return; 399 399 400 400 … … 406 406 pad = (depth > 8) ? 32 : 8; 407 407 ximg = XCreateImage (mdsp,DefaultVisual(mdsp,scr), 408 depth,ZPixmap,0,NULL, sx, 408 depth,ZPixmap,0,NULL, sx,sy, pad,0); 409 409 if (ximg == NULL) return; 410 410 ximg->data = new char [sy*ximg->bytes_per_line]; … … 412 412 { XFree(ximg); return; } 413 413 414 for(j=0; j<sy; j++) 415 for(i=0; i<sx; i++) 416 { XPutPixel(ximg, i, j, cmap->Color(*pix) ); pix++; } 414 if (pixc.BytePointer()) { 415 unsigned char * pix = pixc.BytePointer(); 416 for(j=0; j<sy; j++) 417 for(i=0; i<sx; i++) 418 { XPutPixel(ximg, i, j, cmap->Color(*pix) ); pix++; } 419 } 420 else if (pixc.ShortPointer()) { 421 unsigned short * pix = pixc.ShortPointer(); 422 for(j=0; j<sy; j++) 423 for(i=0; i<sx; i++) 424 { XPutPixel(ximg, i, j, cmap->Color(*pix) ); pix++; } 425 } 426 else { 427 for(j=0; j<sy; j++) 428 for(i=0; i<sx; i++) XPutPixel(ximg, i, j, 0 ); 429 } 417 430 418 431 XPutImage(mdsp, xw, DefGC(), ximg, 0, 0, (int)x, (int)y, sx, sy); -
trunk/SophyaPI/PI/pigraphx.h
r2257 r3519 38 38 virtual void DrawMarker(PIGrCoord x0, PIGrCoord y0); 39 39 virtual void DrawMarkers(PIGrCoord *x, PIGrCoord *y, int n); 40 virtual void DrawPixmap(PIGrCoord x, PIGrCoord y, unsigned char *pix, 41 int sx, int sy, PIColorMap* cmap); 40 virtual void DrawPixmap(PIGrCoord x, PIGrCoord y, PIPixColIdx & pix, PIColorMap* cmap); 42 41 43 42 // Modifications attributs graphiques -
trunk/SophyaPI/PI/piimage.cc
r3458 r3519 128 128 cutscw = NULL; 129 129 130 gpixm = zpixm = pixm = NULL;131 xsgpxm = xszpxm = xspxm = 0;132 ysgpxm = yszpxm = yspxm = 0;133 130 lut = NULL; 134 131 offx = offy = 0; … … 174 171 PIImage::~PIImage() 175 172 { 176 if (pixm) delete pixm;177 if (zpixm) delete zpixm;178 173 if (zow) 179 174 { 180 zow->SetPixmap(NULL ,0,0);175 zow->SetPixmap(NULL); 181 176 zow->EraseWindow(); 182 177 } 183 if (gpixm) delete gpixm;184 178 if (gvw) 185 179 { 186 gvw->SetPixmap(NULL ,0,0);180 gvw->SetPixmap(NULL); 187 181 gvw->EraseWindow(); 188 182 gvw->SetMsg(0); gvw->SetMsgParent(NULL); … … 256 250 xszpav = yszpav = 1; 257 251 img = pim; 258 if (gpixm) delete gpixm; 259 gpixm = NULL; 260 xsgpxm = ysgpxm = 0; 252 gpixm.DeAlloc(); 261 253 zmgv = 1; 262 254 … … 641 633 else if (opts.substr(4,4) == "sqrt") typlut=kLutType_Sqrt; 642 634 else if (opts.substr(4,6) == "square") typlut=kLutType_Square; 635 else if (opts.substr(4,6) == "rgb") typlut=kLutType_RGB; 643 636 SetLut(AutoLut_No, min, max, typlut, 0, false); 644 637 continue; … … 672 665 } 673 666 // Set color map if requested 674 if(fgcmapid || revcmapid) SetColMapId(cmapid,revcmapid,false); 667 if(fgcmapid || revcmapid) 668 SetColMapId(cmapid,revcmapid,false); 669 675 670 // Configure axes if requested 676 671 if (confaxes) ChangeAxesConfiguration(invx, invy, exchxy, false); … … 691 686 SetLut(t_al, min_al, max_al, Lut()->Type(), ns_al, false); 692 687 } 688 693 689 return(ndec+ndec2); 694 690 } … … 728 724 (cmapid == CMAP_GREY128) || (cmapid == CMAP_GREYINV128)) mdrw->GetGraphicAtt().SetColAtt(PI_Red); 729 725 else mdrw->GetGraphicAtt().SetColAtt(PI_Turquoise); 726 if (lut) lut->SetNCol(cmp->NCol()); 730 727 PIPixmap::SetColMap(cmp, refr); 731 728 if (refr) { xcurs = ycurs = -1; } … … 742 739 (cmapid == CMAP_GREY128) || (cmapid == CMAP_GREYINV128)) mdrw->GetGraphicAtt().SetColAtt(PI_Red); 743 740 else mdrw->GetGraphicAtt().SetColAtt(PI_Turquoise); 744 PIPixmap::SetColMapId(cmapid, revidx, refr); 741 PIPixmap::SetColMapId(cmapid, revidx, false); 742 if (lut) lut->SetNCol(GetColMap()->NCol()); 743 if (refr) Refresh(); 745 744 if (zow) zow->SetColMapId(cmapid, revidx, refr); 746 745 if (gvw) gvw->SetColMapId(cmapid, revidx, refr); … … 1111 1110 ywsz = YSize(); 1112 1111 1113 pixm = img->ComputePixmap(lut, offx, offy, zoom, xwsz, ywsz, pixm, &xspxm, &yspxm);1112 img->ComputePixmap(lut, offx, offy, zoom, xwsz, ywsz, pixm); 1114 1113 int xw1, yw1, xw2, yw2; 1115 xw1 = (xwsz- xspxm)/2;1114 xw1 = (xwsz-pixm.XSize())/2; 1116 1115 if (xw1 < 0) xw1 = 0; 1117 yw1 = (ywsz- yspxm)/2;1116 yw1 = (ywsz-pixm.YSize())/2; 1118 1117 if (yw1 < 0) yw1 = 0; 1119 xw2 = xspxm+xw1;1120 yw2 = yspxm+yw1;1118 xw2 = pixm.XSize()+xw1; 1119 yw2 = pixm.YSize()+yw1; 1121 1120 SetDefaultDrawRectangle(xw1, yw1, xw2, yw2, false); 1122 // printf("--DBG-- ComputePixmap() %d %d $ %d %d :: %d %d , %d %d \n", xwsz, ywsz, xspxm, yspxm, xw1, yw1, xw2, yw2);1121 // printf("--DBG-- ComputePixmap() %d %d $ %d %d :: %d %d , %d %d \n", xwsz, ywsz, pixm.XSize(), pixm.YSize(), xw1, yw1, xw2, yw2); 1123 1122 int x1,y1, x2,y2; 1124 1123 ofx = xw1; ofy = yw1; … … 1131 1130 // printf("--DBG2-- ComputePixmap() %g %g %g %g \n", fx1, fx2, fy1, fy2); 1132 1131 xcurs = ycurs = -1; 1133 SetPixmap( pixm, xspxm, yspxm, true, xw1, yw1);1132 SetPixmap(&pixm, true, xw1, yw1); 1134 1133 // Refresh(); 1135 1134 return; … … 1174 1173 if (lofy < 0) lofy = 0; 1175 1174 1176 zpixm = img->ComputePixmap(lut, lofx, lofy, zm, xwsz, ywsz, zpixm, &xszpxm, &yszpxm);1175 img->ComputePixmap(lut, lofx, lofy, zm, xwsz, ywsz, zpixm); 1177 1176 zow->SetColMap(cmap, false); 1178 zow->SetPixmap( zpixm, xszpxm, yszpxm);1177 zow->SetPixmap(&zpixm); 1179 1178 zow->SetUserData((void *)this, 0); 1180 1179 // zow->Refresh(); … … 1203 1202 zmgv = zmx; 1204 1203 if (zmx > 1) zmx = -zmx; 1205 gpixm = img->ComputePixmap(lut, 0, 0, zmx, xwsz, ywsz, gpixm, &xsgpxm, &ysgpxm);1206 // printf("DEBUG-ComputeGloVPixmap() %d-%d , (%d,%d) , %d-%d \n", xwsz, ywsz, zmx, zmy, xsgpxm, ysgpxm);1204 img->ComputePixmap(lut, 0, 0, zmx, xwsz, ywsz, gpixm); 1205 // printf("DEBUG-ComputeGloVPixmap() %d-%d , (%d,%d) , %d-%d \n", xwsz, ywsz, zmx, zmy, gpixm.XSize(), gpixm.YSize()); 1207 1206 return; 1208 1207 } … … 1215 1214 1216 1215 int xw1, yw1, xw2, yw2; 1217 xw1 = (gvw->XSize()- xsgpxm)/2;1216 xw1 = (gvw->XSize()-gpixm.XSize())/2; 1218 1217 if (xw1 < 0) xw1 = 0; 1219 yw1 = (gvw->YSize()- ysgpxm)/2;1218 yw1 = (gvw->YSize()-gpixm.YSize())/2; 1220 1219 if (yw1 < 0) yw1 = 0; 1221 xw2 = xsgpxm+xw1;1222 yw2 = ysgpxm+yw1;1220 xw2 = gpixm.XSize()+xw1; 1221 yw2 = gpixm.YSize()+yw1; 1223 1222 1224 1223 if (zoom > 0) zm = zmgv*zoom; … … 1242 1241 gvw->AddDrawer(gvdrw, xw1, yw1, xw2, yw2, false); 1243 1242 gvw->SetColMap(cmap, false); 1244 gvw->SetPixmap( gpixm, xsgpxm, ysgpxm, true, xw1, yw1);1243 gvw->SetPixmap(&gpixm, true, xw1, yw1); 1245 1244 gvw->SetUserData((void *)this, 0); 1246 1245 gvw->SetMsg(Msg()+626); -
trunk/SophyaPI/PI/piimage.h
r3455 r3519 154 154 bool winovis; // $CHECK$ Reza A enlever si possible 17/6/96 155 155 // Tableau des pixels principal 156 unsigned char * pixm; 157 int xspxm, yspxm; 156 PIPixColIdx pixm; 158 157 LUT * lut; 159 158 AutoLutType t_al; // Si AutoLut et le type lors du dernier appel a SetLut() … … 164 163 int zoom; 165 164 PIPixmap * zow; 166 unsigned char * zpixm; 167 int xszpxm, yszpxm; 168 // Fenetre pour l'image entiere 165 PIPixColIdx zpixm; 166 // Fenetre pour vue globale de l'image 169 167 int zmgv; 170 168 PIPixmap * gvw; 171 unsigned char * gpixm; 172 int xsgpxm, ysgpxm; 169 PIPixColIdx gpixm; 173 170 PIElDrawer* gvdrw; 174 171 // Fenetre d'affichage du ColMap -
trunk/SophyaPI/PI/piimgtools.cc
r3460 r3519 102 102 mOpt[0]->AppendItem("Sqrt", 1102); 103 103 mOpt[0]->AppendItem("Square", 1103); 104 mOpt[0]->AppendItem("RGB", 1104); 104 105 mOpt[0]->SetValue(1100); 105 106 mOpt[0]->SetBinding(PIBK_elastic,PIBK_elastic, PIBK_elastic,PIBK_elastic); … … 190 191 mOptzc[0]->AppendPDMenu(mCasc[1]); 191 192 // Apres les tables importees de MIDAS 192 nsct4 = PIColorMap::NumberStandardColorMaps()- 2; // Les reste jusqu'a l'avant derniere193 nsct4 = PIColorMap::NumberStandardColorMaps()-5; // Les reste jusqu'a l'avant derniere 193 194 for(kcc=nsct3; kcc<nsct4; kcc++) 194 195 mCasc[2]->AppendItem(PIColorMap::GetStandardColorMapName(kcc).c_str(), 201+kcc); 195 196 mOptzc[0]->AppendPDMenu(mCasc[2]); 196 // Les tables qui restent ( Col16 , ... )197 // Les tables qui restent ( RGB218, Col16 , ... ) 197 198 for(kcc=nsct4; kcc<PIColorMap::NumberStandardColorMaps(); kcc++) 198 mOptzc[0]->AppendItem(PIColorMap::GetStandardColorMapName(kcc).c_str(), 201+kcc);199 mOptzc[0]->AppendItem(PIColorMap::GetStandardColorMapName(kcc).c_str(), 201+kcc); 199 200 // On ajoute un CheckItem pour inverser les index de table de couleur 200 201 mOptzc[0]->Menu()->AppendSeparator(); … … 373 374 else if( (mpii->Lut())->Type() == kLutType_Sqrt ) mOpt[0]->SetValue(1102); 374 375 else if( (mpii->Lut())->Type() == kLutType_Square ) mOpt[0]->SetValue(1103); 376 else if( (mpii->Lut())->Type() == kLutType_RGB ) mOpt[0]->SetValue(1104); 375 377 else mOpt[0]->SetValue(1100); 376 378 } … … 388 390 double min, max, del; 389 391 int lauto, typ; 390 int typlut[ 4] = {kLutType_Lin, kLutType_Log, kLutType_Sqrt, kLutType_Square} ;392 int typlut[5] = {kLutType_Lin, kLutType_Log, kLutType_Sqrt, kLutType_Square, kLutType_RGB } ; 391 393 AutoLutType alts[13] = { AutoLut_No, 392 394 AutoLut_MeanSigma, AutoLut_MeanSigma, AutoLut_MeanSigma, -
trunk/SophyaPI/PI/pipixmapgen.cc
r2615 r3519 8 8 #include "sopnamsp.h" 9 9 #include "pipixmapgen.h" 10 10 11 11 12 // --------- Methodes de la classe PIPixMap ---------- … … 43 44 // long kind() 44 45 // Retourne le type ("=PIPixmap::ClassId") 45 // void SetPixmap(unsigned char *pix, int sx, int sy, bool refr=true, int ox=0, int oy=0) 46 // Associe un tableau d'index "pix" de taille "sx * sy". 47 // (ox,oy)" définissent l'offset d'affichage. 46 // void SetPixmap(PIPixColIdx *pixidx, int sx, int sy, bool refr=true, int ox=0, int oy=0) 47 // Associe un tableau d'index de couleur "pixidx". (ox,oy)" définissent l'offset d'affichage. 48 48 // Si "refr=true", la méthode "Refresh()" est appelée. 49 49 //-- … … 87 87 { 88 88 pixmap = NULL; 89 nx = ny = 0;89 fgownpmap = false; 90 90 ofx = ofy = 0; 91 91 mPpos[0] = mPpos[0] = 0; … … 99 99 { 100 100 delete cmap; 101 if (fgownpmap && pixmap) delete pixmap; 101 102 } 102 103 103 104 /* --Methode-- */ 104 void PIPixmapGen::SetPixmap( unsigned char *pix, int sx, int sy, bool refr, int ox, int oy)105 void PIPixmapGen::SetPixmap(PIPixColIdx *pixidx, bool refr, int ox, int oy) 105 106 { 106 pixmap = pix; 107 if (pixmap) 108 { 109 if (sx < 0) sx = 0; 110 if (sy < 0) sy = 0; 111 if (ox < 0) ox = 0; 112 if (oy < 0) oy = 0; 113 nx = sx; ny = sy; 114 ofx = ox; ofy = oy; 107 if (fgownpmap && pixmap) delete pixmap; 108 fgownpmap = false; 109 pixmap = pixidx; 110 if (ox < 0) ox = 0; 111 if (oy < 0) oy = 0; 112 ofx = ox; ofy = oy; 113 if (refr) Refresh(); 114 } 115 116 /* --Methode-- */ 117 void PIPixmapGen::SetRGBArray(PIPixRGBArray *rgba, CMapId cmapid, bool refr, int ox, int oy) 118 { 119 if (rgba == NULL) return; 120 int quantum = 8; 121 if (cmapid == CMAP_RGB216) quantum = 6; 122 else if (cmapid == CMAP_RGB4096) quantum = 16; 123 else cmapid = CMAP_RGB512; 124 SetColMapId(cmapid, false); 125 PIPixColIdx * pixc = new PIPixColIdx; 126 pixc->AllocateByte(rgba->XSize(), rgba->YSize()); 127 for(int j=0; j<rgba->YSize(); j++) 128 for(int i=0; i<rgba->XSize(); i++) { 129 PIPixRGB vv = (*rgba)(i,j); 130 int r = (int)vv.red*quantum/256; 131 int g = (int)vv.green*quantum/256; 132 int b = (int)vv.blue*quantum/256; 133 pixc->GetShort(i,j) = (unsigned short)((b*quantum+g)*quantum+r); 115 134 } 116 else { ofx = ofy = nx = ny = 0; } 117 if (refr) Refresh(); 135 SetPixmap(pixc, refr, ox, oy); 136 fgownpmap = true; 137 return; 118 138 } 119 139 -
trunk/SophyaPI/PI/pipixmapgen.h
r1503 r3519 9 9 #include PICMAP_H 10 10 11 #include "pipixutils.h" 12 11 13 #include <list> 14 12 15 13 16 class PIPixmapGen : public PIBaseWdg … … 22 25 virtual long kind() {return ClassId; } 23 26 24 virtual void SetPixmap(unsigned char *pix, int sx, int sy, 25 bool refr=true, int ox=0, int oy=0); 27 virtual void SetPixmap(PIPixColIdx *pixidx, bool refr=true, int ox=0, int oy=0); 28 virtual void SetRGBArray(PIPixRGBArray *rgba, CMapId cmapid=CMAP_RGB512, 29 bool refr=true, int ox=0, int oy=0); 26 30 27 31 virtual void SetColMap(PIColorMap* cmp, bool refr=true); … … 39 43 40 44 protected: 41 unsigned char *pixmap;42 int nx, ny;43 int ofx, ofy; 45 PIPixColIdx *pixmap; // Pointeur d'objet PIPixCoIdx, tableau d'index de couleurs, peut etre NULL 46 bool fgownpmap; // si true -> possede le pixmap et doit le deleter si besoin 47 int ofx, ofy; // Offset d'affichage 44 48 PIColorMap* cmap; 45 49 -
trunk/SophyaPI/PI/pipixmapx.cc
r2615 r3519 7 7 #include "sopnamsp.h" 8 8 #include "pipixmapx.h" 9 #include <iostream> 10 using namespace std; 9 11 10 12 static GC mygc; … … 31 33 { 32 34 int i,j; 33 unsigned char *pp; 34 35 if (pixmap) 36 { 37 for(j=0; j<ny; j++) 38 { 39 pp = pixmap+j*nx; 40 for(i=0; i<nx; i++) 41 { XPutPixel(myximg, i, j, cmap->Color(*pp) ); pp++; } 35 int nx = 0; 36 int ny = 0; 37 if (pixmap!=NULL) { 38 nx = pixmap->XSize(); 39 if (nx > XSize()) nx = XSize(); 40 ny = pixmap->YSize(); 41 if (ny > YSize()) ny = YSize(); 42 if (pixmap->BytePointer()!=NULL) { 43 unsigned char *pp = pixmap->BytePointer(); 44 for(j=0; j<ny; j++) { 45 pp = pixmap->BytePointer()+j*pixmap->XSize(); 46 for(i=0; i<nx; i++) 47 { XPutPixel(myximg, i, j, cmap->Color(*pp) ); pp++; } 48 } 49 } 50 else if (pixmap->ShortPointer()!=NULL) { 51 unsigned short *pp = pixmap->ShortPointer(); 52 for(j=0; j<ny; j++) { 53 pp = pixmap->ShortPointer()+j*pixmap->XSize(); 54 for(i=0; i<nx; i++) 55 { XPutPixel(myximg, i, j, cmap->Color(*pp) ); pp++; } 42 56 } 43 57 } 44 58 } 59 /* ----- On peut laisser le reste - ce n'est pas utilise dans le Draw 60 // On remplit le restant 61 for(j=0; j<YSize(); j++) 62 for(i=nx; i<XSize(); i++) 63 XPutPixel(myximg, i, j, 0 ); 45 64 for(j=ny; j<YSize(); j++) 46 for(i= nx; i<XSize(); i++)65 for(i=0; i<XSize(); i++) 47 66 XPutPixel(myximg, i, j, 0 ); 48 67 ------- */ 49 68 PIBaseWdgX::Refresh(); 50 69 } … … 66 85 if (!g) return; 67 86 if (g->kind() == PI_PSFileGraphics ) { 68 g->DrawPixmap(ofx, ofy, pixmap, nx, ny,cmap);87 g->DrawPixmap(ofx, ofy, pixmap, cmap); 69 88 // Il faut faire quelque chose Sinon ??! 70 89 } … … 78 97 79 98 if (!g) return; 80 if ((myximg == NULL) || (cmap == NULL)) return;81 99 82 100 if (g->kind() == PI_PSFileGraphics ) { 83 if (pixmap) g->DrawPixmap(ofx, ofy, pixmap, nx, ny, cmap);101 g->DrawPixmap(ofx, ofy, (*pixmap), cmap); 84 102 return; 85 103 } 104 86 105 87 106 Window xw = XtWindow(XtWdg()); 88 107 Display * mdsp = PIXDisplay(); 89 108 109 if ((myximg == NULL) || (cmap == NULL) || (pixmap == NULL) || 110 (pixmap->XSize()<=0) || (pixmap->YSize()<=0) ) { 111 XClearArea(mdsp, xw, x0, y0, dx, dy, False); return; 112 } 113 90 114 int mx, my, ox, oy; 91 115 92 116 if (x0 < 0) x0 = 0; 93 117 if (y0 < 0) y0 = 0; 94 mx = nx+ofx; my = ny+ofy; 118 119 mx = pixmap->XSize()+ofx; my = pixmap->YSize()+ofy; 120 95 121 if (dx > (XSize()-x0)) dx = XSize()-x0; 96 122 if (dy > (YSize()-y0)) dy = YSize()-y0; … … 101 127 102 128 ox = oy = 0; 103 104 129 if (ofx > x0) 105 130 { XClearArea(mdsp, xw, x0, y0, ofx-x0, dy, False); … … 115 140 if (my < (y0+dy)) 116 141 { XClearArea(mdsp, xw, x0, my, dx, y0+dy-my, False); dy = my-y0; } 142 143 /* 144 if (ofx > x0) 145 XClearArea(mdsp, xw, x0, y0, ofx-x0, dy, False); 146 if (ofy > y0) 147 XClearArea(mdsp, xw, x0, y0, dx, ofy-y0, False); 117 148 149 if (mx < (x0+dx)) 150 XClearArea(mdsp, xw, mx, y0, x0+dx-mx, dy, False); 151 if (my < (y0+dy)) 152 XClearArea(mdsp, xw, x0, my, dx, y0+dy-my, False); 153 154 if (ofx > x0) 155 { dx -= (ofx-x0); x0 = ofx; ox = 0; } 156 else ox = x0-ofx; 157 if (ofy > y0) 158 { dy -= (ofy-y0); y0 = ofy; oy = 0; } 159 else oy = y0-ofy; 160 if (mx < (x0+dx)) dx = mx-x0; 161 if (my < (y0+dy)) dy = my-y0; 162 */ 163 118 164 XPutImage(mdsp, xw, mygc, myximg, ox, oy, x0, y0, dx, dy); 119 165 XFlush(mdsp); -
trunk/SophyaPI/PI/psfile.cc
r2615 r3519 1367 1367 for(i = 0; i < Ny; i++) { 1368 1368 for(j = 0; j<Nx-1; j++ ) 1369 fprintf(mPSFile, "%02X", Pict[i*Nx+j]); 1370 fprintf(mPSFile, "%02X\n", Pict[i*Nx+j]); 1369 fprintf(mPSFile, "%02X", (int)Pict[i*Nx+j]); 1370 fprintf(mPSFile, "%02X\n", (int)Pict[i*Nx+j]); 1371 } 1372 /* Un petit grestore ...*/ 1373 fprintf(mPSFile, "gr\n"); 1374 } 1375 1376 void PSFile::Image(double x0, double y0, double Tx, double Ty, 1377 int Nx, int Ny, 1378 unsigned short *Pict, 1379 PIColorMap *mMap) { 1380 1381 int i, j; 1382 1383 /* Buffers PostScript */ 1384 fprintf(mPSFile, "/Taille %d def\n", Nx); 1385 fprintf(mPSFile, "/ImStr Taille string def\n"); 1386 fprintf(mPSFile, "/RGBStr Taille 3 mul string def\n"); 1387 1388 /* Ecriture ColorMap */ 1389 fprintf(mPSFile, "/ColorMap %05d array def\n", mMap->NCol() ); 1390 for(i = 0; i < mMap->NCol(); i++) { 1391 fprintf(mPSFile, "ColorMap %d [16#%02X 16#%02X 16#%02X] put\n", 1392 i, 1393 (int)(mMap->GetColor(i).red/256), 1394 (int)(mMap->GetColor(i).green/256), 1395 (int)(mMap->GetColor(i).blue/256)); 1396 } 1397 /* Emplacement de l'image */ 1398 fprintf(mPSFile, "gs %.2f Ux %.2f Uy tr %.2f Ux %.2f Uy sc\n", x0, y0, Tx, Ty); 1399 /* Nbr pix-X, Nbr pix-Y bits/pixels */ 1400 fprintf(mPSFile, "%d %d 16\n", Nx, Ny); 1401 /* Matrice de passage */ 1402 fprintf(mPSFile, "[%d 0 0 %d 0 0]", Nx, Ny); 1403 /* Fonction colorimage */ 1404 fprintf(mPSFile, "{currentfile ImStr readhexstring pop GetRGB}\ 1405 false 3 colorimage\n\n"); 1406 /* Data */ 1407 for(i = 0; i < Ny; i++) { 1408 for(j = 0; j<Nx-1; j++ ) 1409 fprintf(mPSFile, "%04X", (int)Pict[i*Nx+j]); 1410 fprintf(mPSFile, "%04X\n", (int)Pict[i*Nx+j]); 1371 1411 } 1372 1412 /* Un petit grestore ...*/ -
trunk/SophyaPI/PI/psfile.h
r2257 r3519 165 165 unsigned char *pict, 166 166 PIColorMap *mColorMap); 167 virtual void Image(double x0, double y0, double Tx, double Ty, 168 int Nx, int Ny, 169 unsigned short *pict, 170 PIColorMap *mColorMap); 167 171 168 172 // Declarations en public - sinon certains compilateurs cxx , aCC, xlC ont des problemes
Note:
See TracChangeset
for help on using the changeset viewer.