public class Atom_3D
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
javax.media.j3d.BranchGroup |
branchGroup |
java.lang.String |
chainID |
java.lang.String |
charge |
java.awt.Color |
color |
int |
comparator |
java.util.Vector<Atom_3D> |
currentNeighbors |
java.lang.String |
element |
java.lang.Integer |
indexForPDBWriter |
float |
massValue |
java.lang.String |
name |
com.sun.j3d.utils.geometry.Primitive |
object_3D |
java.lang.String |
occupancy |
javax.vecmath.Point3f |
position |
float |
radiusCov |
float |
radiusVDW |
java.lang.String |
recordName |
java.lang.String |
residueName |
java.lang.String |
tempFactor |
Constructor and Description |
---|
Atom_3D()
Creates an empty instance
|
Atom_3D(java.lang.String line)
Creates an instance using the passed atom entry string of a pdb file in
order to set up the varialbles.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object arg0) |
Atom_3D |
copy()
Returns an exact clone of this instance
|
javax.vecmath.Point3f |
getPosition()
The (anstrom) position of this Atom
|
void |
setPosition(javax.vecmath.Point3f newPosition)
Sets the position.
|
java.lang.String |
toString()
Returns a String for Debugging
|
public com.sun.j3d.utils.geometry.Primitive object_3D
public javax.media.j3d.BranchGroup branchGroup
public java.lang.String recordName
public javax.vecmath.Point3f position
public java.lang.String name
public java.lang.String residueName
public java.lang.String occupancy
public java.lang.String tempFactor
public java.lang.String element
public java.lang.String charge
public java.lang.String chainID
public java.awt.Color color
public float radiusCov
public float radiusVDW
public java.util.Vector<Atom_3D> currentNeighbors
public java.lang.Integer indexForPDBWriter
public int comparator
public float massValue
public Atom_3D()
public Atom_3D(java.lang.String line) throws java.lang.Exception
an
- unedited line of the coordinate section of a pdb filejava.lang.Exception
- if no coordinates could be determined properlypublic Atom_3D copy()
public java.lang.String toString()
toString
in class java.lang.Object
public void setPosition(javax.vecmath.Point3f newPosition)
newPosition
- public javax.vecmath.Point3f getPosition()
public int compareTo(java.lang.Object arg0)
compareTo
in interface java.lang.Comparable