1. 17 Nov, 2015 1 commit
  2. 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
  3. 21 Feb, 2012 1 commit
  4. 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
  5. 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
  6. 05 Apr, 2005 1 commit
  7. 14 Nov, 2003 1 commit
  8. 28 Oct, 2002 1 commit
  9. 29 Aug, 2002 1 commit
  10. 28 Aug, 2002 1 commit
  11. 22 Aug, 2002 1 commit
  12. 27 May, 2002 1 commit
  13. 05 Mar, 2002 1 commit
    • Lisa Avila's avatar
      A bunch of bug fixes and enhancements: · a3f1a930
      Lisa Avila authored
      1) Fixed ray casting for rendering a large image
      2) Removed RGBTexture input from the volume mapper
      3) Modified vtkVolumeProperty to support properties per "field"
         with a maximum of 4 fields.
      4) Remove all RGBTexture parameters from the property
      5) Small fix to interactor style joystick camera for endpan and endzoom
      
      Most of this work is in preparation for multiple component support
      for volume rendering in VTK.
      a3f1a930
  14. 22 Jan, 2002 1 commit
  15. 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
  16. 13 Nov, 2001 1 commit
  17. 20 Aug, 2001 1 commit
  18. 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
  19. 10 Dec, 2000 1 commit
  20. 28 Jul, 2000 1 commit
  21. 04 Feb, 2000 1 commit
  22. 26 Jan, 2000 1 commit
  23. 22 Apr, 1999 1 commit
    • Lisa Avila's avatar
      Many changes to bring the volume rendering side of rendering · 55dbeee0
      Lisa Avila authored
      in line with the geometric rendering, and to support the
      vtkLODProp3D class. Some general cleanup was done along the
      way as well. Here is a more detailed list of the changes.
      
      The Scale instance variable was moved from vtkActor and
      vtkVolume up to vtkProp3D. It was a 3D vector in vtkActor
      and a scalar in vtkVolume - now it is a 3D vector in
      vtkProp3D, with a SetScale method that takes a scalar
      argument that will set the scale isotropically. Non-isotropic
      scale is not handled well in volumes (it isn't handled well
      for geometry either) Shading will be incorrect (because
      normals will be wrong) and the correction of the opacity
      transfer function for sample distance will not be done correctly.
      
      Since the scale variable moved, the GetMatrix method could also
      move up to vtkProp3D from vtkActor and vtkVolume.
      
      In vtkCuller - the inner cull method was eliminated. We don't
      have one of that type, and we probably won't ever need more
      than one of that type, so we can implement it directly in the
      rendering method rather than as a culler. This greatly
      simplifies the rendering process with culling. The
      OuterCullMethod() is now simply Cull(). This change was made
      in vtkFrustumCoverageCuller. In addition, the
      SetAllocatedRenderTime() for each prop is now called within
      the Cull() method. Name changes were made so that it is
      clear that culling works for all types of props, not just
      actors.
      
      In many classes, the comments were cleaned up, and the
      description line above methods was changed to reflect the
      fact that certain methods are not intended to be used from
      the external API - they are public methods simply because
      they need to be called from another object. This warning
      was added to all such methods (or at least all that I
      identified)
      
         // WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE
      
      Hopefully this warning will stop others from using these internal
      calls. In addition, if the method was part of the rendering process
      (and therefore must be called in some certain order assuming
      some certain things had already occurred) this warning was
      added:
      
        // DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS
      
      Hopefully this warning will stop us from moving these methods
      around (or using them elsewhere) without seriously thinking about
      it. All these methods were moved to the end of the public section,
      and blocked out by //BTX and //ETX.
      
      A new superclass - vtkAbstractMapper - was added which is now
      the superclass of both vtkMapper and vtkVolumeMapper. Some things
      which were common to both were moved up there such as GetCenter(),
      GetLength() and GetBounds() (which was implemented in every mapper
      almost the same - except for the bug in vtkPolyDataMapper) The Input
      instance variable was moved up to this class. The ScalarInput
      instance variable was removed from vtkVolumeMapper. The set/get
      methods were left for legacy code. vtkAbstractMapper has two new
      methods: IsARayCastMapper() and IsARenderIntoImageMapper(). These
      are used by the new methods: RequiresRayCasting() and
      RequiresRenderingIntoImage() that are in vtkProp. By default these
      all return 0, but a vtkVolume for example would return the values
      obtained from its mapper.
      
      In vtkVolume, the VolumeMapper was renamed the the Mapper. The set/get
      methods for VolumeMapper were left for legacy code. Also, the
      VolumeProperty was renamed to the Property. The set/get methods for
      VolumeProperty were left for legacy code.
      
      Timing calls were added to the device implementation of
      vtkPolyDataMapper in order to capture how long it takes to draw
      the data without capturing the time required to update the
      pipeline.
      
      Volume rendering was not really supported in starbase - the calls
      that were there (which wouldn't have worked) were removed since
      this graphics support will probably be removed soon.
      
      For the other two graphics libraries - OpenGL and XGL, the DeviceRender()
      method was changed. In place of the UpdateVolumes() call, there is now
      a direct call to the render method of the ray caster (which is made only
      if there are some props that need ray casting or rendering into an image.)
      This method takes care of both ray casting and rendering into an image.
      
      The vtkLODActor was modified to make use of the new TimeToDraw value within
      the vtkAbstractMapper. The old implementation timed the entire time to
      render the mapper (which includes pipeline execution). The new technique
      uses only the time to draw the primitives. This won't work well if you really
      do need to update the pipeline everytime - probably need a combined solution
      but this will probably work better for now. Check out sphereFlake.tcl for an
      example of it working reasonably well (the example has always been there, it
      just works a bit better now...)
      
      And finally, a bug was fixed in vtkFiniteDifferenceGradientEstimator so that
      the bounded recomputation of normals should now be correct.
      55dbeee0
  24. 12 Mar, 1999 1 commit
  25. 20 Jan, 1999 1 commit
  26. 02 Dec, 1998 1 commit
    • Lisa Avila's avatar
      This is the first checkin of the changes performed to clean up the volume · c379d81f
      Lisa Avila authored
      rendering architecture. The main changes are:
        - The casting of rays has been moved from happening in the
          vtkVolumeRayCastMapper to the vtkRayCaster
        - Shading tables are built per volume to support multiple volumes
          sharing a mapper
        - Multiple volumes can now be rendered (even of different types!)
          The results of mixing current volumes in currently not quite correct -
          this will be fixed onced correct depth values are returned for each type
          of volume mapper.
      c379d81f
  27. 18 Sep, 1998 1 commit
  28. 11 Aug, 1998 1 commit
  29. 04 Jan, 1998 1 commit
  30. 02 Aug, 1997 1 commit
  31. 14 Jul, 1997 1 commit