CGAL vs VTK

What is the difference between CGAL and VTK libraries? Both include many standard geometric algorithms. Can someone indicate some areas of applications where one of them is preferable to the other?

+5
source share
2 answers

VTK is mainly focused on visualization (frontend). It includes some computational geometry functions for convenience (for example, Delaunay triangulation). It is better suited for viewing MRI scans, visualizing large datasets, or converting point clouds / bags from one format to another, for example.

CGAL is focused on computational geometry (backend). To view the result, you will need some type of interface (for example, OpenGL, VTK). It is best suited for molecular biology, astronomy, architectural design, for example.

+10
source

VTK is good for scientific visualization (building values ​​on a grid with a given color gamut), and everything related to it (axes, filters, etc.) has a lot of tools for processing the grid and other things that paraview gives the front end, if you want to experiment. This is not good for textures, dynamic meshes, particles, and all other game / VR related technologies.

0
source

All Articles