1. 29 Nov, 2011 13 commits
    • Bill Lorensen's avatar
      BUG: Use of uninitialised value of size 8 · eeccea8e
      Bill Lorensen authored
      This valgrind defect has been present for years.
      
      There are instances where vtkDoubleScreenEdge::Case is not defined
      before RasterizeTriangle. The logic in vtkSimpleScreenEdge::Init is
      complex. Perhaps in the future, a more more extensive examination will
      uncover the real problem. For now, the patch fixes the valgrind defect
      and still passes the regression test.
      
      Change-Id: If8a9846d1a4561447d39078daa70c5acebd8f394
      eeccea8e
    • Bill Lorensen's avatar
      Merge topic 'TestHyperOctreeContourFilterValgrindDefect' · 75e300af
      Bill Lorensen authored and Kitware Robot's avatar Kitware Robot committed
      ac2d999f BUG: Conditional jump or move depends on uninitialised value
      75e300af
    • Bill Lorensen's avatar
      BUG: Conditional jump or move depends on uninitialised value · ac2d999f
      Bill Lorensen authored
      The 1D test needed
        mapper1d->SetScalarModeToUseCellData();
      
      Change-Id: I98ed718ccbbb63312a8226338024c566c24b9da2
      ac2d999f
    • Jeff Baumes's avatar
      Merge topic 'tulip-reader-enhancements' · 686e3e70
      Jeff Baumes authored and Kitware Robot's avatar Kitware Robot committed
      654cd26c COMP: Fixing allocation of points, static allocation does not work on VS
      686e3e70
    • Jeff Baumes's avatar
      COMP: Fixing allocation of points, static allocation does not work on VS · 654cd26c
      Jeff Baumes authored
      Change-Id: Ie00af11904dc48e924af413d42c10f93011f22e2
      654cd26c
    • Andrew Bauer's avatar
      Merge topic 'vtkCellTreeLocator_compiler_warnings' · e9255e2d
      Andrew Bauer authored and Kitware Robot's avatar Kitware Robot committed
      1c424f60 Fixed problem of not using cached cell bounds properly.
      e9255e2d
    • Andrew Bauer's avatar
      Fixed problem of not using cached cell bounds properly. · 1c424f60
      Andrew Bauer authored
      I finally figured out what was really supposed to be happening
      in part of the code and changed it so that it would properly
      use cell bounds if they were precomputed.  Also improved the test.
      
      Change-Id: I3831a2dff6b1128669e4298851dea366222f64fb
      1c424f60
    • Bill Lorensen's avatar
      Merge topic 'ReebGraphValgrindDefects' · 1b63b087
      Bill Lorensen authored and Kitware Robot's avatar Kitware Robot committed
      fbf9445c BUG: Flawed logic caused valgrind defects
      1b63b087
    • Bill Lorensen's avatar
      BUG: Flawed logic caused valgrind defects · fbf9445c
      Bill Lorensen authored
      Two logic errors caused valgrind to report "Conditional jump or move
      depends on uninitialised value(s)" for TestReebGraph.
      
      In vtkReebGraphSurfaceSkeletonFilter::RequestData()
      also vtkReebGraphVolumeSkeletonFilter::RequestData()
      1) Storing the wrong point id in meshToSubMeshmap. This resulted in
         bad vertexIds in the subMesh.
      2) The logic for the contourFilter setup was
         incorrect. contourFilter->SetNumberOfContours(1); but
         contourFilter->SetValue(i, ...)
      
      Please note with and without the changes the test passed.
      
      Change-Id: I1ec4469fa6696616715ffc494ee756eaae1fd56a
      fbf9445c
    • Jeff Baumes's avatar
      Merge topic 'tulip-reader-enhancements' · fa1ebbc7
      Jeff Baumes authored and Kitware Robot's avatar Kitware Robot committed
      568b8e05 ENH: Enhancements to vtkTulipReader and new support for clusters.
      fa1ebbc7
    • Colin Myers's avatar
      ENH: Enhancements to vtkTulipReader and new support for clusters. · 568b8e05
      Colin Myers authored and Jeff Baumes's avatar Jeff Baumes committed
      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
    • Bill Lorensen's avatar
      Merge topic 'X3DExporterPrintSelf' · 21a631bd
      Bill Lorensen authored and Kitware Robot's avatar Kitware Robot committed
      f0cebdda BUG: Check for NULL in PrintSelf
      21a631bd
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 1931a20a
      Kitware Robot authored
      1931a20a
  2. 28 Nov, 2011 11 commits
  3. 27 Nov, 2011 12 commits
  4. 26 Nov, 2011 4 commits