1. 18 Nov, 2013 1 commit
    • Andrew Maclean's avatar
      Allow the examples to specify what modules to use. · 733ef2dd
      Andrew Maclean authored
      
      
      This approach demonstrates good programming practice by only
      linking to the needed modules.
      It also removed the need to set CMP0020 to NEW in all cases
      except those examples that link to Qt.
      
      The include(${VTK_USE_FILE}) has been removed from the
      top-level CMakeLists.txt file as it is unnecessary.
      
      The solution presented here will work with the Examples built
      as a stand-alone folder or within the VTK tree or with the
      individual examples.
      
      They have been tested on Linux, Windows VS2012 Express,
      Mac OS-X 10.9 using Qt5.1.1.
      
      Change-Id: I0572a395b2ebc6630db8c1407f410a584f668a85
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      733ef2dd
  2. 28 Oct, 2013 1 commit
    • Andrew Maclean's avatar
      Eliminating CMP0020 warnings in the examples. · bb20b9df
      Andrew Maclean authored
      
      
      If VTK is built with Qt5 and CMake >= 2.8.11 CMP0020 warnings are generated
       in these examples. Setting CMP0020 to new eliminates these warnings.
      
      This warning happens because the examples link to ${VTK_LIBRARIES}
      which, inside the VTK build tree, is all libraries built including
      those that use Qt.  The policy is set as a workaround in these cases.
      
      A future submission will modify these and other examples to just
      use the needed libraries.
      
      Change-Id: Iea460773065ed55880b198eeaeec3da3b711c258
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      bb20b9df
  3. 17 Aug, 2012 1 commit
    • Bill Lorensen's avatar
      ENH: Migrate examples to VTK6 · 1995122e
      Bill Lorensen authored
      1) Add Find_Package(VTK COMPONENTS) for each example dir
      2) Add MAC app support
      3) Use ${VTK_LIBRARIES} for target_link_libraries
      4) Use new signature for add_test
      
      Each set of examples can be built within the VTK bin tree or as
      stand-alone examples.
      
      Change-Id: I6daa126bcc2ed44d827b50954d27f90f394ad4f2
      1995122e
  4. 09 Apr, 2012 1 commit
    • 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
  5. 09 Mar, 2012 1 commit
  6. 21 Feb, 2012 1 commit
  7. 26 Sep, 2011 1 commit
  8. 17 Jun, 2011 1 commit
  9. 10 Jun, 2011 1 commit
    • George Zagaris's avatar
      ENH: Driver for AMR to uniform grid resampling · d361dded
      George Zagaris authored
      A simple driver that resamples an AMR dataset to
      a uniform grid. The resulting uniform grid can
      then be opened and volume rendered in ParaView.
      In addition, instead of resampling the entire
      AMR dataset, just a portion of the AMR dataset
      can be selected.
      d361dded
  10. 06 May, 2011 2 commits
  11. 28 Apr, 2011 1 commit
  12. 18 Apr, 2011 1 commit
  13. 11 Apr, 2011 1 commit
  14. 07 Apr, 2011 1 commit
  15. 05 Apr, 2011 1 commit
  16. 30 Mar, 2011 1 commit
  17. 29 Mar, 2011 1 commit
    • George Zagaris's avatar
      ENH: Adding AMR dual-extraction example/utility · 7d29869c
      George Zagaris authored
      Adding AMRDualExtractor example to the repository --
      A utility that demonstrates and tests the functionality
      of the vtkAMRDualExtractor object. Further, common
      functionality for AMR data that is employed in developing
      AMR examples is now consolidated in AMRCommon so that this
      functionality can be more readily reusable.
      7d29869c
  18. 23 Mar, 2011 1 commit
  19. 14 Feb, 2011 1 commit
    • George Zagaris's avatar
      ENH/BUGFIX: ImageData-To-StructuredGrid Updates · a15996f0
      George Zagaris authored
      Inherited from vtkStructuredGridAlgorithm instead
      of vtkDataSetAlgorithm. Fixed floating point issue
      by setting the points array to be double precision.
      Added simple example code that demonstrates the use
      of the filter and a corresponding test for the filter.
      a15996f0
  20. 09 Feb, 2011 1 commit
  21. 08 Feb, 2011 1 commit
  22. 03 Feb, 2011 1 commit
  23. 27 Dec, 2009 1 commit
  24. 30 Sep, 2005 1 commit
  25. 29 Aug, 2005 1 commit
  26. 29 Mar, 2005 1 commit
  27. 17 Feb, 2005 1 commit
    • Brad King's avatar
      ENH: Setting up build of examples to always be an outside project. An in-tree... · fe7fc7e9
      Brad King authored
      ENH: Setting up build of examples to always be an outside project.  An in-tree build will produce a custom target that builds it as an outside project using ctest --build-and-test.  Once VTK is built the examples will be built.  The output paths are setup to put the examples in the VTK bin directory so DLL builds will work out of the box.
      fe7fc7e9
  28. 15 Feb, 2005 1 commit
  29. 11 Dec, 2003 1 commit