1. 19 Jul, 2016 2 commits
  2. 06 May, 2016 1 commit
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
      0d71a308
  3. 08 Mar, 2016 1 commit
  4. 28 Jan, 2016 1 commit
  5. 08 Dec, 2015 2 commits
    • Brad King's avatar
      Drop support for compilers without `long long` · 3b89e771
      Brad King authored
      VTK no longer supports any compilers that do not provide this type.
      Therefore all code conditional on VTK_TYPE_USE_LONG_LONG can be made
      unconditional.  Leave the macro defined to tell dependent projects that
      APIs using the type are available in case they still support versions of
      VTK that make it conditional.
      3b89e771
    • Brad King's avatar
      Drop support for compilers with `__int64` as the only 64-bit int · 36bb09a7
      Brad King authored
      VTK no longer supports any compilers that have `__int64` but not a
      `long` or `long long` that is 64-bit.  Therefore all code that is
      conditional on VTK_TYPE_USE___INT64 is never used and can be dropped.
      36bb09a7
  6. 21 Nov, 2015 1 commit
  7. 30 Oct, 2015 1 commit
  8. 20 Aug, 2015 1 commit
    • Brad King's avatar
      ENH: Remove use of include <vtksys/ios/*> and vtksys_ios::* · 3ae7dd3a
      Brad King authored
      We no longer need this compatibility layer for the compilers we support.
      Use the following commands to switch to standard header and namespace:
      
       git grep -l vtksys/ios/ | xargs sed -i 's|vtksys/ios/||'
       git grep -l vtksys_ios | xargs sed -i 's|vtksys_ios|std|g'
      3ae7dd3a
  9. 22 Jul, 2015 1 commit
    • Bill Lorensen's avatar
      STYLE: Replace vtksys_stl and vtksys_ios:: with std:: · 924248d9
      Bill Lorensen authored
      In the early days of VTK, support for stl was not portable. vtksys_stl
      and vtksys_ios provided a portable implementation of the stl. Now, all
      of the VTK supported compilers have portable stl implementations.
      
      This patch:
        1) Replaces the vtksys_ios:: with std::.
        2) Replaces the vtksys_stl:: with std::.
        3) Removes "using" statements for stl
      924248d9
  10. 06 Apr, 2015 1 commit
  11. 31 Mar, 2015 1 commit
    • Dan Lipsa's avatar
      Redesign "vtkGhostLevels" arrays and related ghost functionalties. · 4dee0274
      Dan Lipsa authored
      Co-authored-by: default avatarYuanxin Liu <leo.liu@kitware.com>
      Co-authored-by: Berk Geveci's avatarBerk Geveci <berk.geveci@kitware.com>
      
       -The semantics of each unsigned char in the ghost arrays changes:
        Instead of storing a numeric value representing how far a cell is
        from the boundary, it is now a bit field specified by
        vtkDataSetAttributes::CellGhostTypes and
        vtkDataSetAttributes::PointGhostTypes.  The bit field is consistent
        with VisIt specs.
      
      - Previously, filters strip all ghost cells they request from upstream
        before finalizing the output. This is no longer done.
      
      - vtkUniform grids previously supported blanking through member arrays
        vtkUniformGrid::CellVisibility and
        vtkUniformGrid::PointVisibility. These arrays are removed and the
        blanking functionality are supported through the new ghost arrays
        instead.
      
      - the "vtkGhostLevel" arrays for cell and point data are renamed to
        vtkDataSetAttributes::GhostArrayName() ("vtkGhostType").
      
      - the version for VTK Legacy files is increased to 4.0 and the version for
        VTK XML files is increased to 2.0. When reading older files we
        convert vtkGhostLevels array to vtkGhostType.
      4dee0274
  12. 09 Oct, 2014 1 commit
  13. 12 Sep, 2014 1 commit
    • Joachim Pouderoux's avatar
      Add support for EDGEFLAG attributes in legacy reader & writer. · 8efe5ef2
      Joachim Pouderoux authored
      So far edgeflag attributes were not serialized/unserialized.
      This miss prevent edgeflags to be transfered in ParaView
      data delivery mechanism - and avoid edges to be correctly
      represented by the client in client/server mode.
      
      Change-Id: I64d6c06f8fa6d1c92f9156d973b28c863b9efa1f
      8efe5ef2
  14. 17 Dec, 2013 1 commit
    • Kyle Lutz's avatar
      Fix vtkDataReader with signed char · d92bf40e
      Kyle Lutz authored
      The vtkDataWriter class uses the "signed_char" identifier for signed
      char data but the vtkDataReader class only checks for "char". Now it
      accepts either "char" or "signed_char".
      
      This fixes VTK bug #13744.
      
      Change-Id: I7f0c7614e4d01a0b700ab84a370d1896c63b18d1
      d92bf40e
  15. 02 Mar, 2013 1 commit
  16. 31 Aug, 2012 1 commit
    • Berk Geveci's avatar
      Moved readers and writers of the legacy VTK format to their own module. · 7f5f0bbc
      Berk Geveci authored
      The legacy readers and writers somehow ended up in the IO/Geometry
      module. I moved them to their own: IO/Legacy. I also cleaned
      up dependencies. Some writers somewhat incorrectly subclasses from
      the legacy writers even though they supported completely different formats.
      They did this to just use things like FileName.
      
      Change-Id: I603753bc7145b317bd71e7798cd2ea8a6c5c56c1
      7f5f0bbc
  17. 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
  18. 13 Dec, 2011 1 commit
  19. 30 Nov, 2011 1 commit
  20. 28 Jan, 2011 1 commit
  21. 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
  22. 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
  23. 19 Oct, 2009 1 commit
  24. 10 Feb, 2009 1 commit
    • Berk Geveci's avatar
      ENH: Major update to the Python module. · 930d4ced
      Berk Geveci authored
      The simple module is going to be the new public interface for ParaView.
      The goal behind this module is to provide a simple interface that is
      as close to the way the GUI does things as possible. To that end, I
      made numerous modifications for both the simple module and the servermanager
      module.
      930d4ced
  25. 12 Sep, 2008 1 commit
  26. 11 Sep, 2008 1 commit
    • Karthik Krishnan's avatar
      ENH: Fix bug 0007518. · 3aaf251b
      Karthik Krishnan authored
      This is a potential invalid memory write in the DecodeString() method. This would produce a segmentation fault under certain builds. This bug was verified with valgrind. The bug is related to the calls from the ReadArray() method at lines 1610 and 1629. Just before these calls a character array, decoded, of length (length+1) is being allocated. This array is then passed into DecodeString().
      
      If the decoded string is the same length as the original string then Decode writes a value 1 byte beyond the bounds of the array on line 3033. Either the original array allocated needs to be larger or line 3033 should be
      
      resname[reslen] = 0;
      
      instead of
      
      resname[reslen+1] = 0
      
      Thanks to Vince Magnotta for noticing the bug.
      3aaf251b
  27. 26 Aug, 2008 1 commit
  28. 25 Aug, 2008 2 commits
  29. 25 Jul, 2008 1 commit
  30. 17 Jul, 2008 1 commit
  31. 23 Apr, 2008 1 commit
  32. 25 Jan, 2008 1 commit
    • Jeff Baumes's avatar
      ENH: Newly refactored vtkGraph and vtkTree. Among the major changes are: · d3f46a55
      Jeff Baumes authored
      * Iterator-based access to edges
      * vtkGraph subclasses from vtkDataObject instead of vtkPointSet
      * vtkGraph's implementation is much more like that of the boost graph library
      * Separate classes vtkDirectedGraph and vtkUndirectedGraph instead of
      a Directed flag
      * Mutable classes vtkMutableDirectedGraph and vtkMutableUndirectedGraph used for building graphs
      d3f46a55
  33. 15 Oct, 2007 3 commits
    • Jeff Baumes's avatar
      COMP: Fixing shadowing warnings in vtkSelection and vtkDataReader/Writer. · 6385fdff
      Jeff Baumes authored
      BUG: Fixing threshold test.
      6385fdff
    • Jeff Baumes's avatar
      9347631f
    • Jeff Baumes's avatar
      ENH: Merging changes from Overview_0_9 branch: · e837c0e1
      Jeff Baumes authored
      ENH: Added arrow types to sources.xml
      ENH: vtkAbstractArray is now able to create a vtkVariantArray.
      ENH: Updated vtkSelection::Union to handle multiple-column selections.
      BUG: Fixing string overrun in vtkAssignAttribute.
      ENH: Adding progress to vtkConvertSelection.
      ENH: Adding EdgeArrow type to vtkGlyphSource2D.
      BUG: vtkKdTreeSelector now always uses the specified array name in the output.
      ENH: Adding convenience method to set the vertex from a string.
      ENH: In vtkExtractSelectedGraph, use vtkConvertSelection to convert to an index selection.
      ENH: In vtkThresholdTable, make comparison inclusive.
      ENH: Adding support for vtkVariantArray in vtkDataReader/Writer.
      e837c0e1
  34. 18 Sep, 2007 1 commit