1. 28 Jul, 2013 1 commit
  2. 02 Jul, 2013 1 commit
  3. 28 Jun, 2013 1 commit
  4. 25 Jun, 2013 1 commit
  5. 24 Jun, 2013 1 commit
    • Dave DeMarle's avatar
      fix a memory leak · 9364db58
      Dave DeMarle authored
      @thanks Mathieu Westphal for the report and patch
      Change-Id: Ibd210e5456955d10f21443e853c299f07731b7c9
  6. 05 Jun, 2013 1 commit
    • Sven Buijssen's avatar
      Fix typos · 5ef33d3b
      Sven Buijssen authored
      Change-Id: I2edeb9e78066aa766e47ba37af92ddcbfe75a436
  7. 04 Jun, 2013 1 commit
    • Brad King's avatar
      Convert VTKData test inputs to ExternalData content links · 3797f83d
      Brad King authored
      Add to the Testing/Data directory ExternalData content links mirroring
      the content and layout we use from the VTKData/Data directory.
      Add a CMake/vtkLegacyData.cmake module, included from CMakeLists.txt and
      Testing/External/CMakeLists.txt, to call ExternalData_Expand_Arguments
      for all data directories added from VTKData/Data.  This will bulk-fetch
      all test input data currently used by tests of any module, enabled or
      not.  We can make the DATA{} references more granular later.
      Add a VTK_TEST_DATA_DIR variable to refer to the directory we tell the
      ExternalData module to populate the real data files.  Replace references
      to VTK_DATA_ROOT in test command lines (after -D) with references to
      VTK_TEST_DATA_DIR.  Drop the VTK_DATA_ROOT CMake option and stop using
      the VTKData repository.
      Remove the TESTING_DATA option from the vtk_add_test_cxx API and remove
      the VTK_DATA_ROOT option from the vtk_add_test_mpi API since all test
      input data are now handled through ExternalData and Testing/Data content
      Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
  8. 31 May, 2013 1 commit
  9. 23 May, 2013 1 commit
    • Brad King's avatar
      Remove references to old VTKData/Baseline directories · fc5d874c
      Brad King authored
      The VTKData repository no longer holds Baseline directories so drop
      references to such directories from the VTK source tree:
      * Replace the default -V in CMake/vtkTestingRenderingDriver.cmake with a
        value that will fail but indicate what to do.  All current uses of
        this module have an explicit -V so the default should never be used.
      * Drop a few leftover Baseline directory references from comments in
      * Remove boilerplate duplicate test command-line examples (that
        reference Baseline directories) from *.py tests and leave an updated
        example in "Wrapping/Python/README.txt".  The command-line example
        convention was added long before the modern CTest infrastructure
        and is no longer needed anyway.
      Change-Id: I3001e99b3cc8c2717107e61b3b7f988caeb49cab
  10. 17 May, 2013 2 commits
  11. 14 May, 2013 3 commits
  12. 13 May, 2013 1 commit
    • Brad King's avatar
      vtkTestingMacros: Generalize add_test_(python|tcl) · 52b51415
      Brad King authored
      Teach add_test_(python|tcl) to parse explicit NO_DATA, NO_RT, NO_VALID,
      and NO_OUTPUT keyword options for tests that do not need VTK_DATA_ROOT
      or do not use a valid baseline image.  Factor add_test_python1 into
      add_test_python and distinguish them with the NO_RT keyword argument.
      Update call sites to produce identical test command lines before and
      after this change.
      Change-Id: I09f874b26aab409e55e7aa6f92412314540dbb85
  13. 28 Apr, 2013 1 commit
    • Andrew Maclean's avatar
      These Python tests have been refactored. · 3810c5a6
      Andrew Maclean authored
      This has been done by removing the "tcl-isms" and making
       the code more readable. In some cases redundant code
       has been removed (often a result of copy/paste operations).
       The code has also been checked to ensure each line is 80
       characters or less.
      The code can now be run using vtkpython or by using the
       appropriate Python environment.
      Originally these were TCL scripts that were converted using
        vtkTclTestToPy.py and they they needed to be run through the
        rtImageTest.py driver which defines a few needed
        functions/variables for their operation. To this end
        backdrop.py has been added where it is needed.
      Change-Id: I50d6505628c140ea4551f74f7f3e85df907567e1
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
  14. 26 Apr, 2013 1 commit
  15. 25 Apr, 2013 2 commits
  16. 24 Apr, 2013 1 commit
  17. 23 Apr, 2013 1 commit
    • Berk Geveci's avatar
      Cleaned up garbage collection. · 0e39fa5d
      Berk Geveci authored
      Removed garbage collection related Register/UnRegister/
      ReportReferences calls from classes that did not need them.
      Using garbage collection unnecessarily can lead to
      performance issues.
      Change-Id: I2eefb6a86d9e64f898247df522a6082c07cec8aa
  18. 22 Apr, 2013 2 commits
    • Joachim Pouderoux's avatar
      Change the indexing of HyperTree and remove dead code & vars. · a45a52a1
      Joachim Pouderoux authored
      HT are now indexed in such a way that there is no more
      dead index.
      HTGSource in quadric mode use the GlobalIndexStart mode to
      avoid the storage of the local to global node id per tree
      (contrary to descriptor/mask sources which use a BSF global
      indexing mode, quadric nodes are numberered on a per-tree
      Also remove some no more used functions and vars.
      Change-Id: Ie5fe5f267a22706334d883d330b8aa9bbb3926e2
    • Bill Lorensen's avatar
      ENH: Add InteractionStyle to rendering tests · f83d821a
      Bill Lorensen authored
      When tests are run with -I they must be linked with InteractionStyle.
      On the Mac, tests must be linked with MACOSX_BUNDLE to get keyboard
      Change-Id: I938c4b6a5a44ca5792f5eeaaa946cc9fb27e1110
  19. 19 Apr, 2013 1 commit
    • Joachim Pouderoux's avatar
      Change per tree BSF indexing by global BSF indexing. · c5873cf4
      Joachim Pouderoux authored
      This global breadth-first search let the user access to point
      data in the same order as in the descriptor which describes
      the tree representation in BFS.
      Moreover, each tree node (even non-leaf ones) can now have
      data attached. As previously, the dual only address the tree
      Updating source, filters and tests to take advantage of this
      new behaviour.
      Change-Id: I4998336e38cc2d5cf79ec50e51ecc877cb74077e
  20. 14 Apr, 2013 1 commit
  21. 13 Apr, 2013 1 commit
  22. 12 Apr, 2013 2 commits
    • Joachim Pouderoux's avatar
      Add depth and coordinates on each non leaf points. · 9ee5fe8d
      Joachim Pouderoux authored
      Change-Id: Ib73de685956f4ef4d2b9dfb9ce8e4561ae9df945
    • Joachim Pouderoux's avatar
      Optimize HTG for large & sparse level 0 grids. · 34d55b7f
      Joachim Pouderoux authored
      - Replace the vtkCollection which has a find access in O(N) by a std::map.
      - Add vtkHyperTreeIterator to avoid browsing every potential tree of
      level 0 grid. Only available trees are now browsed.
      - Add a TimeStamp to avoid unnecessary calls to the costly
      Those 3 changes really improve the computation time for building the HTG
      but also for computing the dual and all the filters
      (AxisCut, Geometry & ToUnstructuredGrid).
      Also add points for each cell in the tree, not only for leaf, even if
      only leaf points are used to construct the dual and thus referenced by
      some cells.
      Change-Id: Ie954fdc8860a55d0de9c23097b0662a2d2123550
  23. 10 Apr, 2013 1 commit
    • Joachim Pouderoux's avatar
      HTG modification to support only defined (has mat) level 0 cells. · 3218f2cc
      Joachim Pouderoux authored
      Change the HyperTreeGrid mechanisms to provide efficient storage of very
      large level 0 grids with only few cells defined. Instead of creating a
      full grid array, only defined cells (through MaterialMaskIndex array)
      are stored and processed.
      The source has been updated to take advantage of this new feature.
      Some optimizations and code simplification are also provided.
      Provide a new test TestHyperTreeGridTernary3DGeometryLargeMaterialBits
      to test the large grids management.
      Set 3: Fix tests, mainly fix CopyStructure.
      Change-Id: Iaab0afd7d13e66d9ab105c554a4d873ab59f1d35
  24. 09 Apr, 2013 1 commit
    • David Thompson's avatar
      Use scalar annotations on interval-mode scalar bar. · 55cb7e11
      David Thompson authored
      This commit renders user-provided notes associated with specific
      scalar values on the interval-mode scalar bar. Previously, only
      the categorical mode rendered these annotations.
      Also, provide the scalar bar with an optional swatch
      to illustrate the color assigned to NaN values.
      Add an option to color leader lines from the scalar bar to
      the annotation labels by the corresponding scalar value.
      This commit also breaks the process of rebuilding the scalar bar
      into several virtual methods so that subclasses (particularly
      ParaView's `vtkPVScalarBarActor`) can reuse more of the base class
      functionality. The process is now separated into 2 phases: layout,
      where bounding boxes for scalar bar components are placed; and
      configuration, where actors are positioned and geometry is created.
      This includes some changes to text actor to support constrained
      placement and text size queries.
      Add a test for the new scalar bar options.
      There are now many more options controlling how the scalar bar behaves.
      In particular many settings interact with the way geometry is rendered:
      the lookup table may be indexed or not (thus tick marks may not be
      rendered); the orientation may be horizontal or vertical; annotations
      may be rendered or not; the NaN annotation may be omitted; leader lines
      to annotations may be colored by the scalar they annotate or by the label
      color; and the tick marks may precede or succeed the scalar bar.
      Also, we must test how empty labels are handled and how even vs odd
      numbers of labels affect placement (since the algorithm for placement
      behaves differently in these cases).
      We cannot perform a full factorial test, but do test independent
      Finally, this commit improves the performance of prominent value
      detection for primitive-type arrays (e.g., int, double) by avoiding
      the use of vtkVariant instances to hold the working set of distinct
      values during sampling.
      Change-Id: I852f9b497d5e6ab619d9d7b763f641c44e4869cf
  25. 08 Apr, 2013 1 commit
  26. 03 Apr, 2013 2 commits
    • Sean McBride's avatar
      Removed VS6 and VS7 workarounds · de8eae2b
      Sean McBride authored
      Assume that if _MSC_VER is defined that it is >= 1310
      (ie VS7.1).
      This improves the readability of the code, and slightly
      improved code coverage.
      Change-Id: Iffc601f4cff53c4e267835e39b2b17a3adf74494
    • Sean McBride's avatar
      Fixed -Wshift-sign-overflow warning · 6beda6f0
      Sean McBride authored
      Shifting a 1 bit into or past the sign bit is undefined behaviour.
      Instead, just use the new VTK_ID_MIN constant.
      Change-Id: If58da9863e2264c886957d214aa4086e4fb25c81
  27. 02 Apr, 2013 2 commits
    • Andrew Bauer's avatar
      Fixing the interior check tolerance for the apex of vtkPyramid. · 2704cf30
      Andrew Bauer authored
      I was using a tolerance of 0.001 near the apex of the pyramid
      relative to a distance squared for the interior check but elsewhere
      I was doing a tolerance of 0.001 for the absolute value of
      the distance so I squared the 0.001 tolerance to be consistent
      with the interior check for the other parts of the cell.
      Note that due to the degenerate nature of the pyramid cell we
      do a specialized interior check near the apex.
      Thanks to Kathleen S. Biagas for the bug report and fix.
      Change-Id: I7580fa04539b159ceac12385e2ac3d795906dc01
    • Andrew Bauer's avatar
      More documentation updates. · 1a6a08d4
      Andrew Bauer authored
      Change-Id: I6869fef6042d5249be98c3c0c3337491936276c1
  28. 01 Apr, 2013 5 commits
    • Sean McBride's avatar
      Removed unused VTK_CREATE macro · 0368f481
      Sean McBride authored
      It appears nowhere else in the file,
      but an identical macro appears in many other places,
      making me think this is leftover copy-paste.
      Found this dead code using -Wunused-macros.
      Change-Id: Ib8ac3d8c4eb756b04147f7dcd029a0e8c75c0869
    • Sean McBride's avatar
      Removed unused REGIONIDCHECK macro · 990beb64
      Sean McBride authored
      It appears nowhere else in the codebase.
      Found this dead code using -Wunused-macros.
      Change-Id: Ifbf09b46a7de7952e9961521726dda6c2c92100a
    • Sean McBride's avatar
      Removed unused macros · 4dc98125
      Sean McBride authored
      They appear nowhere else in the codebase.
      Found this dead code using -Wunused-macros.
      Change-Id: I0100e6d427cc762abc3ba734e7609998ea9759c2
    • Sean McBride's avatar
      Removed unused vtkReebGraphMin macro · e06c27b8
      Sean McBride authored
      It appears nowhere else in the codebase.
      Found this dead code using -Wunused-macros.
      Change-Id: I1cbd97cd6905b5fd8dae878ef1a099522b9153e8
    • Sean McBride's avatar
      Removed unused sameDirection macro · 272e4259
      Sean McBride authored
      It appears nowhere else in the codebase. Found this dead code using -Wunused-macros.
      Change-Id: I66bc2a2ebab4c3e69aa47b9808b57926e50163bc