graxml-commit Mailing List for GraXML (Page 6)
Brought to you by:
hrivnac
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(1) |
Apr
(5) |
May
(6) |
Jun
(2) |
Jul
|
Aug
(12) |
Sep
(32) |
Oct
(41) |
Nov
(16) |
Dec
(21) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(10) |
Feb
(10) |
Mar
(3) |
Apr
(3) |
May
(10) |
Jun
(12) |
Jul
|
Aug
|
Sep
(11) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
(169) |
Feb
(17) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(100) |
Nov
(14) |
Dec
(10) |
2008 |
Jan
(37) |
Feb
(4) |
Mar
(10) |
Apr
(73) |
May
(22) |
Jun
(8) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Julius H. <hr...@us...> - 2008-01-30 00:54:21
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/graxml3d/doc-files In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv30769/atlantis/graxml3d/doc-files Added Files: Atlantis3D.html Atlantis3D.pdf StartGraXMLMenu.gif WebStart.gif atlantisgraxml.gif collaboration.jpg deploy.jpg tip_centerwindow.js tip_followscroll.js transparentpixel.gif wz_dragdrop.js wz_tooltip.js Log Message: reorganising, documentation updating --- NEW FILE: tip_followscroll.js --- /* tip_followscroll.js v. 1.1 The latest version is available at http://www.walterzorn.com or http://www.devira.com or http://www.walterzorn.de Initial author: Walter Zorn Last modified: 21.6.2007 Extension for the tooltip library wz_tooltip.js. Lets a "sticky" tooltip keep its position inside the clientarea if the window is scrolled. */ // Here we define new global configuration variable(s) (as members of the // predefined "config." class). // From each of these config variables, wz_tooltip.js will automatically derive // a command which can be passed to Tip() or TagToTip() in order to customize // tooltips individually. These command names are just the config variable // name(s) translated to uppercase, // e.g. from config. FollowScroll a command FOLLOWSCROLL will automatically be // created. //=================== GLOBAL TOOPTIP CONFIGURATION ======================// config. FollowScroll = false // true or false - set to true if you want this to be the default behaviour //======= END OF TOOLTIP CONFIG, DO NOT CHANGE ANYTHING BELOW ==============// // Create a new tt_Extension object (make sure that the name of that object, // here fscrl, is unique amongst the extensions available for // wz_tooltips.js): var fscrl = new tt_Extension(); // Implement extension eventhandlers on which our extension should react fscrl.OnShow = function() { if(tt_aV[FOLLOWSCROLL]) { // Permit FOLLOWSCROLL only if the tooltip is sticky if(tt_aV[STICKY]) { var x = tt_x - tt_GetScrollX(), y = tt_y - tt_GetScrollY(); if(tt_ie) { fscrl.MoveOnScrl.offX = x; fscrl.MoveOnScrl.offY = y; fscrl.AddRemEvtFncs(tt_AddEvtFnc); } else { tt_SetTipPos(x, y); tt_aElt[0].style.position = "fixed"; } return true; } tt_aV[FOLLOWSCROLL] = false; } return false; }; fscrl.OnHide = function() { if(tt_aV[FOLLOWSCROLL]) { if(tt_ie) fscrl.AddRemEvtFncs(tt_RemEvtFnc); else tt_aElt[0].style.position = "absolute"; } }; // Helper functions (encapsulate in the class to avoid conflicts with other // extensions) fscrl.MoveOnScrl = function() { tt_SetTipPos(fscrl.MoveOnScrl.offX + tt_GetScrollX(), fscrl.MoveOnScrl.offY + tt_GetScrollY()); }; fscrl.AddRemEvtFncs = function(PAddRem) { PAddRem(window, "resize", fscrl.MoveOnScrl); PAddRem(window, "scroll", fscrl.MoveOnScrl); }; --- NEW FILE: Atlantis3D.pdf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wz_dragdrop.js --- /* This notice must be untouched at all times. wz_dragdrop.js v. 4.89 The latest version is available at http://www.walterzorn.com or http://www.devira.com or http://www.walterzorn.de Copyright (c) 2002-2007 Walter Zorn. All rights reserved. Created 26. 8. 2002 by Walter Zorn (Web: http://www.walterzorn.com ) Last modified: 28.6.2007 This DHTML & Drag&Drop Library adds Drag&Drop functionality to the following types of html-elements: - images, even if not positioned via layers, nor via stylesheets or any other kind of "hard-coding" - relatively and absolutely positioned layers (DIV elements). Moreover, it provides extended DHTML abilities. [...1399 lines suppressed...] /* my_ResizeFunc IS CALLED WHILE AN ITEM IS RESIZED See the description of my_PickFunc above for what's accessible from here. */ function my_ResizeFunc() { //window.status = 'dd.elements.' + dd.obj.name + '.w = ' + dd.obj.w + ' dd.elements.' + dd.obj.name + '.h = ' + dd.obj.h; } /* THIS ONE IS CALLED ONCE AN ITEM IS DROPPED See the description of my_PickFunc for what's accessible from here. Here may be investigated, for example, what's the name (dd.obj.name) of the dropped item, and where (dd.obj.x, dd.obj.y) it has been dropped... */ function my_DropFunc() { } --- NEW FILE: StartGraXMLMenu.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: deploy.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wz_tooltip.js --- /* This notice must be untouched at all times. wz_tooltip.js v. 4.12 The latest version is available at http://www.walterzorn.com or http://www.devira.com or http://www.walterzorn.de Copyright (c) 2002-2007 Walter Zorn. All rights reserved. Created 1.12.2002 by Walter Zorn (Web: http://www.walterzorn.com ) Last modified: 13.7.2007 Easy-to-use cross-browser tooltips. Just include the script at the beginning of the <body> section, and invoke Tip('Tooltip text') from within the desired HTML onmouseover eventhandlers. No container DIV, no onmouseouts required. By default, width of tooltips is automatically adapted to content. Is even capable of dynamically converting arbitrary HTML elements to tooltips [...1110 lines suppressed...] { eval(s + " = " + tt_aV.length); tt_aV[tt_aV.length] = null; } } } function tt_ExtCallFncs(arg, sFnc) { var b = false; for(var i = tt_aExt.length; i;) {--i; var fnc = tt_aExt[i]["On" + sFnc]; // Call the method the extension has defined for this event if(fnc && fnc(arg)) b = true; } return b; } tt_Init(); --- NEW FILE: Atlantis3D.html --- <html> <head> <title>GraXML Provides 3D View to Atlantis</title> </head> <body> <script type="text/javascript" src="wz_dragdrop.js"></script> <script type="text/javascript" src="wz_tooltip.js"></script> <span id="imgHelp"><p>You can drag this image with Mouse</p> <p>You can resize this image with Shift+Mouse</p></span> <span id="printPdf"><p>This page can't be printed directly,</p> use its PDF version instead !</p></span> <table><tr> <td width="30%"><img src="atlantisgraxml.gif" width="400" name="atlantisgraxml" onmouseover="TagToTip('imgHelp', BGCOLOR, '#FFFFFF', FONTCOLOR, '#000000', BORDERCOLOR, '#FF0000', BORDERWIDTH, 3)"></td> <td width="70%" align="center"> <h1 align="center">GraXML Provides 3D View to Atlantis</h1> <p>Following many requests for a realistic 3D view in Atlantis, Atlantis-GraXML bridge has been created allowing Atlantis objects te be visualised in GraXML.</p> <p><a href="Atlantis3D.pdf" onmouseover="TagToTip('printPdf')">PDF version of this page.</a></td> </tr></table> <hr> <h2 align="center">How to Use</h2> <h3 align="center">Web Starting</h3> <table><tr> <td width="50%"> <p>Atlantis with GraXML is available via Java WebStart. The only precondition for using it is Java 1.5 or 1.6 available on local machine. If Java is correctly installed, clicking on following link will install and start Atlantis+GraXML on local machine: <a href="http://www.hep.ucl.ac.uk/atlas/atlantis/webstart3d/atlantis3d.jnlp">Atlantis3D Web Start</a>. Web browser should accaept <code>.jnlp</code> extension and associate it with <code>javaws</code> command. If Web-based installation doesn't work (which means that Java is not correctly enabled with Web browser), Atlantis3D can be installed and started using following command: <code>javaws http://www.hep.ucl.ac.uk/atlas/atlantis/webstart3d/atlantis3d.jnlp</a>.</p> <p>Java Web Start will verify the local installation on every call. It will download new version of Atlantis3D when it is available. Status of Java Web Start applications can be verified by the Web Start manager which could be started using <code>javaws</code> (for Java 1.5) or <code>javaws -viewer</code> (for Java 1.6) command. On Linux, all Web Start applications are installed under <code>~/.java</code> directory.</p> <p>Atlantis3D works under all common distributions of Linux, MacOSX and MS.</p> </td> <td width="50%"><img src="WebStart.gif" width="400" name="WebStart" onmouseover="TagToTip('imgHelp', BGCOLOR, '#FFFFFF', FONTCOLOR, '#000000', BORDERCOLOR, '#FF0000', BORDERWIDTH, 3)"></td> </tr></table> <h3 align="center">Calling GraXML from Atlantis</h3> <table><tr> <td width="50%"> <p>When GraXML is available, Atlantis RubberBand offers <em>Show in 3D window (InDet and Object data only)</em> item. When chosen, this selection will start GraXML window (unless it already runs) and send it all selected elements. They will be displayed in GraXML 3D canvas. All elements in GraXML will keep the same color as in Atlantis. All standard GraXML operations will be available (see <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML/JavaDoc/net/hep/graphics/GraXML/doc-files/Guide.html#Help">GraXML Guide</a> for details).</p> <p>Any subsequent selection in Atlantis will send new elements to GraXML (and remove the old ones). <small>(Possibility to keep old elements can be allowed if requested.)</small></p> <p>GraXML window can be closed, which should not close main Atlantis window. However, some windowing systems with integrated OpenGL driver (used by GraXML) can close Atlantis window as well. Furthermore, any subsequent GraXML invocation within the same Atlantis session will not be functional <small>(this seems to be a problem in re-starting OpenGL)</small>.</p> <p>Following Atlantis objects are correctly available in GraXML: <ul> <li>S3D</li> <li>SiCluster</li> <li>STr <small>(simplified)</small></li> <li>InDetTrack <small>(only some descriptions)</small></li> <li>Jet</li> <li>BJet</li> <li>TauJet</li> <li>Electron</li> <li>Muon</li> <li>Photon</li> <li>ETmis</li> </ul></p> </td> <td width="50%"><img src="StartGraXMLMenu.gif" width="300" name="StartGraXMLMenu" onmouseover="TagToTip('imgHelp', BGCOLOR, '#FFFFFF', FONTCOLOR, '#000000', BORDERCOLOR, '#FF0000', BORDERWIDTH, 3)"></td> </tr></table> <h2 align="center">GraXML Architecture</h2> <table> <tr> <td width="50%"> <p> GraXML 3D graphical browser is based on GraXML Framework. It uses <a href="https://java3d.dev.java.net/">Java3D</a> to visualise spacial objects, Java3D uses OpenGL for drawing.</p> <p>GraXML gets data in the form of <em>Generic Model</em>. It is <a href="https://jaxb.dev.java.net">JAXB</a> tree, classes of which are automaticaly generated from the XML Schema descrybing relevant data. That JAXB tree can be either assembled at run-time (as in case of Atlantis-GraXML package) or parsed from an XML file (conform to the XML Schema used to create the model). JAXB is part of Java distribution since Java 1.6. Currently, GraXML supports four <em>Generic Model</em>s: AGDD, GDML, JiveEvent and JiveGeometry.</p> <p>JAXB <em>Generic Model</em> is then converted to Java3D tree, called <em>Geometric Model</em>. This conversion is performed taking into account several parameters, the most important of which are <em>optimisation</em>, <em>quality</em> and <em>interactivity</em> levels. Java3D <em>Geometric Model</em> can then be directly visualised or further processed (dumped to VRML/X3D, converted to TGeo,...).</p> <p>More information about GraXML Architecture and usage instructions are available from its <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML/JavaDoc/net/hep/graphics/GraXML/doc-files/Guide.html">Guide</a>.</p> </td> <td width="50%"><img src="http://cern.ch/hrivnac/Activities/Packages/GraXML/JavaDoc/net/hep/graphics/GraXML/doc-files/Packages.jpg" width="400" name="Packages" onmouseover="TagToTip('imgHelp', BGCOLOR, '#FFFFFF', FONTCOLOR, '#000000', BORDERCOLOR, '#FF0000', BORDERWIDTH, 3)"></td> </tr> </table> <h2 align="center">GraXMLBridge Architecture</h2> <table> <tr> <td width="50%"> <p>There are three packages collaborating in the process: <ul> <li><code>atlantis.ASelection</code> creates (if necessary) <code>GraXMLBridge</code> and announces it new data. All this communication is performed by reflection so that there is no direct (compile-time) Atlantis dependence on GraXML.</li> <li><code>GraXMLBridge</code> requests new data from <code>atlantis.ASelection</code> and converts them into <em>JAXB</em> tree (called <em>Generic Model</em> in GraXML).</li> <li><code>GraXMLBridge</code> then creates <code>GraXML</code> (if it doesn't exist yet), sets its parameters (colors,...) and sends it a <em>JAXB</em> tree to be shown.</li> </ul> </p> </td> <td width="50%"><img src="collaboration.jpg" width="400" name="collaboration" onmouseover="TagToTip('imgHelp', BGCOLOR, '#FFFFFF', FONTCOLOR, '#000000', BORDERCOLOR, '#FF0000', BORDERWIDTH, 3)"></td> </tr> <tr> <td width="50%"> <p>All packages are distributed using Java WebStart <code>*.jnlp</code> files. <em>Atlantis</em>, <em>Atlantis3D</em> and <em>GraXML</em> are directly callable, others just serve libraries.</p> </td> <td width="50%"><img src="deploy.jpg" width="400" name="deploy" onmouseover="TagToTip('imgHelp', BGCOLOR, '#FFFFFF', FONTCOLOR, '#000000', BORDERCOLOR, '#FF0000', BORDERWIDTH, 3)"></td> </tr> </table> <h2 align="center">Future</h2> <p>The most important effort in near-future should go to the support of all Atlantis data, event-like as well as geometry. So far, only a subset of Inner detector and kinematic objects are supported. There is a limited support for geometry, but this is today far from correct. The biggest problem here is to get the real 3D object' representation from Atlantis. Atlantis can easily give 2D in several projections, which is often not sufficient for complete 3D representation. That is in particular true for description of geometry.</p> <p>To convert Atlantis 2D projection to full 3D information, help from 2D representation authors is urgently needed. 3D geometry description can be, in principle, obtained by dumping Atlas offline geometry (from Athena or Genat4) into AGDD or GDML (such possibility exists thanks to <a href="http://ivana.home.cern.ch/ivana/VGM.html">Virtual Geometric Model</a>). (Simplified) AGDD or GDML description can then be easily read into GraXML.</p> <p>Some Atlantis3D extensions can be quickly implemented if needed: <ul> <li><b>Direct connection from GraXML to Atlantis server:</b> GraXML can directly read Atlantis files. It would be very simple to give it a possibility to connect directly (i.e. without mediating Atlantis) to the Atlantis XML-RPC server.</li> <li><b>VRML/X3D/TGeo dump:</b> GraXML can dump its 3D content into VRML or X3D files. Those files can then be visualised using standard VRML browsers. It would be easy to add VRML/X3D export possibility to Atlantis3D. Dumping to TGeo is currently only supported for AGDD Generic Model, its extension to Atlantis data would be a bit more complex.</li> <li><b>Callback:</b> GraXML receives data selected in Atlantis. As GraXML has a picking capability, it could send information about its selected objects back to Atlantis.</li> <li><b>Ray Tracing:</b> There is a possibility to export GraXML view into <em>PovRay</em> ray-tracing file format and process that file to produce photo-realistic pictures. That possbility can be added to Atlantis3D.</li> <li><b>XML Schema</b>: To enable creation of JAXB model, Atlantis XML DTDs has been converted into XML Schemas. That conversion has been so-far only done on a pragmatic way, i.e. only elements used in GraXML have been fully ported (with correct variable types,...). Full DTD can be converted (and maybe used within Atlantis itself).</li> </ul> </p> <hr> <h2 align="center">Links</h2> <p> <ul> <li><a href="http://cern.ch/hrivnac/Activities/Packages/GraXML">GraXML</a> Home</li> <ul> <li><a href="http://cern.ch/hrivnac/Activities/Packages/GraXML/JavaDoc/net/hep/graphics/GraXML/doc-files/Guide.html">Guide</a></li> <li><a href="https://sourceforge.net/projects/graxml">Sourceforge</a></li> <li><a href="http://hrivnac.web.cern.ch/hrivnac/Activities/2004/September/GraXML">CHEP'04 talk</a></li> </ul> <li><a href="http://cern.ch/atlantis">Atlantis</a></li> <li><a href="http://cern.ch/hrivnac/Activities/Packages/GraXMLBridge">GraXMLBridge</a></li> <li>Web Start: <ul> <li><a href="http://www.hep.ucl.ac.uk/atlas/atlantis/webstart/atlantis3.jnlp">Atlantis</a></li> <li><a href="http://www.hep.ucl.ac.uk/atlas/atlantis/webstart3d/atlantis3d.jnlp">Atlantis3D</a> (Atlantis with GraXML)</li> <li><a href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.jnlp">GraXML</a></li> </ul> </li> </ul> </p> <hr> <img width="0" height="0" src="http://cern.ch/hrivnac/cgi-bin/record.pl?page=Atlantis3D"> <address> <a href="http://cern.ch/hrivnac">J.Hrivnac</a> (GraXML part) + <a href="">Z.Maxa</a> (Atlantis part), Jan'08 </address> <script type="text/javascript" src="http://cern.ch/hrivnac/google-analytics1.js"/><script type="text/javascript" src="http://cern.ch/hrivnac/google-analytics2.js"/> <script type="text/javascript"> <!-- SET_DHTML("atlantisgraxml"+SCALABLE+TRANSPARENT, "WebStart"+SCALABLE+TRANSPARENT, "StartGraXMLMenu"+SCALABLE+TRANSPARENT, "Packages"+SCALABLE+TRANSPARENT, "collaboration"+SCALABLE+TRANSPARENT, "deploy"+SCALABLE+TRANSPARENT); //--> </script> </body> </html> --- NEW FILE: collaboration.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: WebStart.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tip_centerwindow.js --- /* tip_centerwindow.js v. 1.2 The latest version is available at http://www.walterzorn.com or http://www.devira.com or http://www.walterzorn.de Initial author: Walter Zorn Last modified: 23.6.2007 Extension for the tooltip library wz_tooltip.js. Centers a sticky tooltip in the window's visible clientarea, optionally even if the window is being scrolled or resized. */ // Here we define new global configuration variable(s) (as members of the // predefined "config." class). // From each of these config variables, wz_tooltip.js will automatically derive // a command which can be passed to Tip() or TagToTip() in order to customize // tooltips individually. These command names are just the config variable // name(s) translated to uppercase, // e.g. from config. CenterWindow a command CENTERWINDOW will automatically be // created. //=================== GLOBAL TOOPTIP CONFIGURATION =========================// config. CenterWindow = false // true or false - set to true if you want this to be the default behaviour config. CenterAlways = false // true or false - recenter if window is resized or scrolled //======= END OF TOOLTIP CONFIG, DO NOT CHANGE ANYTHING BELOW ==============// // Create a new tt_Extension object (make sure that the name of that object, // here ctrwnd, is unique amongst the extensions available for // wz_tooltips.js): var ctrwnd = new tt_Extension(); // Implement extension eventhandlers on which our extension should react ctrwnd.OnLoadConfig = function() { if(tt_aV[CENTERWINDOW]) { // Permit CENTERWINDOW only if the tooltip is sticky if(tt_aV[STICKY]) { if(tt_aV[CENTERALWAYS]) { // IE doesn't support style.position "fixed" if(tt_ie) tt_AddEvtFnc(window, "scroll", Ctrwnd_DoCenter); else tt_aElt[0].style.position = "fixed"; tt_AddEvtFnc(window, "resize", Ctrwnd_DoCenter); } return true; } tt_aV[CENTERWINDOW] = false; } return false; }; // We react on the first OnMouseMove event to center the tip on that occasion ctrwnd.OnMoveBefore = Ctrwnd_DoCenter; ctrwnd.OnKill = function() { if(tt_aV[CENTERWINDOW] && tt_aV[CENTERALWAYS]) { tt_RemEvtFnc(window, "resize", Ctrwnd_DoCenter); if(tt_ie) tt_RemEvtFnc(window, "scroll", Ctrwnd_DoCenter); else tt_aElt[0].style.position = "absolute"; } return false; }; // Helper function function Ctrwnd_DoCenter() { if(tt_aV[CENTERWINDOW]) { var x, y, dx, dy; // Here we use some functions and variables (tt_w, tt_h) which the // extension API of wz_tooltip.js provides for us if(tt_ie || !tt_aV[CENTERALWAYS]) { dx = tt_GetScrollX(); dy = tt_GetScrollY(); } else { dx = 0; dy = 0; } // Position the tip, offset from the center by OFFSETX and OFFSETY x = (tt_GetClientW() - tt_w) / 2 + dx + tt_aV[OFFSETX]; y = (tt_GetClientH() - tt_h) / 2 + dy + tt_aV[OFFSETY]; tt_SetTipPos(x, y); return true; } return false; } --- NEW FILE: atlantisgraxml.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: transparentpixel.gif --- (This appears to be a binary file; contents omitted.) |
From: Julius H. <hr...@us...> - 2008-01-30 00:51:26
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/graxml3d/doc-files In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29965/doc-files Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/graxml3d/doc-files added to the repository |
From: Julius H. <hr...@us...> - 2008-01-30 00:51:05
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/graxml3d In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29781/graxml3d Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/graxml3d added to the repository |
From: Julius H. <hr...@us...> - 2008-01-30 00:50:18
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29360 Removed Files: GraXMLBridge.java overview.html package.html Log Message: moving --- package.html DELETED --- --- overview.html DELETED --- --- GraXMLBridge.java DELETED --- |
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions/doc-files In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv28654 Removed Files: Atlantis3D.html StartGraXMLMenu.gif WebStart.gif atlantisgraxml.gif collaboration.jpg deploy.jpg Log Message: moving --- deploy.jpg DELETED --- --- Atlantis3D.html DELETED --- --- collaboration.jpg DELETED --- --- WebStart.gif DELETED --- --- StartGraXMLMenu.gif DELETED --- --- atlantisgraxml.gif DELETED --- |
From: Julius H. <hr...@us...> - 2008-01-29 18:15:07
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions/doc-files In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26163 Added Files: collaboration.jpg deploy.jpg Log Message: better documentation --- NEW FILE: deploy.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: collaboration.jpg --- (This appears to be a binary file; contents omitted.) |
From: Julius H. <hr...@us...> - 2008-01-29 17:32:00
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions/doc-files In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv25755 Modified Files: Atlantis3D.html Log Message: better documentation Index: Atlantis3D.html =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions/doc-files/Atlantis3D.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Atlantis3D.html 29 Jan 2008 15:14:05 -0000 1.1 --- Atlantis3D.html 29 Jan 2008 17:15:58 -0000 1.2 *************** *** 4,16 **** </head> <body> - <h1>GraXML Provides 3D View to Atlantis</h1> <table><tr> ! <td width="30%"><img src="atlantisgraxml.gif" width="100%"></td> <td width="70%"> <p>Following many requests for a realistic 3D view in Atlantis, Atlantis-GraXML bridge has been created allowing Atlantis objects te be visualised in GraXML.</p></td> </tr></table> <h2>How to Use</h2> --- 4,17 ---- </head> <body> <table><tr> ! <td width="30%"><a href="atlantisgraxml.gif"><img src="atlantisgraxml.gif" width="100%"></a></td> <td width="70%"> + <h1>GraXML Provides 3D View to Atlantis</h1> <p>Following many requests for a realistic 3D view in Atlantis, Atlantis-GraXML bridge has been created allowing Atlantis objects te be visualised in GraXML.</p></td> </tr></table> + <hr> <h2>How to Use</h2> *************** *** 76,83 **** <h2>GraXML Architecture</h2> <h2>GraXMLBridge Architecture</h2> <h2>Future</h2> ! </body> </html> --- 77,197 ---- <h2>GraXML Architecture</h2> + <table> + <tr> + <td width="40%"> + <p> + GraXML 3D graphical browser is based on GraXML Framework. It uses Java3D to visualise + spacial objects, Java3D uses OpenGL for drawing.</p> + <p>GraXML gets data in the form of <em>Generic Model</em>. It is <a href="">JAXB</a> tree, classes + of which are automaticaly generated from the XML Schema descrybing relevant data. That JAXB + tree can be either assembled at run-time (as in case of Atlantis-GraXML package) or parsed from + an XML file (conform to the XML Schema used to create the model). JAXB is part of Java distribution + since Java 1.6. Currently, GraXML supports four <em>Generic Model</em>s: AGDD, GDML, JiveEvent and + JiveGeometry.</p> + <p>JAXB <em>Generic Model</em> is then converted to Java3D tree, called <em>Geometric Model</em>. + This conversion is performed taking into account several parameters, the most important of which are + <em>optimisation</em>, <em>quality</em> and <em>interactivity</em> levels. Java3D <em>Geometric Model</em> + can then be directly visualised or further processed (dumped to VRML/X3D, converted to TGeo,...).</p> + <p>More information about GraXML Architecture and usage instructions are available from its + <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML/JavaDoc/net/hep/graphics/GraXML/doc-files/Guide.html">Guide</a>.</p> + </td> + <td width="60%"><img src="http://cern.ch/hrivnac/Activities/Packages/GraXML/JavaDoc/net/hep/graphics/GraXML/doc-files/Packages.jpg"></td> + </tr> + </table> + + + <h2>GraXMLBridge Architecture</h2> + <table> + <tr> + <td width="60%"> + <p>There are three packages collaborating in the process: + <ul> + <li><code>atlantis.ASelection</code> creates (if necessary) <code>GraXMLBridge</code> + and announces it new data. <code>GraXMLBridge</code>. All this communication is performed + by reflection so that there is no direct (compile-time) Atlantis dependence on GraXML.</li> + <li><code>GraXMLBridge</code> gets new data from <code>atlantis.ASelection</code> + and converts them into <em>JAXB</em> tree (called <em>Generic Model</em> in GraXML).</li> + <li><code>GraXMLBridge</code> then creates <code>GraXML</code> (if it doesn't exist yet), + sets its parameters (colors,...) and sends it <em>JAXB</em> tree to be shown.</li> + </ul> + </p> + </td> + <td width="40%"><img src="collaboration.jpg"></td> + </tr> + <tr> + <td width="60%"> + <p>All packages are distributed using Java WebStart <code>*.jnlp</code> files. + <em>Atlantis</em>, <em>Atlantis3D</em> and <em>GraXML</em> are directly + callable, others just serve libraries.</p> + </td> + <td width="40%"><img src="deploy.jpg"></td> + </tr> + </table> + <h2>Future</h2> ! ! <p>The most important efford in near-future should go to the support of all Atlantis ! data, event-like as well as geometry. So far, only a subset of Inner detector and kinematic ! objects are supported. There is a limited support for geometry, but this is today far from ! correct. The biggest problem here is to get the real 3D object' representation from Atlantis. ! Atlantis can easily give 2D in several projectsions, which is often not sufficient ! for complete 3D representation. That is in particular true for a description of ! geometry.</p> ! <p>To convert Atlantis 2D projection to full 3D information, help from ! 2D representation authors is urgently needed. 3D geometry description can be, in principle, ! obtained by dumping Atlas offline geometry (from Athena or Genat4) into AGDD or GDML ! (such possibility exists thanks to <a href="http://ivana.home.cern.ch/ivana/VGM.html">Virtual Geometric Model</a>). ! (Simplified) AGDD or GDML description can then be easily read into GraXML.</p> ! <p>Some Atlantis3D extensions can be quickly implemented if needed: ! <ul> ! <li><b>Direct connection from GraXML to Atlantis server:</b> GraXML can directly read Atlantis ! files. It would be very simple to give it a possibility to connect directly (i.e. without ! mediating Atlantis) to the XML-RPC server.</li> ! <li><b>VRML/X3D/TGeo dump:</b> GraXML can dump its 3D content into VRML or X3D files. Those files ! can then be visualised using standard VRML browsers. It would ! be easy to add VRML/X3D export possibility to Atlantis3D. Dumping to TGeo is currently onlu supported ! for AGDD Generic Model, its extension to Atlantis data would be a bit more complex.</li> ! <li><b>Callback:</b> GraXML reseives data selected in Atlantis. As GraXML has a picking ! capability, it could send information about its selected objects back to Atlantis.</li> ! <li><b>Ray Tracing:</b> There is a possibility to export GraXML view into <em>PovRay</em> ray-tracing file format and ! process that file to produce photo-realistic puctures. That possbility can be added to ! Atlantis3D.</li> ! <li><b>XML Schema</b>: To enable creation of JAXB model, Atlantis XML DTDs have been ! converted into XML Schemas. That conversion has been so-far only done on a pragmatic ! way, i.e. only elements used in GraXML have been fully ported (with variable types,...). ! Full DTD can be converted 9and maybe used within Atlantis itself).</li> ! </ul> ! </p> ! ! <hr> ! <h2>Links</h2> ! ! <p> ! <ul> ! <li><a href="http://cern.ch/hrivnac/Activities/Packages/GraXML">GraXML</a> Home</li> ! <ul> ! <li><a href="http://cern.ch/hrivnac/Activities/Packages/GraXML/JavaDoc/net/hep/graphics/GraXML/doc-files/Guide.html">Guide</a></li> ! <li><a href="https://sourceforge.net/projects/graxml">Sourceforge</a></li> ! <li><a href="http://hrivnac.web.cern.ch/hrivnac/Activities/2004/September/GraXML">CHEP'04 talk</a></li> ! </ul> ! <li><a href="http://cern.ch/atlantis">Atlantis</a></li> ! <li><a href="http://cern.ch/hrivnac/Activities/Packages/GraXMLBridge">GraXMLBridge</a></li> ! <li>Web Start: ! <ul> ! <li><a href="http://www.hep.ucl.ac.uk/atlas/atlantis/webstart/atlantis3.jnlp">Atlantis</a></li> ! <li><a href="http://www.hep.ucl.ac.uk/atlas/atlantis/webstart3d/atlantis3d.jnlp">Atlantis3D</a> (Atlantis with GraXML)</li> ! <li><a href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.jnlp">GraXML</a></li> ! </ul> ! </li> ! </ul> ! </p> ! ! <hr> ! <address> ! <a href="http://cern.ch/hrivnac">J.Hrivnac</a> (GraXML part) + <a href="">Z.Maxa</a> (Atlantis part), Jan'08 ! </address> ! </body> </html> |
From: Julius H. <hr...@us...> - 2008-01-29 17:31:52
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/jude In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26467/jude Added Files: GraXMLBridge.jude Log Message: Jude design added --- NEW FILE: GraXMLBridge.jude --- (This appears to be a binary file; contents omitted.) |
From: Julius H. <hr...@us...> - 2008-01-29 17:31:46
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26467/src Modified Files: GraXMLBridge.jnlp index.html Log Message: Jude design added Index: GraXMLBridge.jnlp =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXMLBridge/src/GraXMLBridge.jnlp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** GraXMLBridge.jnlp 24 Jan 2008 23:09:27 -0000 1.2 --- GraXMLBridge.jnlp 29 Jan 2008 17:17:10 -0000 1.3 *************** *** 20,23 **** --- 20,24 ---- <jar href="jars/GraXMLBridge.jar" download="eager"/> <extension href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXMLComponent.jnlp"/> + </resources> <component-desc/> </jnlp> Index: index.html =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXMLBridge/src/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.html 24 Jan 2008 10:37:59 -0000 1.1 --- index.html 29 Jan 2008 17:17:10 -0000 1.2 *************** *** 9,13 **** <ul> <li>Web Start: <a href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXMLBridge.jnlp"><img src="http://javadesktop.org/javanet_images/webstart.small.gif" border="0" alt="Launch Web Start"></a></li> ! <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML-dist.tar.gz">full distribution</a>.</li> </ul> <hr> --- 9,13 ---- <ul> <li>Web Start: <a href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXMLBridge.jnlp"><img src="http://javadesktop.org/javanet_images/webstart.small.gif" border="0" alt="Launch Web Start"></a></li> ! <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXMLBridge-dist.tar.gz">full distribution</a>.</li> </ul> <hr> |
From: Julius H. <hr...@us...> - 2008-01-29 17:29:56
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/jude In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26192/jude Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge/jude added to the repository |
From: Julius H. <hr...@us...> - 2008-01-29 17:29:47
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/ant In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26467/ant Modified Files: build.xml Log Message: Jude design added Index: build.xml =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXMLBridge/ant/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.xml 24 Jan 2008 10:37:59 -0000 1.1 --- build.xml 29 Jan 2008 17:17:09 -0000 1.2 *************** *** 199,209 **** </signjar> <copy todir="${user.home}/WWW/Activities/Packages/WebStart/GraXML/jars" overwrite="true"> ! <fileset file="${lib}/Atlantis3D.jar"/> </copy> <copy todir="${user.home}/WWW/Activities/Packages/WebStart/GraXML" overwrite="true"> <fileset file="${src}/*.jnlp"/> </copy> ! <replace file="${user.home}/WWW/Activities/Packages/WebStart/GraXML/Atlantis3D.jnlp" token="@VERSION@" value="${version}"/> ! <replace file="${user.home}/WWW/Activities/Packages/WebStart/GraXML/Atlantis3D.jnlp" token="@BUILD@" value="${TSTAMP}"/> </target> --- 199,209 ---- </signjar> <copy todir="${user.home}/WWW/Activities/Packages/WebStart/GraXML/jars" overwrite="true"> ! <fileset file="${lib}/GraXMLBridge.jar"/> </copy> <copy todir="${user.home}/WWW/Activities/Packages/WebStart/GraXML" overwrite="true"> <fileset file="${src}/*.jnlp"/> </copy> ! <replace file="${user.home}/WWW/Activities/Packages/WebStart/GraXML/GraXMLBridge.jnlp" token="@VERSION@" value="${version}"/> ! <replace file="${user.home}/WWW/Activities/Packages/WebStart/GraXML/GraXMLBridge.jnlp" token="@BUILD@" value="${TSTAMP}"/> </target> |
From: Julius H. <hr...@us...> - 2008-01-29 15:14:57
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions/doc-files In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv7860/doc-files Added Files: Atlantis3D.html StartGraXMLMenu.gif WebStart.gif atlantisgraxml.gif Log Message: documentation started --- NEW FILE: atlantisgraxml.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Atlantis3D.html --- <html> <head> <title>GraXML Provides 3D View to Atlantis</title> </head> <body> <h1>GraXML Provides 3D View to Atlantis</h1> <table><tr> <td width="30%"><img src="atlantisgraxml.gif" width="100%"></td> <td width="70%"> <p>Following many requests for a realistic 3D view in Atlantis, Atlantis-GraXML bridge has been created allowing Atlantis objects te be visualised in GraXML.</p></td> </tr></table> <h2>How to Use</h2> <h3>Starting using Java Web Start</h3> <table><tr> <td width="60%"> <p>Atlantis with GraXML is available via Java WebStart. The only precondition for using it is Java 1.5 or 1.6 available on local machine. If Java is correctly installed, clicking on following link will install and start Atlantis+GraXML on local machine <a href="http://www.hep.ucl.ac.uk/atlas/atlantis/webstart3d/atlantis3d.jnlp">Atlantis3D Web Start</a>. Web browser should accaept <code>.jnlp</code> extension and associate it with <code>javaws</code>. If Web-based installation doesn't work (which means that Java is not correctly enabled with Web browser), Atlantis3D can be installed and started using following command-line: <code>javaws http://www.hep.ucl.ac.uk/atlas/atlantis/webstart3d/atlantis3d.jnlp</a>.</p> <p>Java Web Start will verify the local installation on every call. It will download new version of Atlantis3d when it is available. Status of Java Web Start applications can be verified by the Web Start manager which could be started using <code>javaws</code> (for Java 1.5) or <code>javaws -viewer</code> (for Java 1.6) command. On Linux, all Web Start applications are installed under <code>~/.java</code> directory.</p> <p>Atlantis3D works under Linux, MacOSX and MS.</p> </td> <td width="40%"><img src="WebStart.gif"></td> </tr></table> <h3>Calling GraXML from Atlantis</h3> <table><tr> <td width="60%"> <p>When GraXML is available, Atlantis RubberBand offers <em>Show in 3D window (InDet and Object data only)</em> item. When chosen this selection will start GraXML window (unless it already runs) and send it all selected elements. They will be displayed in GraXML 3D window. All elements in GraXML will keep the same color as in Atlantis. All standard GraXML operations wiil be now available (see below for details).</p> <p>Any subsequent selection in Atlantis will send new elements to GraXML (and remove the old ones). <small>(Possibility to keep old elements can be added if requested.)</small></p> <p>GraXML window can be closed, which should not close main Atlantis window. However, some windowing systems integrated OpenGL driver (used by GraXML) which can lead to closing Atlantis window as well. Furthermore, any subsequent GraXMl in vocation within the same Atlantis session will not be functional <small>(this seems to be a problem in re-starting OpenGL)</small>.</p> <p>Following Atlantis objects are correctly available in GraXML: <ul> <li>S3D</li> <li>SiCluster</li> <li>STr (simplified)</li> <li>InDetTrack (only some descriptions)</li> <li>Jet</li> <li>BJet</li> <li>TauJet</li> <li>Electron</li> <li>Muon</li> <li>Photon</li> <li>ETmis</li> </ul></p> </td> <td width="40%"><img src="StartGraXMLMenu.gif"></td> </tr></table> <h2>GraXML Architecture</h2> <h2>GraXMLBridge Architecture</h2> <h2>Future</h2> </body> </html> --- NEW FILE: WebStart.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: StartGraXMLMenu.gif --- (This appears to be a binary file; contents omitted.) |
From: Julius H. <hr...@us...> - 2008-01-29 15:13:23
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions/doc-files In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv7817/doc-files Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions/doc-files added to the repository |
From: Julius H. <hr...@us...> - 2008-01-24 23:09:25
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv11807 Modified Files: GraXMLBridge.jnlp Log Message: jnlp improved Index: GraXMLBridge.jnlp =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXMLBridge/src/GraXMLBridge.jnlp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GraXMLBridge.jnlp 24 Jan 2008 10:37:59 -0000 1.1 --- GraXMLBridge.jnlp 24 Jan 2008 23:09:27 -0000 1.2 *************** *** 9,12 **** --- 9,13 ---- <description kind="short">Atlantis bridge to GraXML.</description> <icon kind="default" href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.gif"/> + <icon kind="splash" href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.gif"/> <offline-allowed/> </information> *************** *** 14,20 **** <all-permissions/> </security> <resources> <j2se max-heap-size="536870912" version="1.5+"/> ! <jar href="jars/GraXMLBridge.jar"/> <extension href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXMLComponent.jnlp"/> <component-desc/> --- 15,22 ---- <all-permissions/> </security> + <update check="timeout" policy="always"/> <resources> <j2se max-heap-size="536870912" version="1.5+"/> ! <jar href="jars/GraXMLBridge.jar" download="eager"/> <extension href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXMLComponent.jnlp"/> <component-desc/> |
From: Julius H. <hr...@us...> - 2008-01-24 23:08:24
|
Update of /cvsroot/graxml/Graphics/GraXML/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv10966 Modified Files: GraXML.jnlp GraXMLComponent.jnlp index.html Log Message: jnlp improved Index: GraXML.jnlp =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXML/src/GraXML.jnlp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** GraXML.jnlp 23 Jan 2008 14:26:56 -0000 1.12 --- GraXML.jnlp 24 Jan 2008 23:08:24 -0000 1.13 *************** *** 9,12 **** --- 9,13 ---- <description kind="short">Framework for manipulation and visualisation of geometrical objects in space.</description> <icon kind="default" href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.gif"/> + <icon kind="splash" href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.gif"/> <offline-allowed/> </information> *************** *** 14,34 **** <all-permissions/> </security> <resources> <j2se max-heap-size="536870912" version="1.5+"/> ! <jar href="jars/AGDD.jar"/> ! <jar href="jars/bool.jar"/> ! <jar href="jars/bsh-2.0b1.jar"/> ! <jar href="jars/colt.jar"/> ! <jar href="jars/cx3djava100a.jar"/> ! <jar href="jars/freehep-hep3d.jar"/> ! <jar href="jars/freehep-j3d.jar"/> ! <jar href="jars/GDML.jar"/> ! <jar href="jars/GraXMLDisplay.exe.jar"/> ! <jar href="jars/GraXML.jar" main="true"/> ! <jar href="jars/JiveEvent.jar"/> ! <jar href="jars/JiveGeometry.jar"/> ! <jar href="jars/jlfgr.jar"/> ! <jar href="jars/log4j-1.2.8.jar"/> ! <jar href="jars/xercesImpl.jar"/> <extension href="http://download.java.net/media/java3d/webstart/release/java3d-1.5.1.jnlp"/> </resources> --- 15,36 ---- <all-permissions/> </security> + <update check="timeout" policy="always"/> <resources> <j2se max-heap-size="536870912" version="1.5+"/> ! <jar href="jars/AGDD.jar" download="eager"/> ! <jar href="jars/bool.jar" download="eager"/> ! <jar href="jars/bsh-2.0b1.jar" download="eager"/> ! <jar href="jars/colt.jar" download="eager"/> ! <jar href="jars/cx3djava100a.jar" download="eager"/> ! <jar href="jars/freehep-hep3d.jar" download="eager"/> ! <jar href="jars/freehep-j3d.jar" download="eager"/> ! <jar href="jars/GDML.jar" download="eager"/> ! <jar href="jars/GraXMLDisplay.exe.jar" download="eager"/> ! <jar href="jars/GraXML.jar" download="eager" main="true"/> ! <jar href="jars/JiveEvent.jar" download="eager"/> ! <jar href="jars/JiveGeometry.jar" download="eager"/> ! <jar href="jars/jlfgr.jar" download="eager"/> ! <jar href="jars/log4j-1.2.8.jar" download="eager"/> ! <jar href="jars/xercesImpl.jar" download="eager"/> <extension href="http://download.java.net/media/java3d/webstart/release/java3d-1.5.1.jnlp"/> </resources> Index: index.html =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXML/src/index.html,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** index.html 23 Jan 2008 16:09:50 -0000 1.11 --- index.html 24 Jan 2008 23:08:24 -0000 1.12 *************** *** 25,29 **** </li> <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML-dist.tar.gz">full distribution</a> (ready to run).</li> - <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML2Atlantis.tar.gz">distribution</a> usable with <a href="http://cern.ch/atlantis">Atlantis</a>.</li> <li><a href="Gallery">Gallery</a></li> <li>Documentation: --- 25,28 ---- Index: GraXMLComponent.jnlp =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXML/src/GraXMLComponent.jnlp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GraXMLComponent.jnlp 23 Jan 2008 14:26:59 -0000 1.1 --- GraXMLComponent.jnlp 24 Jan 2008 23:08:24 -0000 1.2 *************** *** 9,12 **** --- 9,13 ---- <description kind="short">Framework for manipulation and visualisation of geometrical objects in space.</description> <icon kind="default" href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.gif"/> + <icon kind="splash" href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.gif"/> <offline-allowed/> </information> *************** *** 14,34 **** <all-permissions/> </security> <resources> <j2se max-heap-size="536870912" version="1.5+"/> ! <jar href="jars/AGDD.jar"/> ! <jar href="jars/bool.jar"/> ! <jar href="jars/bsh-2.0b1.jar"/> ! <jar href="jars/colt.jar"/> ! <jar href="jars/cx3djava100a.jar"/> ! <jar href="jars/freehep-hep3d.jar"/> ! <jar href="jars/freehep-j3d.jar"/> ! <jar href="jars/GDML.jar"/> ! <jar href="jars/GraXMLDisplay.exe.jar"/> ! <jar href="jars/GraXML.jar" main="true"/> ! <jar href="jars/JiveEvent.jar"/> ! <jar href="jars/JiveGeometry.jar"/> ! <jar href="jars/jlfgr.jar"/> ! <jar href="jars/log4j-1.2.8.jar"/> ! <jar href="jars/xercesImpl.jar"/> <extension href="http://download.java.net/media/java3d/webstart/release/java3d-1.5.1.jnlp"/> </resources> --- 15,36 ---- <all-permissions/> </security> + <update check="timeout" policy="always"/> <resources> <j2se max-heap-size="536870912" version="1.5+"/> ! <jar href="jars/AGDD.jar" download="eager"/> ! <jar href="jars/bool.jar" download="eager"/> ! <jar href="jars/bsh-2.0b1.jar" download="eager"/> ! <jar href="jars/colt.jar" download="eager"/> ! <jar href="jars/cx3djava100a.jar" download="eager"/> ! <jar href="jars/freehep-hep3d.jar" download="eager"/> ! <jar href="jars/freehep-j3d.jar" download="eager"/> ! <jar href="jars/GDML.jar" download="eager"/> ! <jar href="jars/GraXMLDisplay.exe.jar" download="eager"/> ! <jar href="jars/GraXML.jar" download="eager" main="true"/> ! <jar href="jars/JiveEvent.jar" download="eager"/> ! <jar href="jars/JiveGeometry.jar" download="eager"/> ! <jar href="jars/jlfgr.jar" download="eager"/> ! <jar href="jars/log4j-1.2.8.jar" download="eager"/> ! <jar href="jars/xercesImpl.jar" download="eager"/> <extension href="http://download.java.net/media/java3d/webstart/release/java3d-1.5.1.jnlp"/> </resources> |
From: Julius H. <hr...@us...> - 2008-01-24 10:38:02
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26267/src/atlantis/interactions Added Files: GraXMLBridge.java overview.html package.html Log Message: bridge to Atlantis introduced --- NEW FILE: package.html --- <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>GraXML.</title> </head> <body> Atlantis bridge to GraXML. </body> </html> --- NEW FILE: overview.html --- <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>GraXML Bridge</title> </head> <body> Atlantis bridge to GraXML. <hr> <address> <a href="http://home.cern.ch/~hrivnac">J.Hrivnac</a>, Apr'04</address> </body> </html> --- NEW FILE: GraXMLBridge.java --- package atlantis.graxml3d; // GraXML import net.hep.graphics.GraXML.FrontEnd.GraXMLThread; import net.hep.graphics.GraXML.GUI.RootWindow; import net.hep.graphics.GraXML.SceneGroup; import net.hep.graphics.GraXML.GraXMLException; import net.hep.graphics.GraXML.BuildOptions; import net.hep.graphics.GraXML.Disconnecter.ViewerTreeFactory; import net.hep.graphics.GraXML.Java3DExtensions.Envelope; // JiveEvent import net.hep.atlas.graphics.JiveEvent.GeometricModel.JiveEventBuilder; import net.hep.atlas.graphics.JiveEvent.GeometricModel.Reps.*; import net.hep.atlas.graphics.JiveEvent.JAXB.*; // Atlantis import atlantis.Atlantis; import atlantis.event.AData; import atlantis.canvas.ACanvas; import atlantis.canvas.AWindow; import atlantis.event.ACalorimeterData; import atlantis.event.AEvent; import atlantis.event.AHelix; import atlantis.event.ADHelix; import atlantis.event.AS3DData; import atlantis.event.ASiClusterData; import atlantis.event.ASTrData; import atlantis.event.AInDetTrackData; import atlantis.event.AJetData; import atlantis.event.ABJetData; import atlantis.event.ATauJetData; import atlantis.event.AMuonData; import atlantis.event.AElectronData; import atlantis.event.APhotonData; import atlantis.event.AETMisData; import atlantis.gui.ADnDLabel; import atlantis.gui.ADragListener; import atlantis.gui.AColorMap; import atlantis.parameters.APar; import atlantis.parameters.AParameter; import atlantis.projection.AProjection; import atlantis.projection.AProjectionFR; import atlantis.projection.AProjectionFZ; import atlantis.projection.AProjectionRZ; import atlantis.projection.AProjectionVP; import atlantis.projection.AProjectionXZ; import atlantis.projection.AProjectionYX; import atlantis.projection.AProjectionYZ; import atlantis.utils.AMath; import atlantis.utils.AOutput; import atlantis.utils.A3Vector; import atlantis.utils.AHashMap; // AWT import java.awt.Point; import java.awt.Rectangle; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.geom.Point2D; // Swing import javax.swing.AbstractAction; import javax.swing.JPopupMenu; // Java import java.util.List; import java.util.Hashtable; import java.util.HashMap; import java.util.Enumeration; /** <code>GraXMLBridge</code> sends Atlantis Event data to GraXML. * <p><font color="#880088"> * $Id: GraXMLBridge.java,v 1.1 2008/01/24 10:37:59 hrivnac Exp $ * <pre> * $Log: GraXMLBridge.java,v $ * Revision 1.1 2008/01/24 10:37:59 hrivnac * bridge to Atlantis introduced * * </pre> * </font></p> * @opt attributes * @opt operations * @opt types * @opt visibility * @version $Id: GraXMLBridge.java,v 1.1 2008/01/24 10:37:59 hrivnac Exp $ * @author <a href="mailto:Jul...@ce...">J.Hrivnac</a> */ public class GraXMLBridge { /** Initialise. */ public GraXMLBridge() { Envelope.setLength(6); Envelope.setRadius(1); } /** Show data selected in Atlantis to GraXML. Do nothing * if Java3D is not available. */ public void show() { // Initialise Atlantis structures AEvent event = Atlantis.getEventManager().getCurrentEvent(); HashMap<String, int[]> dataFor3D = atlantis.interactions.ASelection.getDataFor3D(); // Set primary vertex // BUG: doesn't work while reading files JiveEventBuilder.setVertex(event.getPrimaryVertex()); // Create flat JAXB tree EventType topElement = new EventType(); _dataElements = topElement.getBJetOrCaloETMisOrCaloTB(); // Construct JAXB Generic Model from Atlantis structures ------------------- AData data; for (String key : dataFor3D.keySet()) { _drawList = dataFor3D.get(key); data = event.get(key); if (_drawList != null && data != null) { System.out.println(key + "[" + _drawList.length + "]"); if (data instanceof AS3DData ) convertS3D ((AS3DData )data); else if (data instanceof ASiClusterData ) convertSiCluster ((ASiClusterData )data); else if (data instanceof ASTrData ) convertSTr ((ASTrData )data); else if (data instanceof AInDetTrackData) convertInDetTrack((AInDetTrackData)data); else if (data instanceof AJetData ) convertJet ((AJetData )data); else if (data instanceof ABJetData ) convertBJet ((ABJetData )data); else if (data instanceof ATauJetData ) convertTauJet ((ATauJetData )data); else if (data instanceof AMuonData ) convertMuon ((AMuonData )data); else if (data instanceof AElectronData ) convertElectron ((AElectronData )data); else if (data instanceof APhotonData ) convertPhoton ((APhotonData )data); else if (data instanceof AETMisData ) convertETMis ((AETMisData )data); else System.out.println(key + " not yet supported in GraXML"); } } // Show on GraXML ---------------------------------------------------------- // If GraXML doesn't exist, create it if (_graxml == null || _graxml.root() == null) { _graxml = GraXMLThread.instance(); // Creation may fail if Java3D is not available if (_graxml == null) { System.err.println("GraXML creation has failed, Java3D may not be available"); return; } } // Create new SceneGroup and show it in GraXML try { _graxml.root().clean(); // If not cleaned => selections will accumulate inside GraXML _graxml.root().show(new SceneGroup(topElement, JIVE_EVENT_BUILDER)); ViewerTreeFactory.connectionManager().show("GraXML"); } catch (GraXMLException ex) { System.err.println(ex); } } /** Convert Atlantis structures to GraXML JAXB tree for <em>S3D</em>. * @param data Selected {AS3DData}. */ private void convertS3D(AS3DData data) { float[] xs = data.getX(); float[] ys = data.getY(); float[] zs = data.getZ(); String xString = ""; String yString = ""; String zString = ""; for (int j = 0; j < _drawList.length; j++) { xString += xs[_drawList[j]] + " "; yString += ys[_drawList[j]] + " "; zString += zs[_drawList[j]] + " "; } XType x = new XType(); YType y = new YType(); ZType z = new ZType(); x.setValue(xString); y.setValue(yString); z.setValue(zString); S3DType entry = new S3DType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setX(x); entry.setY(y); entry.setZ(z); _dataElements.add(entry); S3D.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>SiCluster/STC</em> * @param data Selected {ASiClusteData}.. */ private void convertSiCluster(ASiClusterData data) { float[][] xs = data.getX(); float[][] ys = data.getY(); float[][] zs = data.getZ(); String x0String = ""; String y0String = ""; String z0String = ""; String x1String = ""; String y1String = ""; String z1String = ""; for (int j = 0; j < _drawList.length; j++) { x0String += xs[0][_drawList[j]] + " "; y0String += ys[0][_drawList[j]] + " "; z0String += zs[0][_drawList[j]] + " "; x1String += xs[1][_drawList[j]] + " "; y1String += ys[1][_drawList[j]] + " "; z1String += zs[1][_drawList[j]] + " "; } X0Type x0 = new X0Type(); Y0Type y0 = new Y0Type(); Z0Type z0 = new Z0Type(); X1Type x1 = new X1Type(); Y1Type y1 = new Y1Type(); Z1Type z1 = new Z1Type(); x0.setValue(x0String); y0.setValue(y0String); z0.setValue(z0String); x1.setValue(x1String); y1.setValue(y1String); z1.setValue(z1String); STCType entry = new STCType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setX0(x0); entry.setY0(y0); entry.setZ0(z0); entry.setX1(x1); entry.setY1(y1); entry.setZ1(z1); _dataElements.add(entry); STC.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>STr</em>. * @param data Selected {ASTrData}. */ private void convertSTr(ASTrData data) { AHelix[] h = data.getHelixData(); String etaString = ""; String phiString = ""; String ptString = ""; String rhoVertexString = ""; String phiVertexString = ""; String zVertexString = ""; for (int j = 0; j < _drawList.length; j++) { etaString += h[j].eta + " "; phiString += h[j].startPhi + " "; ptString += h[j].pT + " "; rhoVertexString += h[j].rhoVertex + " "; phiVertexString += h[j].phiVertex + " "; zVertexString += h[j].zVertex + " "; } EtaType eta = new EtaType(); PhiType phi = new PhiType(); PtType pt = new PtType(); RhoVertexType rhoVertex = new RhoVertexType(); PhiVertexType phiVertex = new PhiVertexType(); ZVertexType zVertex = new ZVertexType(); eta.setValue( etaString); phi.setValue( phiString); pt.setValue( ptString); rhoVertex.setValue(rhoVertexString); phiVertex.setValue(phiVertexString); zVertex.setValue( zVertexString); STrType entry = new STrType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setEta(eta); entry.setPhi(phi); entry.setPt(pt); entry.setRhoVertex(rhoVertex); entry.setPhiVertex(phiVertex); entry.setZVertex(zVertex); _dataElements.add(entry); STr.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>InDetTrack/Track</em>. * @param data Selected {AInDetTrackData}. */ private void convertInDetTrack(AInDetTrackData data) { float[][] xs = data.getX(); float[][] ys = data.getY(); float[][] zs = data.getZ(); if (xs == null || ys == null || zs == null) return; String xString = ""; String yString = ""; String zString = ""; String nString = ""; for (int j = 0; j < _drawList.length; j++) { nString += xs[_drawList[j]].length + " "; for (int k = 0; k < xs[_drawList[j]].length; k++) { xString += xs[_drawList[j]][k] + " "; yString += ys[_drawList[j]][k] + " "; zString += zs[_drawList[j]][k] + " "; } } PolylineXType x = new PolylineXType(); PolylineYType y = new PolylineYType(); PolylineZType z = new PolylineZType(); NumPolylineType n = new NumPolylineType(); x.setValue(xString); y.setValue(yString); z.setValue(zString); n.setValue(nString); TrackType entry = new TrackType(); entry.setStoreGateKey(data.getStoreGateKey()); entry.setPolylineX(x); entry.setPolylineY(y); entry.setPolylineZ(z); entry.setNumPolyline(n); _dataElements.add(entry); Track.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>Jet</em>. * @param data Selected {AJetData}. */ private void convertJet(AJetData data) { float[] etas = data.getEta(); float[] phis = data.getPhi(); float[] ets = data.getET(); String etaString = ""; String phiString = ""; String etString = ""; for (int j = 0; j < _drawList.length; j++) { etaString += etas[_drawList[j]] + " "; phiString += phis[_drawList[j]] + " "; etString += ets [_drawList[j]] + " "; } EtaType eta = new EtaType(); PhiType phi = new PhiType(); EtType et = new EtType(); eta.setValue(etaString); phi.setValue(phiString); et.setValue (etString); JetType entry = new JetType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setEta(eta); entry.setPhi(phi); entry.setEt (et); _dataElements.add(entry); Jet.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>BJet</em>. * @param data Selected {ABJetData}. */ private void convertBJet(ABJetData data) { float[] etas = data.getEta(); float[] phis = data.getPhi(); float[] pts = data.getPT(); String etaString = ""; String phiString = ""; String ptString = ""; for (int j = 0; j < _drawList.length; j++) { etaString += etas[_drawList[j]] + " "; phiString += phis[_drawList[j]] + " "; ptString += pts [_drawList[j]] + " "; } EtaType eta = new EtaType(); PhiType phi = new PhiType(); PtType pt = new PtType(); eta.setValue(etaString); phi.setValue(phiString); pt.setValue (ptString); BJetType entry = new BJetType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setEta(eta); entry.setPhi(phi); entry.setPt (pt); _dataElements.add(entry); BJet.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>TauJet</em>. * @param data Selected {ATauJetData}. */ private void convertTauJet(ATauJetData data) { float[] etas = data.getEta(); float[] phis = data.getPhi(); float[] pts = data.getPT(); String etaString = ""; String phiString = ""; String ptString = ""; for (int j = 0; j < _drawList.length; j++) { etaString += etas[_drawList[j]] + " "; phiString += phis[_drawList[j]] + " "; ptString += pts [_drawList[j]] + " "; } EtaType eta = new EtaType(); PhiType phi = new PhiType(); PtType pt = new PtType(); eta.setValue(etaString); phi.setValue(phiString); pt.setValue (ptString); TauJetType entry = new TauJetType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setEta(eta); entry.setPhi(phi); entry.setPt (pt); _dataElements.add(entry); TauJet.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>Muon</em>. * @param data Selected {AMuonData}. */ private void convertMuon(AMuonData data) { float[] etas = data.getEta(); float[] phis = data.getPhi(); float[] pts = data.getPT(); String etaString = ""; String phiString = ""; String ptString = ""; for (int j = 0; j < _drawList.length; j++) { etaString += etas[_drawList[j]] + " "; phiString += phis[_drawList[j]] + " "; ptString += pts [_drawList[j]] + " "; } EtaType eta = new EtaType(); PhiType phi = new PhiType(); PtType pt = new PtType(); eta.setValue(etaString); phi.setValue(phiString); pt.setValue (ptString); MuonType entry = new MuonType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setEta(eta); entry.setPhi(phi); entry.setPt (pt); _dataElements.add(entry); Muon.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>Electron</em>. * @param data Selected {AElectronData}. */ private void convertElectron(AElectronData data) { float[] etas = data.getEta(); float[] phis = data.getPhi(); float[] pts = data.getPT(); String etaString = ""; String phiString = ""; String ptString = ""; for (int j = 0; j < _drawList.length; j++) { etaString += etas[_drawList[j]] + " "; phiString += phis[_drawList[j]] + " "; ptString += pts [_drawList[j]] + " "; } EtaType eta = new EtaType(); PhiType phi = new PhiType(); PtType pt = new PtType(); eta.setValue(etaString); phi.setValue(phiString); pt.setValue (ptString); ElectronType entry = new ElectronType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setEta(eta); entry.setPhi(phi); entry.setPt (pt); _dataElements.add(entry); Electron.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>Photon</em>. * @param data Selected {APhotonData}. */ private void convertPhoton(APhotonData data) { float[] etas = data.getEta(); float[] phis = data.getPhi(); float[] pts = data.getPT(); String etaString = ""; String phiString = ""; String ptString = ""; for (int j = 0; j < _drawList.length; j++) { etaString += etas[_drawList[j]] + " "; phiString += phis[_drawList[j]] + " "; ptString += pts [_drawList[j]] + " "; } EtaType eta = new EtaType(); PhiType phi = new PhiType(); PtType pt = new PtType(); eta.setValue(etaString); phi.setValue(phiString); pt.setValue (ptString); PhotonType entry = new PhotonType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setEta(eta); entry.setPhi(phi); entry.setPt (pt); _dataElements.add(entry); Photon.setColors(_colorMap, data.getColor(_drawList)); } /** Convert Atlantis structures to GraXML JAXB tree for <em>ETMis</em>. * @param data Selected {AETMisData}. */ private void convertETMis(AETMisData data) { EtxType etx = new EtxType(); EtyType ety = new EtyType(); etx.setValue("" + data.getETx()); ety.setValue("" + data.getETy()); ETMisType entry = new ETMisType(); entry.setCount(_drawList.length); entry.setStoreGateKey(data.getStoreGateKey()); entry.setEtx(etx); entry.setEty(ety); _dataElements.add(entry); ETMis.setColors(_colorMap, data.getColor(_drawList)); } private int[] _drawList; private List<Object> _dataElements; private Color[] _colorMap = AColorMap.getColors(); private GraXMLThread _graxml; private static String JIVE_EVENT_BUILDER = "net.hep.atlas.graphics.JiveEvent.GeometricModel.JiveEventBuilder"; } |
From: Julius H. <hr...@us...> - 2008-01-24 10:38:02
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/ant In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26267/ant Added Files: build.xml Log Message: bridge to Atlantis introduced --- NEW FILE: build.xml --- <project name="GraXMLBridge" default="compile" basedir=".."> <description> Atlantis bridge to GraXML </description> <!-- Setup ================================================================--> <property environment="env"/> <property name="env.ANT_SITE" value="dist"/> <property file="ant/config-${env.ANT_SITE}.properties"/> <property name="version" value="0.0.0"/> <path id="classpath.build"> <pathelement path="${Atlantis.core}"/> <pathelement path="${GraXML.core}"/> <pathelement path="${JiveEvent.core}"/> <pathelement path="${JiveGeometry.core}"/> <pathelement path="${Xerces.Impl}"/> <pathelement path="${FreeHEP.Hep3D}"/> <pathelement path="${FreeHEP.J3D}"/> <pathelement path="${Java3D.core}"/> <pathelement path="${Java3D.utils}"/> <pathelement path="${Java3D.vecmath}"/> <pathelement path="${Log4J.core}"/> <!-- Java 1.5 --> <pathelement path="${JAXP-2.0.api}"/> <pathelement path="${JAXB-2.0.api}"/> <pathelement path="${JAXB-2.0.libs}"/> <pathelement path="${JAXB-2.0.impl}"/> <pathelement path="${JAXB-2.0.xjc}"/> <pathelement path="${JWSDP.activation}"/> <pathelement path="${JWSDP.jsr173}"/> <!-- --> <pathelement path="${CLASSPATH}"/> <fileset dir="${lib}"> <include name="*.jar"/> <exclude name="${name}*.jar"/> </fileset> </path> <path id="classpath.run"> <pathelement path="${src}"/> <pathelement path="${build}"/> <path refid="classpath.build"/> </path> <!-- Init =================================================================--> <target name="init"> <tstamp> <format property="TSTAMP" pattern="dd/MMM/yyyy 'at' kk:mm:ss z"/> </tstamp> <ant antfile="${config.db}/standard.xml" target="standard.init" inheritRefs="true"/> </target> <!-- Copy =================================================================--> <target name="copy" if="local"> <copy todir="${lib}"> <fileset file="${CyberX3D.core}"/> <fileset file="${Colt.core}"/> <fileset file="${JLFGR.core}"/> <fileset file="${BeanShell.core}"/> <fileset file="${Atlantis.core}"/> <fileset file="${GraXML.core}"/> <fileset file="${JiveEvent.core}"/> <fileset file="${JiveGeometry.core}"/> <fileset file="${Xerces.Impl}"/> <fileset file="${FreeHEP.Hep3D}"/> <fileset file="${FreeHEP.J3D}"/> <fileset file="${Java3D.core}"/> <fileset file="${Java3D.utils}"/> <fileset file="${Java3D.vecmath}"/> <fileset file="${Log4J.core}"/> <!-- Java 1.5 --> <fileset file="${JAXP-2.0.api}"/> <fileset file="${JAXB-2.0.api}"/> <fileset file="${JAXB-2.0.libs}"/> <fileset file="${JAXB-2.0.impl}"/> <fileset file="${JAXB-2.0.xjc}"/> <fileset file="${JWSDP.activation}"/> <fileset file="${JWSDP.jsr173}"/> <!-- --> </copy> <copy todir="${lib}"> <fileset file="${Java3D.core}"/> <fileset file="${Java3D.utils}"/> <fileset file="${Java3D.vecmath}"/> <fileset file="${Java3D.bool}"/> </copy> <mkdir dir="${lib}/i386"/> <copy todir="${lib}/i386"> <fileset dir="${Java3D.i386}"/> </copy> <mkdir dir="${lib}/amd64"/> <copy todir="${lib}/amd64"> <fileset dir="${Java3D.amd64}"/> </copy> </target> <!-- Compile ==============================================================--> <target name="compile" depends="init" description="Compile sources"> <ant antfile="${config.db}/standard.xml" target="standard.compile" inheritRefs="true"/> </target> <!-- JAR ===================================================================--> <target name="jar" depends="compile" description="Create JAR"> <ant antfile="${config.db}/standard.xml" target="standard.jar" inheritRefs="true"> <property name="name" value="${name}"/> <property name="jar.name" value=""/> <property name="scope" value=""/> <property name="main" value=""/> </ant> <copy todir="${user.home}/work/Graphics/AtlantisJava/AtlantisJava/libgraxml3d" overwrite="true"> <fileset file="${lib}/activation.jar"/> <fileset file="${lib}/bool.jar"/> <fileset file="${lib}/bsh-2.0b1.jar"/> <fileset file="${lib}/colt.jar"/> <fileset file="${lib}/cx3djava100a.jar"/> <fileset file="${lib}/freehep-hep3d.jar"/> <fileset file="${lib}/freehep-j3d.jar"/> <fileset file="${lib}/GraXML.jar"/> <fileset file="${lib}/GraXMLBridge.jar"/> <fileset file="${lib}/j3dcore.jar"/> <fileset file="${lib}/j3dutils.jar"/> <fileset file="${lib}/JiveEvent.jar"/> <fileset file="${lib}/JiveGeometry.jar"/> <fileset file="${lib}/AGDD.jar"/> <fileset file="${lib}/GDML.jar"/> <fileset file="${lib}/jlfgr.jar"/> <fileset file="${lib}/log4j-1.2.8.jar"/> <fileset file="${lib}/vecmath.jar"/> <!-- Java 1.5 --> <fileset file="${lib}/jaxb-api.jar"/> <fileset file="${lib}/jaxb-impl.jar"/> <fileset file="${lib}/jaxb-xjc.jar"/> <fileset file="${lib}/jaxp-api.jar"/> <fileset file="${lib}/activation.jar"/> <fileset file="${lib}/jsr173_1.0_api.jar"/> <!-- --> </copy> <mkdir dir="${user.home}/work/Graphics/AtlantisJava/AtlantisJava/libgraxml3d/i386"/> <copy todir="${user.home}/work/Graphics/AtlantisJava/AtlantisJava/libgraxml3d/i386"> <fileset dir="${Java3D.i386}"/> </copy> <mkdir dir="${user.home}/work/Graphics/AtlantisJava/AtlantisJava/libgraxml3d/amd64"/> <copy todir="${user.home}/work/Graphics/AtlantisJava/AtlantisJava/libgraxml3d/amd64"> <fileset dir="${Java3D.amd64}"/> </copy> </target> <!-- Distribution =========================================================--> <target name="dist" depends="copy,doc,jar" description="Create complete distribution"> <ant antfile="${config.db}/standard.xml" target="standard.dist" inheritRefs="true"/> </target> <!-- Check ================================================================--> <target name="check" depends="init" description="Test"> </target> <!-- Clean ================================================================--> <target name="clean" description="Clean up"> <ant antfile="${config.db}/standard.xml" target="standard.clean" inheritRefs="true"/> </target> <!-- Deploy ===============================================================--> <target name="post" depends="dist" description="Put on WWW" if="local"> <ant antfile="${config.db}/standard.xml" target="standard.post" inheritRefs="true"/> <delete file="${build}/keystore"/> <exec executable="${java.home}/../bin/keytool"> <arg line="-genkey -dname 'cn=Julius Hrivnac, ou=IS, o=LAL, c=F' -alias graxmlbridge -keypass prakrsno -keystore ${build}/keystore -storepass prakrsno -validity 180"/> </exec> <signjar alias="graxmlbridge" keystore="${build}/keystore" keypass="prakrsno" storepass="prakrsno"> <fileset file="${lib}/GraXMLBridge.jar"/> </signjar> <copy todir="${user.home}/WWW/Activities/Packages/WebStart/GraXML/jars" overwrite="true"> <fileset file="${lib}/Atlantis3D.jar"/> </copy> <copy todir="${user.home}/WWW/Activities/Packages/WebStart/GraXML" overwrite="true"> <fileset file="${src}/*.jnlp"/> </copy> <replace file="${user.home}/WWW/Activities/Packages/WebStart/GraXML/Atlantis3D.jnlp" token="@VERSION@" value="${version}"/> <replace file="${user.home}/WWW/Activities/Packages/WebStart/GraXML/Atlantis3D.jnlp" token="@BUILD@" value="${TSTAMP}"/> </target> <!-- JavaDoc ==============================================================--> <target name="doc" depends="j2h,uml,viz" description="Construct documentation"> <mkdir dir="${doc}/JavaDoc"/> <copy todir="${doc}"> <fileset dir="${src}" includes="index.html"/> </copy> <replace file="${doc}/index.html" token="@VERSION@" value="${version}"/> <replace file="${doc}/index.html" token="@BUILD@" value="${TSTAMP}"/> <javadoc packagenames="atlantis.interactions*" sourcepath="${src}" destdir="${doc}/JavaDoc" author="true" version="true" use="true" private="true" additionalparam=" -linksource -breakiterator -keywords" source="1.5" Overview="${src}/atlantis/interactions/overview.html" windowtitle="${name}"> <doctitle><![CDATA[<u>]]>${name}<![CDATA[</u>]]></doctitle> <Header><![CDATA[<center>]]>${name} version: ${version}<![CDATA[</center>]]></Header> <Footer><![CDATA[<center>Written by: <a href='http://home.cern.ch/hrivnac'>J.Hrivnac</a></center>]]></Footer> <bottom><![CDATA[<a href='http://cern.ch/hrivnac/Activities/Packages/Atlantis3D'>Documentation</a>]]> built ${TODAY} on ${os.name} by ${user.name}</bottom> <link href="http://java.sun.com/j2se/1.6.0/docs/api"/> <link href="http://java.sun.com/products/java-media/3D/forDevelopers/J3D_1_3_API/j3dapi"/> <link href="http://cern.ch/hrivnac/Activities/Packages/GraXML/JavaDoc"/> <link href="http://cern.ch/hrivnac/Activities/Packages/HEP3D/JavaDoc"/> <link href="http://cern.ch/hrivnac/Activities/Packages/JiveEvent/JavaDoc"/> <link href="http://cern.ch/hrivnac/Activities/Packages/JiveGeometry/JavaDoc"/> <classpath> <path refid="classpath.run"/> </classpath> </javadoc> </target> <!-- J2H ==================================================================--> <target name="j2h" description="Construct source documentation" depends="init" if="local"> <ant antfile="${config.db}/standard.xml" target="standard.j2h" inheritRefs="true"/> </target> <!-- Visualise ============================================================--> <target name="viz" depends="init" description="Create flow of build file" if="local"> <ant antfile="${config.db}/standard.xml" target="standard.viz" inheritRefs="true"/> </target> <!-- FindBugs =============================================================--> <target name="findbugs" if="local" depends="init" description="Construct source documentation"> <ant antfile="${config.db}/standard.xml" target="standard.findbugs.jar" inheritRefs="true"> <property name="jar.name" value=""/> </ant> </target> <!-- UmlGraph =============================================================--> <target name="uml" if="local" depends="init" description="Construct UML documentation"> <ant antfile="${config.db}/standard.xml" target="standard.uml" inheritRefs="true"/> </target> <!--=======================================================================--> </project> |
From: Julius H. <hr...@us...> - 2008-01-24 10:37:59
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26267/src Added Files: GraXMLBridge.jnlp index.html Log Message: bridge to Atlantis introduced --- NEW FILE: GraXMLBridge.jnlp --- <?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML" href="GraXMLBridge.jnlp" version="@VERSION@ [@BUILD@]"> <information> <title>GraXMLBridge - @VERSION@ [@BUILD@]</title> <vendor>J.Hrivnac</vendor> <homepage href="http://cern.ch/hrivnac/Activities/Packages/GraXMLBridge"/> <description kind="tooltip">Atlantis bridge to GraXML.</description> <description kind="one-line">Atlantis bridge to GraXML.</description> <description kind="short">Atlantis bridge to GraXML.</description> <icon kind="default" href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.gif"/> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se max-heap-size="536870912" version="1.5+"/> <jar href="jars/GraXMLBridge.jar"/> <extension href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXMLComponent.jnlp"/> <component-desc/> </jnlp> --- NEW FILE: index.html --- <html> <head> <title>GraXML Bridge</title> </head> <body> <h1><a href="http://cern.ch/hrivnac/Activities/Packages/GraXML">GraXML</a> Bridge</h1> <h2>for <a href="http://cern.ch/atlantis">Atlantis</a></h2> <hr> <ul> <li>Web Start: <a href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXMLBridge.jnlp"><img src="http://javadesktop.org/javanet_images/webstart.small.gif" border="0" alt="Launch Web Start"></a></li> <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML-dist.tar.gz">full distribution</a>.</li> </ul> <hr> <img width="0" height="0" src="http://cern.ch/hrivnac/cgi-bin/record.pl?page=GraXMLBridge"> <address><a href="http://cern.ch/hrivnac">J.Hrivnac</a>, @BUILD@</address> <script type="text/javascript" src="http://cern.ch/hrivnac/google-analytics1.js"/><script type="text/javascript" src="http://cern.ch/hrivnac/google-analytics2.js"/> </body> </html> |
From: Julius H. <hr...@us...> - 2008-01-24 10:35:50
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv25514/interactions Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis/interactions added to the repository |
From: Julius H. <hr...@us...> - 2008-01-24 10:35:43
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv25490/atlantis Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge/src/atlantis added to the repository |
From: Julius H. <hr...@us...> - 2008-01-24 10:35:02
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv25095/src Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge/src added to the repository |
From: Julius H. <hr...@us...> - 2008-01-24 10:35:02
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge/ant In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv25095/ant Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge/ant added to the repository |
From: Julius H. <hr...@us...> - 2008-01-24 10:34:00
|
Update of /cvsroot/graxml/Graphics/GraXMLBridge In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv24735/GraXMLBridge Log Message: Directory /cvsroot/graxml/Graphics/GraXMLBridge added to the repository |
From: Julius H. <hr...@us...> - 2008-01-23 16:09:50
|
Update of /cvsroot/graxml/Graphics/GraXML/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv600 Modified Files: index.html Log Message: Atlantis WebStart link added Index: index.html =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXML/src/index.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** index.html 22 Dec 2007 15:26:15 -0000 1.10 --- index.html 23 Jan 2008 16:09:50 -0000 1.11 *************** *** 18,22 **** <ul> <li><a href="JavaDoc/net/hep/graphics/GraXML/doc-files/Guide.html">Users Guide</a></li> ! <li>Web Start: <a href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.jnlp"><img src="http://javadesktop.org/javanet_images/webstart.small.gif" border="0" alt="Launch Web Start"></a> (run using <code>javaws</code> command).</li> <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML-dist.tar.gz">full distribution</a> (ready to run).</li> <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML2Atlantis.tar.gz">distribution</a> usable with <a href="http://cern.ch/atlantis">Atlantis</a>.</li> --- 18,27 ---- <ul> <li><a href="JavaDoc/net/hep/graphics/GraXML/doc-files/Guide.html">Users Guide</a></li> ! <li>Web Start (run using <code>javaws</code> command): ! <ul> ! <li>GraXML: <a href="http://cern.ch/hrivnac/Activities/Packages/WebStart/GraXML/GraXML.jnlp"><img src="http://javadesktop.org/javanet_images/webstart.small.gif" border="0" alt="Launch Web Start"></a></li> ! <li>Atlantis with GraXML: <a href="http://www.hep.ucl.ac.uk/atlas/atlantis/webstart3d/atlantis3d.jnlp"><img src="http://javadesktop.org/javanet_images/webstart.small.gif" border="0" alt="Launch Web Start"></a></li> ! </ul> ! </li> <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML-dist.tar.gz">full distribution</a> (ready to run).</li> <li>The latest <a href="http://cern.ch/hrivnac/Activities/Packages/GraXML2Atlantis.tar.gz">distribution</a> usable with <a href="http://cern.ch/atlantis">Atlantis</a>.</li> |
From: Julius H. <hr...@us...> - 2008-01-23 14:26:59
|
Update of /cvsroot/graxml/Graphics/GraXML/src/net/hep/graphics/GraXML/doc-files In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26984/net/hep/graphics/GraXML/doc-files Modified Files: Guide.html Log Message: WebStart components for reuse by other packages added Index: Guide.html =================================================================== RCS file: /cvsroot/graxml/Graphics/GraXML/src/net/hep/graphics/GraXML/doc-files/Guide.html,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** Guide.html 22 Dec 2007 15:26:15 -0000 1.26 --- Guide.html 23 Jan 2008 14:27:00 -0000 1.27 *************** *** 310,313 **** --- 310,314 ---- <ul> <li><tt><font color="#990000">net.hep.atlas.graphics.JiveEvent.GeometricModel.Particle.setPtFactor(float ptFactor); // default = 0.01</font></tt></li> + <li><tt><font color="#990000">net.hep.atlas.graphics.JiveEvent.GeometricModel.STr.setPtFactor(float ptFactor); // default = 1</font></tt></li> <li><tt><font color="#990000">net.hep.atlas.graphics.JiveEvent.GeometricModel.Jet0.setPtFactor(float ptFactor); // default = 0.01</font></tt></li> <li><tt><font color="#990000">net.hep.atlas.graphics.JiveEvent.GeometricModel.Jet0.setPtCut(float ptCut); // default = 0.0</font></tt></li> |