CGAL 4.6.1 - 3D Mesh Generation
|
The concept LabeledImage_3
describes the requirements for the second template parameter of the class CGAL::Labeled_image_mesh_domain_3<Image,BGT>
which represents mesh domains defined by 3D labeled images. A 3D labeled image is a 3D array of elements of an integral type Type
. Type
can be bool
, char
, short
, int
, or long
(signed or not). Such an array is associated to a 3D axis-aligned regular grid, in \( \mathbb{R}^3\). A cell of this grid is denoted by voxel. A voxel is an iso-cuboid of size vx()
, vy()
, and vz()
.
CGAL::Image_3<Kernel, T>
, for any CGAL kernel K
and any integral type T
Types | |
typedef unspecified_type | Type |
Type of voxel data. More... | |
typedef unspecified_type | RT |
Ring number type. | |
Operations | |
int | xdim () |
First dimension of the 3D array, i.e., the number of voxels along the x coordinate axis. | |
int | ydim () |
Second dimension of the 3D array. | |
int | zdim () |
Third dimension of the 3D array. | |
RT | vx () |
Size of each voxel along x coordinate axis. | |
RT | vy () |
Size of each voxel along y coordinate axis. | |
RT | vz () |
Size of each voxel along z coordinate axis. | |
const Type * | data () |
Pointer to the first element of the 3D image. More... | |
typedef unspecified_type LabeledImage_3::Type |
Type of voxel data.
Must be an integral type.