Class JvxlReader

All Implemented Interfaces:
VertexDataServer

public class JvxlReader extends JvxlXmlReader
  • Constructor Details

    • JvxlReader

      JvxlReader()
  • Method Details

    • init2

      void init2(SurfaceGenerator sg, BufferedReader br)
      Overrides:
      init2 in class JvxlXmlReader
    • readParameters

      protected void readParameters() throws Exception
      Overrides:
      readParameters in class JvxlXmlReader
      Throws:
      Exception
    • jvxlReadFractionData

      protected String jvxlReadFractionData(String type, int nPoints)
      Description copied from class: JvxlXmlReader
      "edge" data includes two parts -- a compressed bitset indicating exactly which edges, in order or processing by Jmol, are crossed by the surface, and a set of fractions indicating how far along that edge (good to 1 part in 8100) that surface crosses that edge. We are just reading he fractions here. "color" data comprises the corresponding sequence of data mapping values, again stored to a precision of 1 part in 8100, relative to a range of values.
      Overrides:
      jvxlReadFractionData in class JvxlXmlReader
      Parameters:
      type -
      nPoints -
      Returns:
      data
    • gotoData

      protected void gotoData(int n, int nPoints) throws Exception
      Overrides:
      gotoData in class JvxlXmlReader
      Parameters:
      n -
      nPoints -
      Throws:
      Exception
    • jvxlReadDefinitionLine

      private void jvxlReadDefinitionLine(boolean showMsg) throws Exception
      Throws:
      Exception
    • readSurfaceData

      protected void readSurfaceData(boolean isMapDataIgnored) throws Exception
      Overrides:
      readSurfaceData in class JvxlXmlReader
      Throws:
      Exception
    • jvxlSkipData

      protected void jvxlSkipData(int nPoints, boolean doSkipColorData) throws Exception
      Overrides:
      jvxlSkipData in class JvxlXmlReader
      Throws:
      Exception
    • jvxlSkipDataBlock

      private void jvxlSkipDataBlock(int nPoints, boolean isInt) throws Exception
      Throws:
      Exception
    • countData

      private int countData(String str)