Class KinemageReader

    • Field Detail

      • nDots

        private int nDots
      • vMin

        private float vMin
      • vMax

        private float vMax
      • pointType

        private int pointType
      • findString

        private java.lang.String findString
      • lastAtom

        private java.lang.String lastAtom
    • Constructor Detail

      • KinemageReader

        KinemageReader()
    • Method Detail

      • readVertices

        protected boolean readVertices()
                                throws java.lang.Exception
        Overrides:
        readVertices in class PmeshReader
        Throws:
        java.lang.Exception
      • readDots

        private void readDots()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readVectors

        private void readVectors()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPoint

        private int getPoint​(java.lang.String line,
                             int i,
                             int[] retColor,
                             boolean checkType)
      • getColor

        private int getColor​(java.lang.String color)
      • assignValueFromGapColorForKin

        private float assignValueFromGapColorForKin​(java.lang.String color)
        C++ code gives these as " value > x.x ? "xxxxx", etc. so technically we are off by a smidgeon. But they are the reference numbers, so we will use them inclusively instead.
        Parameters:
        color -
        Returns:
        value or NaN if outsided desired range