Class JmolDataReader

All Implemented Interfaces:
GenericLineReader

public class JmolDataReader extends PdbReader
JmolData file reader, for a modified PDB format This class also holds pseudo-static methods for spin
  • Constructor Details

    • JmolDataReader

      public JmolDataReader()
  • Method Details

    • checkRemark

      protected void checkRemark()
      Overrides:
      checkRemark in class PdbReader
    • processAtom2

      protected void processAtom2(Atom atom, int serial, float x, float y, float z, int charge)
      Overrides:
      processAtom2 in class PdbReader
    • setAdditionalAtomParameters

      protected void setAdditionalAtomParameters(Atom atom)
      Description copied from class: PdbReader
      adaptable via subclassing
      Overrides:
      setAdditionalAtomParameters in class PdbReader
      Parameters:
      atom -
    • finalizeSubclassReader

      protected void finalizeSubclassReader() throws Exception
      Overrides:
      finalizeSubclassReader in class PdbReader
      Throws:
      Exception
    • getJmolDataFrameScripts

      public String[] getJmolDataFrameScripts(Viewer vwr, int tok, int modelIndex, int modelCount, String type, String qFrame, String[] props, boolean isSpinPointGroup)
    • getJmolDataFrameProperties

      public Object[] getJmolDataFrameProperties(ScriptEval e, int tok, int[] propToks, String[] props, BS bs, P3 minXYZ, P3 maxXYZ, String format, boolean isPdbFormat) throws ScriptException
      Throws:
      ScriptException
    • setJmolDataFrame

      public void setJmolDataFrame(ModelSet ms, String type, int modelIndex, int modelDataIndex)
      Set up the JmolDataFrame initially
      Parameters:
      ms -
      type -
      modelIndex -
      modelDataIndex -
    • getPlotSpinSet

      public BS getPlotSpinSet(Viewer vwr, BS bs, int modelIndex, P3 minXYZ, P3 maxXYZ)
      remove non-spin atoms and atoms with duplicated spin and set min/max XYZ for the plot
      Parameters:
      vwr -
      bs -
      modelIndex -
      minXYZ -
      maxXYZ -
      Returns:
      bitset for plot