|
CGAL 6.2 - 3D Isosurfacing
|
Functions | |
| template<typename Grid , typename Values > | |
| bool | CGAL::Isosurfacing::IO::convert_image_to_grid (const CGAL::Image_3 &image, Grid &grid, Values &values) |
extracts geometry and values from a CGAL::Image_3. | |
| template<typename Grid , typename Values > | |
| CGAL::Image_3 | CGAL::Isosurfacing::IO::convert_grid_to_image (const Grid &grid, const Values &values) |
create a CGAL::Image_3 from a grid and a field of values. | |
| CGAL::Image_3 CGAL::Isosurfacing::IO::convert_grid_to_image | ( | const Grid & | grid, |
| const Values & | values | ||
| ) |
#include <CGAL/Isosurfacing_3/IO/Image_3.h>
create a CGAL::Image_3 from a grid and a field of values.
| Grid | must be CGAL::Isosurfacing::Cartesian_grid_3<GeomTraits> with GeomTraits a model of IsosurfacingTraits_3 |
| Values | must be CGAL::Isosurfacing::Interpolated_discrete_values_3<Grid> |
| grid | the space partitioning data structure |
| values | the field of values |
| bool CGAL::Isosurfacing::IO::convert_image_to_grid | ( | const CGAL::Image_3 & | image, |
| Grid & | grid, | ||
| Values & | values | ||
| ) |
#include <CGAL/Isosurfacing_3/IO/Image_3.h>
extracts geometry and values from a CGAL::Image_3.
The dimensions and geometric span are read from the image. The values stored in the image must be of type Geom_traits::FT or implicitly convertible to it.
| Grid | must be CGAL::Isosurfacing::Cartesian_grid_3<GeomTraits> whose GeomTraits is a model of IsosurfacingTraits_3 |
| Values | must be CGAL::Isosurfacing::Interpolated_discrete_values_3<Grid> |
| image | the image providing the data |
| grid | the output grid |
| values | the output values |