1. 15 Nov, 2011 1 commit
  2. 20 Sep, 2011 1 commit
  3. 19 Sep, 2011 1 commit
    • 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
  4. 20 May, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
      Mark Olesen authored and Brad King's avatar Brad King committed
      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 and Brad King's avatar Brad King committed
      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. 06 Apr, 2010 2 commits
  7. 01 Sep, 2009 1 commit
  8. 22 Jun, 2009 1 commit
  9. 18 May, 2009 1 commit
    • Jeff Baumes's avatar
      ENH: More representation changes · 878197db
      Jeff Baumes authored
       - Removing vtkSelectionLink in favor of vtkAnnotationLink.
      
       - vtkAnnotationLayers now has a special "current" annotation.
         This annotation is used to store the current selection.
      
       - Updating lots of places that used the selection link to now
         use the annotation link.
      
       - Removing obsolete classes vtkGeoLineRepresentation (replaced by
         vtkRenderedSurfaceRepresentation) vtkTreeLayoutView (all functionality
         is in vtkGraphLayoutView) vtkSurfaceRepresentation (replaced by
         vtkRenderedSurfaceRepresentation).
      
       - The cache in the representation is now cleared when the ReleaseData
         flag is set in the pipeline.
      
       - Fixed warnings when selecting in empty graph view.
      
       - Fixed texture unit warnings in geoview.
      
       - Move selection type from view to representation.
      
       - Fixing geoview bug where nothing is rendered on the first render.
         We need to render once to initialize the graphics context, then
         'really' render the first time.
      
       - Need Render() to create render window in examples.
      878197db
  10. 01 May, 2009 1 commit
  11. 24 Apr, 2009 2 commits
    • Jeff Baumes's avatar
      1213d801
    • Jeff Baumes's avatar
      ENH: Adding new rendered representation classes · 9bcda1c1
      Jeff Baumes authored
       - Adding new rendered graph, hierarchy, surface, tree area representations.
         These classes consolidate code that were in several different views.
      
       - Adding vtkHierarchicalGraphPipeline, which renders bundled graph edges
         on top of a tree. This is a convenience class used by
         vtkRenderedHierarchyRepresentation and vtkRenderedTreeAreaRepresentation.
      
       - Fixing up OverView geo views and hierarchy view.
      
       - Removing buggy hack in vtkScalarsToColors that caused problems with
         correctly rendering color arrays.
      
       - Added opacity to annotations.
      
       - vtkGraph now creates edge points on demand instead of throwing errors,
         and correctly deep copies edge points on force ownership call.
      
       - Updating geovis tests to use new graph representation API.
      
       - Moved vtkGeoEdgeStrategy to Infovis so it can be accessed in the graph
         representation.
      
       - Moved vtkGeoMath to Infovis since it is used by vtkGeoEdgeStrategy.
      
       - Removed vtkGeoGraphRepresentation and vtkGeoGraphRepresentation2D, which
         are now superceded by vtkRenderedGraphRepresentation.
      
       - Removed reference loop in vtkGeoLineRepresentation's ConvertSelection
         by removing the PROP property from the selection.
      
       - Updating vtkGeoView and vtkGeoView2D to new view architecture.
      
       - Added option to Glyph3D to output cell data along with point data
         on the output glyphs.
      
       - vtkGraphToPolyData now correctly uses the vertex endpoint positions
         as the start and end of the polyline for each edge.
      
       - vtkSelectionLink's SetSelection used to always trigger the algorithm to
         be modified. This is no longer true if the same selection is set multiple
         times.
      
       - Changed vtkSplineFilter to handle consecutive points at the same position
         instead of outputting errors.
      
       - Changed vtkCosmicTreeLayoutStrategy so the output arrays are called
         "TreeRadius" and "TreeScaleFactor" instead of appending those strings
         to the input size array name.
      
       - Changing treemap layout strategies to appropriately fill the points
         of the tree that are used for bundled edges.
      
       - Added ZRange to vtkGraphLayout, if you want vertices to have
         distinct Z values on an otherwise 2D layout. This avoids Z-buffer issues
         when rendering vertices as glyphs.
      
       - Added Transform property to vtkGraphLayout. This optional transform will
         be applied to locations output from the layout strategy. This is used
         in geo views.
      
       - Fixed vtkStackedTreeLayoutStrategy to not always place the root position
         for the bundled edges at (0,0,0).
      
       - Added progress events to vtkTreeRingToPolyData.
      
       - Allow non-equal array types when PassArray is on, using GetVarantValue
         and InsertVariantValue.
      
       - Adding option RenderOnMouseMove to vtkInteractorStyleRubberBand2D.
         This allows views to update hover balloons.
      
       - Fixing bug in vtkLabelHierarchy's iterator where if the lastPlaced array
         contained indices outside the current label set range, it would crash.
      
       - Adding support for an "ID" array which indicates the type of label
         being processed. This is used to use different font types with different
         sets of labels using the same label placer to place them all.
      
       - Adding support for multiple font properties to vtkLabelSizeCalculator,
         vtkLabeledDataMapper, vtkDynamic2DLabelPlacer.
      
       - Adding helper functions to vtkViewTheme to tell you whether a current
         lookup table matches its internal settings, or if it needs to be
         rebuilt. This minimizes pipeline updates.
      
       - Adding explicit ResetCamera() calls to view tests, because views no
         longer do this automatically.
      
       - Fixing vtkDataRepresentation so it does not re-do a shallow copy of inputs
         into the internal pipeline unless they have actually changed.
      
       - Revamping vtkGraphLayoutView to use vtkRenderedGraphRepresentation.
      
       - Revamping vtkHierarchicalGraphView to use
         vtkRenderedHierarchyRepresentation.
      
       - Revamping vtkTreeAreaView to use vtkRenderedTreeAreaRepresentation.
      
       - Updating vtkView to only take a collection of vtkRepresentations, instead
         of supporting multiple ports/connections. We can do this because
         representations now have this option of multiple inputs.
      
       - vtkView has an option ReuseSingleRepresentation, where it will use the
         same representation after removing/adding input connections. This is
         used in e.g. vtkGraphLayouView so that properties assigned to the view
         persist even when the input connection is reset.
      
       - Fixing vtkTreeLayoutView to the newer view architecture, even though
         it should be deprecated in the near term.
      
       - Adding vtkGeoSphereTransform, a simple transform that goes from
         lat-long-alt and rect coords. This is what the 3D geo view has as its
         transform.
      
       - Adding vtkAppendPoints, which simply appends all the points and associated
         data from multiple input datasets. This is used to append all label points
         into one data object.
      
       - Adding vtkApplyColors, which applies colors from lut/annotation/selection
         in one place for a dataset. This is used by the new rendered
         representations.
      
       - Adding vtkAssignCoordinatesLayoutStrategy which uses vtkAssignCoordinates
         inside the layout. This makes the geo "layout" paradigm of lat/long arrays
         consistent with other graph layout strategies, so they can all use
         vtkRenderedGraphRepresentation.
      
       - Adding vtkDistanceToCamera, computes the distance of each input point
         to the camera. This can be used to scale glyphs dynamically so they
         appear the same size on the screen.
      
       - Adding graph-based versions of vtkGraphHierarchicalBundle and
         vtkSplineFilter called vtkGraphHierarchicalBundleEdges and
         vtkSplineGraphEdges, which perform the same task as the originals, but
         output a graph with appropriate edge points, instead of polydata.
         This allows these filters to execute before vtkGraphToPolyData.
      
       - The new vtkGraphToGlyphs filter takes a vtkGraph and outputs polydata
         for the glyphs. The glyphs are dynamically sized based on the position
         from the camera in order tp create glyphs with constant screen size.
      
       - vtkGraphToPoints converts a graph to a set of points.
      9bcda1c1
  12. 26 Mar, 2009 3 commits
    • Jeff Baumes's avatar
      BUG: Two PrintSelf methods confused test · 7fa3c163
      Jeff Baumes authored
      Removing PrintSelf from helper vtkObject subclass so PrintSelf
      test does not use that one instead of the real PrintSelf.
      7fa3c163
    • Jeff Baumes's avatar
      COMP: Fixing unsigned/signed comparisons · 2389f4e2
      Jeff Baumes authored
      2389f4e2
    • Jeff Baumes's avatar
      ENH: Representations now subclass vtkAlgorithm. · 68477df7
      Jeff Baumes authored
      This was done in order to:
      
       - Enforce input types on representations.
      
       - Allow multiple inputs to representations.
      
       - Clean up logic around updating representations.
      
      Other small changes that were necessary:
      
       - Current representation subclasses now override SetupInputConnections()
         instead of SetInputConnection().
      
       - vtkPassInputTypeAlgorithm (which is the superclass of
         vtkDataRepresentation) now does not error when there are no inputs.
      
       - vtkConvertSelection static functions now shallow copy inputs
         instead of directly passing arguments as inputs to the filter.
      
       - Keeping the PROP property in vtkSurfaceRepresentation's selection
         caused a nasty reference loop. This is now removed.
      68477df7
  13. 31 Jul, 2008 1 commit
  14. 26 Jun, 2008 1 commit
  15. 25 Jun, 2008 1 commit
  16. 18 Apr, 2008 1 commit
  17. 14 Aug, 2007 1 commit