1. 23 Sep, 2013 1 commit
  2. 01 Apr, 2013 1 commit
    • Sean McBride's avatar
      Put SetScalars() in VTK_LEGACY · 4049603d
      Sean McBride authored
      The comments say its deprecated, put it in
      VTK_LEGACY.  API seems unused in VTK itself.
      
      Change-Id: Ic619f1c8cdc75c255addb2d3da9a873808b451eb
      4049603d
  3. 05 Jul, 2012 1 commit
    • Bill Lorensen's avatar
      BUG: ModelBounds not checked for valid values · 5dafde01
      Bill Lorensen authored
      The SetModelBounds method was not checking to see if xMin <= xMax,
      etc. If incorrect bounds were specified, the resulting image data
      contained unexpected values.
      
      This patch checks for valid model bounds and generates a vtkError if
      the bounds are incorrect.
      
      Also added a unit test for vtkSampleFunction. The unit test provides
      over 90% code coverage.
      
      Change-Id: I9d36d316611a5c82c4f7212d73f4b9a7f7ab7965
      5dafde01
  4. 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
  5. 08 Mar, 2012 1 commit
  6. 19 Sep, 2011 2 commits
    • Berk Geveci's avatar
      Replace SetInput etc. with SetInputData etc. · 4ea36770
      Berk Geveci authored
      Since the behaviour of SetInput changed - it no
      longer connects the pipeline but sets up the data
      object as the input -, it was decided to rename
      it to SetInputData. This includes similar methods
      such as AddInputData. This commit makes on
      sweeping change that compiles.
      4ea36770
    • Berk Geveci's avatar
      Started removing data object's dependency on the pipeline. · 791b167f
      Berk Geveci authored
      It was decided to remove any dependencies that data objects
      have on the pipeline logic. When modularization is complete,
      this will allow us to build a small "data model" library
      that does not depend on the "execution model". It also
      cleans up a lot of the interdepencies between data objects
      and pipeline code. To achieve this, we need to remove all
      functionality that depend on executives and pipeline logic
      from vtkDataObject and subclasses. This includes any meta-data
      such as whole extent as well as methods to setup pipeline
      connectivity such as SetInput (to be removed from algorithms).
      791b167f
  7. 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
  8. 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
  9. 02 Feb, 2009 2 commits
    • Francois Bertel's avatar
      BUG:Really fix the bug on vtkSampleFunction. The problem is that... · 12ac3786
      Francois Bertel authored
      BUG:Really fix the bug on vtkSampleFunction. The problem is that vtkFieldData::GetAbstractArray() adds an array based on names and considers an unamed array only when the string pointer is NULL, not when the string is empty, as the initial names for the scalar array and normal array were the same (empty string), the normal array was replacing the scalar array... Thanks Berk! As vtkImageImport uses the same mechanism, set the initial name to something else than the empty string.
      12ac3786
    • Francois Bertel's avatar
      BUG:Fixed tests ImplicitSum, TestBoxFunction and TestDiscreteMarchingCubes.... · 109814a8
      Francois Bertel authored
      BUG:Fixed tests ImplicitSum, TestBoxFunction and TestDiscreteMarchingCubes. This is a temporary fix that needs more investigation because I really don't get why it actually fixes the tests...
      109814a8
  10. 30 Jan, 2009 2 commits
  11. 04 Mar, 2005 1 commit
  12. 20 Jan, 2005 1 commit
  13. 21 Nov, 2004 1 commit
  14. 16 Nov, 2004 1 commit
    • Brad King's avatar
      ENH: Re-implemented vtkGarbageCollector. The new version has a much simpler... · 79a3aa76
      Brad King authored
      ENH: Re-implemented vtkGarbageCollector.  The new version has a much simpler interface.  Classes now need only a ReportReferences method.  The RemoveReferences method is no longer needed.  A new reference graph analysis engine has been implemented that reduces redundant walks during a single deletion.  It now also supports delayed collection (though no interface yet exists to enable it).  Delayed collection will accumulate UnRegister calls without doing a full collection check.  The next full check accounts for the accumulated UnRegister calls.  This feature will be used to reduce the overhead of garbage collection.
      79a3aa76
  15. 22 Oct, 2004 1 commit
  16. 11 Sep, 2004 1 commit
  17. 16 Aug, 2004 1 commit
  18. 23 Dec, 2003 1 commit
  19. 05 Dec, 2003 1 commit
  20. 14 Nov, 2003 1 commit
  21. 18 Feb, 2003 1 commit
  22. 17 Feb, 2003 1 commit
  23. 16 Dec, 2002 1 commit
  24. 11 Dec, 2002 1 commit
  25. 25 Sep, 2002 1 commit
  26. 12 Jun, 2002 1 commit
  27. 22 Jan, 2002 1 commit
  28. 04 Jan, 2002 1 commit
    • Brad King's avatar
      ENH: Three sweeping changes. · 12947cd1
      Brad King authored
      1.) vtkTypeRevisionMacro is now used in all VTK classes in place of
          vtkTypeMacro.  It invokes the original vtkTypeMacro and then adds
          a protected CollectRevisions method for future use in serialization.
          A corresponding vtkCxxRevisionMacro has been added to every .cxx file
          to implement the CollectRevisions method for each class.  This will
          allow collection of every class revision at run time.  Any new VTK class
          should use vtkTypeRevisionMacro instead of vtkTypeMacro.  The .cxx
          implementation should then have the following line:
            vtkCxxRevisionMacro(vtkFoo, "$Revision: 1.1 $");
          CVS should insert the correct revision number when the class is commited.
      
      2.) vtkTypeMacro now also adds a typedef called "Superclass" to refer to
          the superclass of any VTK class.  All PrintSelf methods have been
          updated to call their superclass's PrintSelf like this:
            this->Superclass::PrintSelf(os,indent);
          This should reduce the number of places that refer to a superclass
          by its actual name.
      
      3.) The standard ::New() method implementation has been replaced with a
          macro.  Instead of an explicitly written implementation to try the
          object factory and then call the new operator, VTK classes should
          instead use the following macro unless they have a special New() method:
            vtkStandardNewMacro(vtkFoo);
          This will implement the New() method in the standard way.  The line
          should appear in the .cxx implementation file, not in the header.
          Using the macro will make it easier to change the standard
          implementation of the method.
      
      Also removed tabs from many files.
      12947cd1
  29. 13 Nov, 2001 1 commit
  30. 02 Nov, 2001 1 commit
  31. 02 Oct, 2001 1 commit
  32. 02 Jul, 2001 1 commit
  33. 26 Apr, 2001 1 commit
    • Ken Martin's avatar
      Start new source tree layout · 76f478a8
      Ken Martin authored
      A new CVS repository was created on 2001-04-26 to fork VTK during
      transition to a new source tree layout.  The new repository was created
      using server-side symlinks referencing files in the original repository
      to preserve per-file history.  This commit was manufactured during
      conversion from CVS to represent the fork as a branch.
      76f478a8
  34. 10 Dec, 2000 1 commit
  35. 15 Aug, 2000 1 commit
  36. 07 May, 2000 1 commit