Package org.jmol.adapter.writers
Class PDBWriter
java.lang.Object
org.jmol.adapter.writers.PDBWriter
- All Implemented Interfaces:
JmolWriter
An XCrysDen XSF writer
see http://www.xcrysden.org/doc/XSF.html
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate booleanprivate javajs.util.OCprivate Viewer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intfixPDBFormat(javajs.util.Lst<String> lines, Map<String, Integer> map, javajs.util.OC out, int[] firstAtomIndexNew, int modelPt) must re-order by resno and then renumber atoms and add TER records based on BioPolymers note: 3hbt has a break between residues 39 and 51 with no TER record, but Jmol will put that in.private StringpdbKey(int np) voidtoString()write(javajs.util.BS bs)
-
Field Details
-
vwr
-
oc
private javajs.util.OC oc -
isPQR
private boolean isPQR -
doTransform
private boolean doTransform -
allTrajectories
private boolean allTrajectories
-
-
Constructor Details
-
PDBWriter
public PDBWriter()
-
-
Method Details
-
set
- Specified by:
setin interfaceJmolWriter
-
write
- Specified by:
writein interfaceJmolWriter
-
pdbKey
-
fixPDBFormat
private int fixPDBFormat(javajs.util.Lst<String> lines, Map<String, Integer> map, javajs.util.OC out, int[] firstAtomIndexNew, int modelPt) must re-order by resno and then renumber atoms and add TER records based on BioPolymers note: 3hbt has a break between residues 39 and 51 with no TER record, but Jmol will put that in.- Parameters:
lines-map-out-modelPt-firstAtomIndexNew-- Returns:
- new modelPt
-
toString
-