ExtraVTKFIles

From VistrailsWiki
Jump to navigation Jump to search

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>/