File: 3Dviewer

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (63 lines) | stat: -rw-r--r-- 2,518 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
slib_lang_exists_tmp=yes

slib_parms=2\
,data\
,option

slib_out=Applet pour la visualisation en 3D

L'applet java utilis est\
LatticeViewer. Extrait du code source :\
<pre>\
 LatticeViewer.java\
 Date :       18th Feb 1998	\
 Adapted by : Simon P.A.Gill\
 http://www.le.ac.uk/engineering/spg3/lattice/\
 The following java code is an adaptation of the Molecule Viewer XYZApp.java\
 freely distributed by Sun Microsystems. The conditions stated below apply\
 to this code. S.P.A. Gill takes no responsibility for this code. \
 Requires class Matrix3D.java (also from Sun at\
 http://www.javasoft.com:80/applets/js-applets.html)
 </pre>
slib_index=!record 0 of data/polyedre_off/index

slib_comment=Le premier paramtre peut prendre le nom d'un polydre de la base de donnes (voir ci-dessous)\
ou bien tre le contenu d'un fichier xyz. Transformation en cours (ancienne version\
utilisait java).

<br/>Les options possibles sont les suivantes:\
<br/><span class="tt">label</span> peut tre <span class="tt">true</span> (vrai) ou <span class="tt">false</span> (faux), si <span class="tt">true</span>, les points sont labells\
par un nombre\
<br/><span class="tt">box</span> peut tre </tt>true </tt> (vrai) ou <span class="tt">false</span> (faux). si <span class="tt">true</span>, \
les liens entre noeuds de rayon nul sont affichs\
<br/><span class="tt">scale</span> (chelle)\
<br/><span class="tt">format</span> peut tre <span class="tt">off</span> ou <span class="tt">xyz</span>\
<br/><span class="tt">width</span> (largeur) en pixels\
<br/><span class="tt">height</span> (hauteur) en pixels\
<br/><span class="tt">bgcolor</span> comme "ffffff" : couleur de fond\
<br/><span class="tt">bondcolor</span> comme "ffffff" : couleur de lien \
<br/>Les paramtres par dfaut sont: <span class="tt">label=false bgcolor="000000" bondcolor="9966CC" \
box=true bonds=true scale=0.8 format=pdb width=300 height=300</span>\
<br/> Exemple d'un fichier xyz :\
<pre>ATOM C 255 0 0 1.0\
ATOM X 0 0 0 0.0\
c 0 0 0 2\
c 0.985977 0.985977 0.985977 3 7\
c 0 1.97195 1.97195 4\
c 0.985977 2.95792 2.95792 9 12\
c 1.97195 0 1.97195 2 6\
c 2.95792 0.985977 2.95792 10 13\
c 1.97195 1.97195 0 8\
c 2.95792 2.95792 0.985977 9 11\
c 1.97195 3.94389 1.97195\
c 3.94389 1.97195 1.97195 8\
c 3.94389 3.94389 0\
c 0 3.94389 3.94389\
c 1.97195 1.97195 3.94389 4\
c 3.94389 0 3.94389 6\
x 0 0 3.94389\
x 3.94389 0 0\
x 0 3.94389 0\
x 3.94389 3.94389 3.94389\
</pre>\
<br/> Index de la base de donnes (format \"off\"): <pre>$slib_index </pre>