1. 18 Nov, 2019 2 commits
    • Kitware Robot's avatar
      clang-format: reformat using clang-format-8 · ac76fe16
      Kitware Robot authored
      Run the `clang-format.bash` script to update all our C and C++ code to a
      new style defined by `.clang-format`.  Use `clang-format` version 8.0.
      
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
      ac76fe16
    • Kitware Robot's avatar
      clang-format: prepare data arrays for formatting · cf111cf6
      Kitware Robot authored
      clang-format tends to either put each element on its own line or smash
      them together into a few lines. There's a little bit more structure
      that's important in these arrays, so preserve that through clang-format
      as well.
      cf111cf6
  2. 13 Nov, 2019 1 commit
  3. 12 Nov, 2019 1 commit
  4. 04 Jan, 2018 1 commit
  5. 29 Sep, 2017 1 commit
    • Andrew Bauer's avatar
      Improvements for vtkNew for stl containers and comparison operations · fd04b442
      Andrew Bauer authored
      Adding in functionality to allow inserting vtkNew objects into
      stl containers of vtkSmartPointer objects as well as comparisons
      between vtkNew objects and raw pointers. Also removing Get() and
      GetPointer() calls from vtkNew objects since in most instances we
      can just pass in the vtkNew<> object instead of having to use the
      Get() or GetPointer() methods to get the raw pointer.
      fd04b442
  6. 26 Jul, 2017 1 commit
    • Kitware Robot's avatar
      Replace many NULL and 0 occurances with nullptr · a855cab0
      Kitware Robot authored
      This topic is the result of running clang-tidy to
      modernize our usage of NULL and 0 to nullptr. It also
      includes some manual and semi manual changes where
      clang-tidy would not be expected to work (such as in
      comments, or classes not compiled on this build)
      
      There are definitely many comments and occurances that
      this topic misses that we will need to fix over time.
      a855cab0
  7. 23 Sep, 2016 1 commit
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
  8. 08 Mar, 2016 1 commit
  9. 28 Jan, 2016 1 commit
  10. 09 Oct, 2014 1 commit
  11. 29 Oct, 2013 1 commit
  12. 22 Jul, 2013 1 commit
  13. 20 Dec, 2012 1 commit
    • Joachim Pouderoux's avatar
      Accelerate the bonds creation thanks to a vtkPointLocator. · 170704df
      Joachim Pouderoux authored
      The vtkPointLocator is used to find atoms in the acceptable
      neighborhood for creating a bond.
      
      We gain a 100x speedup on a molecule made with 50k atoms!
      
      - oups copy/past error and the max dist test was missing. Fixed.
      
      Change-Id: If6fa33fdfff3732f6c2875306a613b5aee81a805
      170704df
  14. 03 Oct, 2012 1 commit
    • Joachim Pouderoux's avatar
      Fix and enhance the protein ribbon filter. · 956fecdb
      Joachim Pouderoux authored
      Add descriptions to vtkProteinRibbonFilter parameters.
      Add a parameter to enable the small molecules visualization.
      Those small molecules are now correctly represented (the atom type
      fetched from the PDB file and then used was not the atom element
      but was related to the atom and residue nomenclature described
      in the Chemical Component Dictionary).
      vtkMoleculeReader now exports the atom_type array containing the
      element atomic number minus 1.
      The test now uses a new PDB file.
      
      Change-Id: I38207446635afbcdc573e3b27ca3745f885ea57a
      956fecdb
  15. 26 Sep, 2012 1 commit
  16. 21 Sep, 2012 1 commit
    • Joachim Pouderoux's avatar
      Improve the PDBReader to support secondary structures · 166d57ce
      Joachim Pouderoux authored
      Improve the vtkProteinRibbonFilter so the ribbon looks likes a ribbon.
      The width, colors, smoothness of the ribbon change according secondary
      structures parameters setup in the PDB reader.
      
      Change-Id: I554f8f2a96e17430f91a223332e8e1b8238bd444
      166d57ce
  17. 13 Sep, 2012 1 commit
    • Kyle Lutz's avatar
      Add vtkProteinRibbonFilter class · 2235da44
      Kyle Lutz authored
      This adds a new class which generates a protein ribbon (as vtkPolyData)
      from the output provided by vtkPDBReader. Currently the entire protein
      is rendered as a single spline tube without using the secondary-structure
      information (e.g. alpha-helices and beta-sheets). Future work will update
      the filter to output a poly-data with the secondary-structure features.
      
      A new test named TestProteinRibbon was added to verify the output of the
      filter with the 2LYZ pdb file.
      
      Also, the vtkPDBReader class was modified to pass along the atom type
      names as a vtkStringArray named 'atom_types' which are needed by the
      new protein ribbon filter.
      
      Change-Id: I2c912d3d8020acbc09f7955f2bf0391cabc52a24
      2235da44
  18. 09 Apr, 2012 2 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
      are maintained outside VTK.
      
      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>
      2d323fc4
    • 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>
      cdd4d6fd
  19. 20 May, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      
      Automated as follows:
      
        pass 0:
        catch templates
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
      
        pass 1:
        main changes
        ---------------
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        done
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        done
      
        pass 2:
        verify
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
      ecbbf7f7
  20. 23 Apr, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · 19c55e0e
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      
      Automated as follows:
      
        pass 0:
        catch templates
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
      
        pass 1:
        main changes
        ---------------
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        done
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        done
      
        pass 2:
        verify
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
      19c55e0e
  21. 07 Dec, 2004 1 commit
  22. 27 Sep, 2004 1 commit
  23. 01 Sep, 2004 1 commit
  24. 08 Jan, 2004 1 commit
  25. 23 Dec, 2003 1 commit
  26. 05 Dec, 2003 1 commit
  27. 13 Nov, 2003 1 commit
  28. 11 Nov, 2003 1 commit
  29. 07 Nov, 2003 1 commit
  30. 30 Aug, 2003 1 commit
  31. 20 Aug, 2003 1 commit
    • Andy Cedilnik's avatar
      BUG: Jean Favre reported: · d055edac
      Andy Cedilnik authored
      I have identified and corrected 2 bugs with reading PDB stuff.  The bug in
      MolecularReaderBase was making the PDBreader crash when you tried to read a new
      filename.  The bug in PDBReader was creating wrong indices to index RGB and
      Radius tables.
      d055edac
  32. 14 May, 2003 6 commits
  33. 13 May, 2003 1 commit