1. 29 Aug, 2016 2 commits
    • David C. Lonie's avatar
      Move the BODR (periodic table) data into a private header. · bf7d3b5f
      David C. Lonie authored
      Rather than install, attempt to locate, parse, etc the elements.xml
      file directly, embed the data in the vtkBlueObeliskData translation
      unit via the vtkBlueObeliskDataInternal header.
      The header file is generated by the GenerateBlueObeliskHeader test
      in Domains/Chemistry, which is built by enabling the CMake option
    • David C. Lonie's avatar
      Fix bug in vtkBlueObeliskDataParser. · 330714d2
      David C. Lonie authored
      Some fields were incorrectly parsed because the current tag was not
      cleared at the end of an element.
  2. 08 Mar, 2016 1 commit
  3. 03 Mar, 2016 1 commit
    • David C. Lonie's avatar
      Refactor data array APIs. · 893fb6ed
      David C. Lonie authored
      vtkDataArray subclasses now use
      ComponentValue --> TypedComponent
      TupleValue --> TypedValue
      for their type-specific methods.
      # Conflicts:
      #	Rendering/Annotation/vtkScalarBarActor.cxx
  4. 19 Mar, 2013 1 commit
    • David C. Lonie's avatar
      Accumulate character data between calls to CharacterDataHandler. · 47dba442
      David C. Lonie authored
      This fixes a bug where character data was split across two 4k
      buffer payloads (read by vtkXMLParser) leading to incorrect parsing
      of the text (the first bit was discarded and the second bit was treated
      as the entire string).
      Change-Id: I1196a8d4bc7a55aaf5a5c5113e9c4112f97858de
  5. 04 Mar, 2013 1 commit
    • Kyle Lutz's avatar
      Fix valgrind error in vtkBlueObeliskDataParser · 6987a855
      Kyle Lutz authored
      This fixes "Conditional jump or move depends on uninitialised
      value" error issued by valgrind. The atof() call resulted in the
      valgrind error when the data is non-numeric. This fixes the error
      by using std::stringstream to parse the data instead of atof().
      This should fix most of the valgrind errors in the chemistry tests.
      Change-Id: I9dfbcf74524d8862d09ded5ba1a85d5dc9d160b3
  6. 14 May, 2012 1 commit
  7. 09 Apr, 2012 1 commit
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
  8. 15 Mar, 2012 1 commit
  9. 16 Feb, 2012 1 commit
  10. 26 Jan, 2012 1 commit
    • David C. Lonie's avatar
      Added vtkPeriodicTable and associated classes to Chemistry kit. · 82c73fe3
      David C. Lonie authored
      This patch introduces 3 new classes:
      - vtkPeriodicTable: Convert between atomic number and symbol/name,
        lookup rgb values, lookup atomic radii, etc.
      - vtkBODR: Container for arrays parsed from the Blue Obelisk Data
      - vtkBODRParser: Parser to read the XML files from the bodr.
      It also contains bodr's elements.xml file and COPYING notice (MIT
      license). These are installed to share/.
      Change-Id: Ia7c928250e788695ad22a007dfdc9de4363c0474