1. 19 Aug, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      #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. 08 Mar, 2016 1 commit
  3. 18 Sep, 2013 1 commit
    • Utkarsh Ayachit's avatar
      BUG #14283. Fix change events fired by vtkControlPointsItem. · a6b0b0df
      Utkarsh Ayachit authored
      This commit consolidates the logic between all vtkControlPointsItem subclasses
      to consistently notify rest of the world that the control points were modified.
      Previously, commit 1509669d tried to do the same with
      vtkControlPointsItem::PointsModifiedEvent, however vtkCompositeControlPointsItem
      wasn't firing those consistently resulting in the BUG #14283.
      
      While attempting to fix that, I noticed that vtkControlPointsItem has
      StartChanges()/EndChanges() methods that could be used for a similar purpose:
      notify the world that control points are being changed. Hence, remved the
      PointsModifiedEvent, instead fixing the code to consistently use
      StartChanges()/EndChanges() calls.
      
      Fixed StartChanges/EndChanges to fire the event on the vtkControlPointsItem
      (along with tranfer function, as it was previously) and added logic to avoid
      duplicable firing of events due nested calls to StartChanges/EndChanges.
      
      Change-Id: I144e775cbdfbc9c1334cfc2b02609b37dda8cae7
      a6b0b0df
  4. 26 Jul, 2013 1 commit
  5. 25 Jul, 2013 1 commit
    • Utkarsh Ayachit's avatar
      Cleaning up transfer function widgets. · 1509669d
      Utkarsh Ayachit authored
      Cleaning up issues with the context-items related to tranfer function editor.
      
      + Added support for log-mapped color-transfer function. We ensure that when
        using log-scale, the color transfer function widget also enter log-space.
      
      + vtkPiecewiseControlPointsItem had a bug resulting it deleting of end points
        even when told otherwise. Fixed that.
      
      + Added new event vtkControlPointsItem::PointsModifiedEvent which if fired when
        control points are changed making it easier for application to do something
        when the points are changed.
      
      + Improved the usability by adding ability to label control points.
      
      Change-Id: If02bc1139f6ccb3d7c2198b07d10491f902bafda
      1509669d
  6. 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>
      cdd4d6fd
  7. 12 Mar, 2012 1 commit
  8. 17 Nov, 2011 2 commits
  9. 27 Oct, 2011 1 commit
  10. 17 Oct, 2011 2 commits
  11. 23 Sep, 2011 2 commits
  12. 06 Jul, 2011 1 commit
  13. 19 May, 2011 2 commits
    • Julien Finet's avatar
      Support transfer functions with a range wider than [0, 1] · 9b3eec6b
      Julien Finet authored
      Change-Id: Iaf5dabad85bd7cdfb2c2a7021c751cf7298855cc
      9b3eec6b
    • Julien Finet's avatar
      Add point edition in vtkControlPointsItems · 8e5b3e79
      Julien Finet authored
      -You can edit control points in 2 fashions:
       If vtkControlPointsItem::StrokeMode is true, you can "draw" points while
      the left mouse button is down, it will add control points under the mouse
      cursor.
       If vtkControlPointsItem::StrokeMode is false, you can drag&drop existing
      points. SwitchPointsMode control the behavior to follow when a point
      crosses another.
      In both modes, if you click the left button mouse not on a point, a point is
      created under the mouse cursor.
      -Add vtkCompositeControlPointsItem to mix ct function and opacity function.
      It creates points for Color Transfer and Opacity
      functions.Both functions will share the same control points.
      -Add vtkControlPointsItem::EditPoint to control midpoint and sharpness
      -Support null transfer functions in the ScalarsToColors items
      8e5b3e79
  14. 09 May, 2011 1 commit
  15. 02 May, 2011 1 commit
    • Julien Finet's avatar
      Add point edition in vtkControlPointsItems · 1d697d31
      Julien Finet authored
      -You can edit control points in 2 fashions:
       If vtkControlPointsItem::StrokeMode is true, you can "draw" points while
      the left mouse button is down, it will add control points under the mouse
      cursor.
       If vtkControlPointsItem::StrokeMode is false, you can drag&drop existing
      points. SwitchPointsMode control the behavior to follow when a point
      crosses another.
      In both modes, if you click the left button mouse not on a point, a point is
      created under the mouse cursor.
      -Add vtkCompositeControlPointsItem to mix ct function and opacity function.
      It creates points for Color Transfer and Opacity
      functions.Both functions will share the same control points.
      -Add vtkControlPointsItem::EditPoint to control midpoint and sharpness
      -Support null transfer functions in the ScalarsToColors items
      1d697d31