1. 16 Feb, 2018 1 commit
    • Ken Martin's avatar
      provide support for existing multitexture calls · bbc96ed3
      Ken Martin authored
      The old MapDataArrayTGoMultiTexture relied on
      being able to lock dowwn a specific texture unit
      which cannot be guaranteed as external code
      or render passes may bne uising that texture unit.
      
      Instead we support the method having the name of a texture
      along with the matching ethod in vtkProperty to name
      a texture. Between these two users can assign texture
      coordinate arrays to specific textures.
      
      Deprecated the old index and unit based methods.
      Removed a no longer needed vtkTexture.h include
      which may bite some folks who are using vtkTexture
      but not including the header (which they shoudl do)
      bbc96ed3
  2. 04 Oct, 2017 1 commit
    • Ken Martin's avatar
      manually convert more NULL to nullptr · de3c93a3
      Ken Martin authored
      This topic catches another batch of NULL conversions that
      clang did not handle for various reasons. It also includes
      a number of changes to comments and strings where NULL was
      used. It also catches some recent code changes where NULL
      was used instead of nullptr.
      de3c93a3
  3. 29 Sep, 2017 1 commit
    • Andrew Bauer's avatar
      Improvements for vtkNew for stl containers and comparison operations · fd04b442
      Andrew Bauer authored
      Adding in functionality to allow inserting vtkNew objects into
      stl containers of vtkSmartPointer objects as well as comparisons
      between vtkNew objects and raw pointers. Also removing Get() and
      GetPointer() calls from vtkNew objects since in most instances we
      can just pass in the vtkNew<> object instead of having to use the
      Get() or GetPointer() methods to get the raw pointer.
      fd04b442
  4. 30 Aug, 2017 1 commit
    • Cory Quammen's avatar
      Augment vtkTexture to color directly by more scalar types · 71bfc13d
      Cory Quammen authored
      Deprecated MapColorScalarsThroughLookupTable and setters/getters in
      favor of new ColorMode that is analagous to the color mode in
      vtkMapper, i.e., it adds a mode where additional scalar types such as
      float and double can be used for direct coloring.
      71bfc13d
  5. 26 Jul, 2017 1 commit
    • Kitware Robot's avatar
      Replace many NULL and 0 occurances with nullptr · a855cab0
      Kitware Robot authored
      This topic is the result of running clang-tidy to
      modernize our usage of NULL and 0 to nullptr. It also
      includes some manual and semi manual changes where
      clang-tidy would not be expected to work (such as in
      comments, or classes not compiled on this build)
      
      There are definitely many comments and occurances that
      this topic misses that we will need to fix over time.
      a855cab0
  6. 23 Sep, 2016 1 commit
    • 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
  7. 06 May, 2016 1 commit
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
      0d71a308
  8. 08 Mar, 2016 1 commit
  9. 28 Jan, 2016 1 commit
  10. 22 Jul, 2015 1 commit
    • Bill Lorensen's avatar
      STYLE: Replace vtksys_stl and vtksys_ios:: with std:: · 924248d9
      Bill Lorensen authored
      In the early days of VTK, support for stl was not portable. vtksys_stl
      and vtksys_ios provided a portable implementation of the stl. Now, all
      of the VTK supported compilers have portable stl implementations.
      
      This patch:
        1) Replaces the vtksys_ios:: with std::.
        2) Replaces the vtksys_stl:: with std::.
        3) Removes "using" statements for stl
      924248d9
  11. 29 Apr, 2013 1 commit
    • David Thompson's avatar
      Initialize representation's scalar bar actors. · 8ee7cfbf
      David Thompson authored
      Neither vertex nor edge scalar bar widgets were using lookup tables
      provided by the view theme. Nor were their titles being set.
      We also have the representation provide access to the scalar bar
      widgets so that their locations can be set programatically.
      
      Change-Id: I1184632cebb7b637344b3ed209f857f615384146
      8ee7cfbf
  12. 14 Mar, 2013 1 commit
    • Sean McBride's avatar
      Removed workraounds for Borland 5.6 · 301ee0aa
      Sean McBride authored
      As Borland 5.6 and older are no longer supported,
      I searched and purged workarounds for it.
      
      Change-Id: Iaf22c7d0c9b573e57e270e4dbcbd8b4a0f16a780
      301ee0aa
  13. 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
  14. 13 Dec, 2011 1 commit
  15. 19 Sep, 2011 2 commits
  16. 19 Aug, 2011 1 commit
  17. 06 Apr, 2011 1 commit
    • Jeff Baumes's avatar
      Option to disable edge selection from vtkGraphLayoutView · 609facd5
      Jeff Baumes authored
      Submitted by Nicolas Rannou <nicolas_rannou@hms.harvard.edu>
      
      vtkGraphLayoutView
      -> new method: void SetEdgeSelection(bool) - modify the representation
         variable EdgeSelection.
      -> new method: bool GetEdgeSelection() - get the representation variable
         EdgeSelection.
      
      vtkRenderedGraphRepresentation
      -> new variable: bool EdgeSelection - default true=edges will be
      selected
      -> new method: void SetEdgeSelection(bool) - modify EdgeSelection value.
      -> new method: bool GetEdgeSelection() - get EdgeSelection value.
      
      Change-Id: I7f438386fd119fa9a819dffeea864f64de29ebaa
      609facd5
  18. 05 Apr, 2011 1 commit
    • Jeff Baumes's avatar
      Option to disable edge selection from vtkGraphLayoutView · d23b7985
      Jeff Baumes authored
      Submitted by Nicolas Rannou <nicolas_rannou@hms.harvard.edu>
      
      vtkGraphLayoutView
      -> new method: void SetEdgeSelection(bool) - modify the representation
         variable EdgeSelection.
      -> new method: bool GetEdgeSelection() - get the representation variable
         EdgeSelection.
      
      vtkRenderedGraphRepresentation
      -> new variable: bool EdgeSelection - default true=edges will be
      selected
      -> new method: void SetEdgeSelection(bool) - modify EdgeSelection value.
      -> new method: bool GetEdgeSelection() - get EdgeSelection value.
      
      Change-Id: I7f438386fd119fa9a819dffeea864f64de29ebaa
      d23b7985
  19. 30 Sep, 2010 1 commit
  20. 21 Sep, 2010 1 commit
  21. 07 Jun, 2010 1 commit
  22. 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
  23. 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
  24. 20 Jan, 2010 1 commit
  25. 07 Jan, 2010 1 commit
  26. 25 Sep, 2009 1 commit
  27. 16 Sep, 2009 1 commit
  28. 07 Sep, 2009 1 commit
    • Jeff Baumes's avatar
      ENH: Adding general hover support to rendered views. · aca5ce64
      Jeff Baumes authored
       - Using vtkHardwareSelector to capture the cell ids on the screen at any
         given time. This is reused as hover events occur.
      
       - Using vtkHoverWidget to receive timeout events when the mouse hasn't
         moved, and update the hover text then.
      
       - Added more functionality to vtkHardwareSelector to be able to query
         regions within the captured area (for drag selections) and being able
         to search out from a point to a given threshold distance for a cell
         (for hover text).
      
       - Added vertex and edge hovering to graph layout view, and edge hovering
         to tree area views.
      aca5ce64
  29. 20 Aug, 2009 1 commit
    • Jeff Baumes's avatar
      ENH: Adding theme parameters, other enhancements · ef48e7bf
      Jeff Baumes authored
       - Scale*LookupTable sets whether to scale the lookup table range to
         the data range.
      
       - *TextProperty sets the point/cell (or vertex/edge) text property
         for labels. This replaces the functionality of Set*LabelColor.
      
       - Updated ClientTreeAreaView and ClientGraphView to use these new
         theme parameters, in addition to lookup tables that were added
         previously. No changes were made to the display panel to incorporate
         this, just XML and the view itself.
      
       - Changing the shape of the color swatches on vtkQt*View from
         square to circle.
      
       - Fixing label placement in ClientGraphView so labels appear just over
         the vertex (or icon if icons are used).
      
       - Remove "Selecting" flag in vtkQtTreeView since it seems to hinder
         updating the selection color when selecting in that view.
      ef48e7bf
  30. 03 Aug, 2009 2 commits
    • Jeff Baumes's avatar
      COMP: Fix warnings. · c838a080
      Jeff Baumes authored
      c838a080
    • Jeff Baumes's avatar
      ENH: Revamp label placement · b8068060
      Jeff Baumes authored
       - Adding new vtkLabelPlacementMapper to replace vtkLabelPlacer.
      
       - Making vtkLabelPlacementMapper the default in all rendered views.
      
       - Making label render strategies for freetype and Qt.
      
       - Fix memory leak in vtkQImageToImageSource.
      
       - vtkLabelPlacementMapper now supports multiple hierarchy inputs
         by using the new vtkLabelHierarchyCompositeIterator which uses
         round-robin to iterate through sub-iterators.
      b8068060
  31. 08 Jul, 2009 1 commit
  32. 25 Jun, 2009 1 commit
    • Jeff Baumes's avatar
      ENH: Adding vtkApplyIcons and support for attribute types. · 52ed14c9
      Jeff Baumes authored
      vtkApplyIcons, much like vtkApplyColors, defines the
      icon indices for elements of a dataset through a lookup table,
      default icon, annotations, and/or the current selection.
      
      There are a number of places that specify attribute types
      (point, cell, vertex, edge, row, field) and create an enumeration
      for this (vtkDataObjectToTable, vtkSelectionNode, ...). A new
      method GetAttributes(int) in vtkDataObject uses an enum for the
      possible attribute types and subclasses retrieve the appropriate
      attributes. GetAttributesAsFieldData(int) performs the same function
      but returns a vtkFieldData instance instead of vtkDataSetAttributes.
      GetAttributeTypeForArray is another convenience method that returns
      the attribute type that an array is contained in.
      52ed14c9
  33. 20 Jun, 2009 1 commit
  34. 12 Jun, 2009 1 commit
  35. 11 Jun, 2009 1 commit
  36. 03 Jun, 2009 2 commits