1. 23 Mar, 2018 1 commit
  2. 21 Mar, 2018 1 commit
    • Andras Lasso's avatar
      ENH: Improve scene exporters and STL, OBJ, and PLY file IO · 3b814e96
      Andras Lasso authored
      - Allow reading/writing custom comments in STL, PLY, and OBJ files. This allows storing metadata, such as coordinate system, unit, or color in the files.
      - Allow reading/writing binary comments (that can contain 0 character) for STL files. This allows reading/writing color information in Mimics-style (Mimics software writes RGBA color as 4 bytes in STL file binary header).
      - Allow specifying renderer for exporting: Some exporters rejected to export a scene when more renderers were associated with a render window. This was an issue because it prevented scene export when additional renderers were used for displaying various annotations on the render window. Instead of hardcoding using the first renderer, added a ActiveRenderer member, which defines which renderer content should be exported. If not set then the first renderer is used, so the behavior is backward-compatible.
      - Fixed writing of of .mtl file path in .obj file (full path of .mtl file was written into the .obj file).
      3b814e96
  3. 04 Oct, 2017 1 commit
  4. 02 Oct, 2017 1 commit
  5. 12 Sep, 2017 1 commit
    • Cory Quammen's avatar
      Add on-the-fly triangulation on non-triangle cells · 4fba12d5
      Cory Quammen authored
      If an input dataset had non-triangle cells, the STL writer would
      report that it could not write the dataset and would return an error.
      This commit changes the behavior so that non-triangles are
      triangulated and written to the STL file. This is done on-the-fly to
      minimize additional memory consumption.
      4fba12d5
  6. 16 Jan, 2017 1 commit
  7. 23 Sep, 2016 2 commits
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
    • David DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  8. 03 Aug, 2016 1 commit
  9. 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
  10. 08 Mar, 2016 1 commit
  11. 18 Oct, 2015 1 commit
    • Bill Lorensen's avatar
      ENH: STLWriter now handles triangle strips · a680a98e
      Bill Lorensen authored
      1) Triangle strips are converted to triangles on the fly.
      2) Added a new unit test that covers 100% of the code.
      3) Added SetHeader() and GetHeader().
      4) Improved PrintSelf.
      a680a98e
  12. 18 Dec, 2014 1 commit
  13. 31 Aug, 2012 1 commit
    • Berk Geveci's avatar
      Moved readers and writers of the legacy VTK format to their own module. · 7f5f0bbc
      Berk Geveci authored
      The legacy readers and writers somehow ended up in the IO/Geometry
      module. I moved them to their own: IO/Legacy. I also cleaned
      up dependencies. Some writers somewhat incorrectly subclasses from
      the legacy writers even though they supported completely different formats.
      They did this to just use things like FileName.
      
      Change-Id: I603753bc7145b317bd71e7798cd2ea8a6c5c56c1
      7f5f0bbc
  14. 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
  15. 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
  16. 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
  17. 14 Nov, 2003 1 commit
  18. 13 Aug, 2002 1 commit
  19. 31 May, 2002 1 commit
  20. 22 Jan, 2002 1 commit
  21. 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
  22. 11 Oct, 2001 1 commit
  23. 02 Oct, 2001 1 commit
  24. 10 Aug, 2001 1 commit
  25. 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
  26. 10 Dec, 2000 1 commit
  27. 01 Sep, 2000 1 commit
  28. 04 Feb, 2000 1 commit
  29. 26 Jan, 2000 1 commit
  30. 18 Jan, 2000 1 commit
  31. 11 Oct, 1999 1 commit
  32. 14 Sep, 1999 1 commit
  33. 29 Aug, 1999 1 commit
  34. 08 Oct, 1998 1 commit
  35. 30 Jun, 1998 1 commit
  36. 24 Apr, 1998 1 commit
  37. 14 Dec, 1997 1 commit