1. 19 Aug, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      vtk/vtk#14310
      
      Windows applications that run for a long time report that rendered
      objects do not change. This is because the modified time on a Windows
      system is 32 bits. This causes overflows that defeat the modified time
      mechanism. This patch defines a new type, vtkMTimeType that is 64
      unsigned integer regardless of the architecture.
      
      A mechanism to provide backward compatibility is introduced. The
      preprocessor define "VTK_HAS_MTIME_TYPE" can be used in applications
      that must build against VTK versions that use the "unsigned long" type
      for MTime's.
      
      Methodology used to find MTime occurences:
      1) Identify files as follows:
         git grep "unsigned long" | grep ime | cut -d":" -f1,1 | sort | uniq
      2) Hand edit each of those files replacing "unsigned long" with
         "vtkMTimeType" where appropriate.
      3) Temporarily change typedef for vtkMTimeType to "double" to detect
         missing conversions
      9333d9d1
  2. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  3. 08 Mar, 2016 1 commit
  4. 18 Dec, 2014 1 commit
  5. 02 Dec, 2014 1 commit
    • Bill Lorensen's avatar
      ENH: Restore missing Infovis classes · bac2c9cf
      Bill Lorensen authored
      A number of classes in Infovis/Core were not being compiled. This patch:
      1) Moves vtkConvexHull2D and vtkGraphAnnotatedLayersFilter to
      Rendering/Annotation.
      2) Reinstates tests for vtkConvexHull2D, vtkDotProductSimilarity,
      vtkArrayNorm
      3) Removes unused test for TestTimePoint. The vtkTimePointUtility is
      already tested in Common/Core.
      
      Change-Id: I51c23a20897590531435f784602570865ebcb22b
      bac2c9cf
  6. 09 Apr, 2012 2 commits
    • VTK Developers's avatar
      Include module-wide headers and export macros · 144f03ca
      VTK Developers authored
      Include the module-wide header from every header in each module.
      Reference the export/visibility macro for the module.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      144f03ca
    • 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
  7. 29 Nov, 2011 2 commits
    • Jeff Baumes's avatar
      COMP: Moving convex hull and layers filter to infovis due to rendering dep · 346ce493
      Jeff Baumes authored
      Change-Id: If4bb8e030df38f7d1f8400ac053a213b45053f9b
      346ce493
    • Colin Myers's avatar
      ENH: Enhancements to vtkTulipReader and new support for clusters. · 568b8e05
      Colin Myers authored
      1. Fixed previous behaviour whereby properties were assumed to be on
      both nodes and edges, leading to empty arrays being added to the
      graph when properties are only set for either node or edge.
      
      2. Node and edge pedigree ids are added that retain the id values given in
      the input Tulip file.
      
      3. Added double property type.
      
      4. Updated vtkTulipReaderTestProperties to cover 1, 2, and 3 above.
      
      4. Added ability to read clusters.
      Clusters (subgraphs) are output as vtkSelectionNodes within the
      vtkAnnotationsLayer on output port 1. Nested hierarchies are
      flattened.
      
      5. Added a filter to convert a vtkPolygon to a polygon of the convex hull
      of the points in the input. The filter ensures visibility by adding extra
      points and/or scaling the hull up. Static convenience methods provide a
      similar function, with vtkPoints as the input/output. Adding a vtkRenderer
      allows a minimum size in pixels to be specified.
      
      6. Added a filter to display graph annotations.
      The new filter takes a vtkAnnotations layers containing selections
      of vertices from a vtkGraph. Each node of the selection is
      represented by it's convex hulli/bounding rectangle.
      
      6. Added a test (TestTulipReaderClusters) that uses new
      functionality in vtkTulipReader to read in and display
      clusters/annotations, covering 4, 5 and 6 above.
      
      7. Added a test (TestConvexHull2D) to exercise the static methods
      in vtkConvexHull2D.
      
      Change-Id: I424a0a02e9ac82fdce78d931819f1dffce25796e
      568b8e05