CGAL 6.1.1 - 3D Mesh Generation

Loading...
Searching...
No Matches
List of all members | Public Member Functions
CGAL::Image_3 Class Reference
Reference Manual » Domain Classes

`#include <CGAL/Image_3.h>`

## Definition

The class `Image_3` is a C++ wrapper around the InrImage library.

It holds a shared pointer to a 3D image buffer.

Examples
  Mesh_3/mesh_3D_gray_image.cpp, Mesh_3/mesh_3D_gray_vtk_image.cpp, Mesh_3/mesh_3D_image.cpp, Mesh_3/mesh_3D_image_variable_size.cpp, Mesh_3/mesh_3D_image_with_custom_initialization.cpp, Mesh_3/mesh_3D_image_with_detection_of_features.cpp, Mesh_3/mesh_3D_image_with_features.cpp, Mesh_3/mesh_3D_image_with_image_initialization.cpp, Mesh_3/mesh_3D_image_with_initial_points.cpp, Mesh_3/mesh_3D_image_with_input_features.cpp, Mesh_3/mesh_3D_weighted_image.cpp, Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp, Mesh_3/mesh_optimization_example.cpp, Mesh_3/mesh_optimization_lloyd_example.cpp, and Mesh_3/random_labeled_image.h.

## Public Member Functions
| Image_3 ()
| The default-constructor. The object is invalid until a call to `read()`.
bool | read (const char *file)
| Open a 3D image file.

## Member Function Documentation

## ◆ read()

bool CGAL::Image_3::read | ( | const char * | file | ) |

Open a 3D image file.

Returns `true` if the file was successfully loaded.

Examples
  Mesh_3/mesh_3D_gray_image.cpp, Mesh_3/mesh_3D_image.cpp, Mesh_3/mesh_3D_image_variable_size.cpp, Mesh_3/mesh_3D_image_with_custom_initialization.cpp, Mesh_3/mesh_3D_image_with_detection_of_features.cpp, Mesh_3/mesh_3D_image_with_features.cpp, Mesh_3/mesh_3D_image_with_initial_points.cpp, Mesh_3/mesh_3D_image_with_input_features.cpp, Mesh_3/mesh_3D_weighted_image.cpp, Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp, Mesh_3/mesh_optimization_example.cpp, and Mesh_3/mesh_optimization_lloyd_example.cpp.