Difference between revisions of "ExtraVTKFIles"

From VistrailsWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
You can find here a few classes that VGC team members wrote to extend VTK in particular ways. You will need to recompile VTK to include these classes.
== Adding Extra Classes to VTK ==
== Adding Extra Classes to VTK ==
* Get the zip containing the files [http://www.vistrails.org/download/download.php?id=vtk.zip here]. Uncompress it to /<path_to_vtk_source_root>/
* Get the zip containing the files [http://www.vistrails.org/download/download.php?id=vtk.zip here]. Uncompress it to /<path_to_vtk_source_root>/

Latest revision as of 07:15, 22 February 2007

You can find here a few classes that VGC team members wrote to extend VTK in particular ways. You will need to recompile VTK to include these classes.

Adding Extra Classes to VTK

  • Get the zip containing the files here. Uncompress it to /<path_to_vtk_source_root>/
  • Inside the IO folder, open CMakeLists.txt and add vtkCORIEUnstructuredGridReader.cxx
  • Inside the Graphics folder, open CMakeLists.txt and add vtkUnstructuredGridQuadricDecimation.cxx
  • Go to /<path_to_vtk_build_root>/ and type ccmake /<path_to_vtk_source_root>/