Gridarta Editor
|
Package Functions | |
int | addVert (String name, float x, float y, float z) |
void | findBB () |
void | paint (Graphics g) |
void | transform () |
XYZChemModel () | |
XYZChemModel (InputStream is) throws Exception | |
Static Package Functions | |
[static initializer] | |
Package Attributes | |
Atom | atoms [] |
Matrix3D | mat |
int | maxvert |
int | nvert |
boolean | transformed |
int | tvert [] |
float | vert [] |
float | xmax |
float | xmin |
float | ymax |
float | ymin |
float | zmax |
float | zmin |
int | ZsortMap [] |
Static Package Attributes | |
static final Map< String, Atom > | atomTable = new HashMap<String, Atom>() |
static Atom | defaultAtom |
The representation of a Chemical .xyz model
Definition at line 68 of file XYZApp.java.
|
package |
Definition at line 92 of file XYZApp.java.
References mat, Matrix3D.xrot(), and Matrix3D.yrot().
|
package |
Create a Chemical model by parsing an input stream
Definition at line 99 of file XYZApp.java.
References addVert(), and name.
|
staticpackage |
|
package |
Add a vertex to this model
Definition at line 151 of file XYZApp.java.
References a, atoms, atomTable, defaultAtom, maxvert, name, nvert, and vert.
Referenced by XYZChemModel().
|
package |
Find the bounding box of this model
Definition at line 254 of file XYZApp.java.
Referenced by XYZApp.run().
|
package |
Paint this model to a graphics context. It uses the matrix associated with this model to map from model space to screen space. The next version of the browser should have double buffering, which will make this much nicer
Definition at line 196 of file XYZApp.java.
References a, atoms, nvert, Atom.paint(), transform(), tvert, vert, and ZsortMap.
Referenced by XYZApp.paint().
|
package |
Transform all the points in this model
Definition at line 181 of file XYZApp.java.
References mat, nvert, Matrix3D.transform(), transformed, tvert, and vert.
Referenced by paint().
|
package |
Definition at line 71 of file XYZApp.java.
Definition at line 75 of file XYZApp.java.
Referenced by addVert().
|
staticpackage |
Definition at line 76 of file XYZApp.java.
Referenced by addVert().
|
package |
Definition at line 89 of file XYZApp.java.
Referenced by XYZApp.paint(), transform(), and XYZChemModel().
|
package |
Definition at line 74 of file XYZApp.java.
Referenced by addVert().
|
package |
Definition at line 74 of file XYZApp.java.
Referenced by addVert(), findBB(), paint(), and transform().
|
package |
Definition at line 88 of file XYZApp.java.
Referenced by XYZApp.paint(), and transform().
|
package |
Definition at line 72 of file XYZApp.java.
Referenced by paint(), and transform().
|
package |
Definition at line 70 of file XYZApp.java.
Referenced by addVert(), findBB(), paint(), and transform().
|
package |
Definition at line 90 of file XYZApp.java.
Referenced by XYZApp.paint(), and XYZApp.run().
|
package |
Definition at line 90 of file XYZApp.java.
Referenced by XYZApp.paint(), and XYZApp.run().
|
package |
Definition at line 90 of file XYZApp.java.
Referenced by XYZApp.paint(), and XYZApp.run().
|
package |
Definition at line 90 of file XYZApp.java.
Referenced by XYZApp.paint(), and XYZApp.run().
|
package |
Definition at line 90 of file XYZApp.java.
Referenced by XYZApp.paint(), and XYZApp.run().
|
package |
Definition at line 90 of file XYZApp.java.
Referenced by XYZApp.paint(), and XYZApp.run().
|
package |
Definition at line 73 of file XYZApp.java.
Referenced by paint().