CGAL 4.7 - 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. More... | |
Operations | |
int | xdim () |
First dimension of the 3D array, i.e., the number of voxels along the x coordinate axis. More... | |
int | ydim () |
Second dimension of the 3D array. More... | |
int | zdim () |
Third dimension of the 3D array. More... | |
RT | vx () |
Size of each voxel along x coordinate axis. More... | |
RT | vy () |
Size of each voxel along y coordinate axis. More... | |
RT | vz () |
Size of each voxel along z coordinate axis. More... | |
const Type * | data () |
Pointer to the first element of the 3D image. More... | |
typedef unspecified_type LabeledImage_3::RT |
Ring number type.
typedef unspecified_type LabeledImage_3::Type |
Type of voxel data.
Must be an integral type.
const Type* LabeledImage_3::data | ( | ) |
RT LabeledImage_3::vx | ( | ) |
Size of each voxel along x coordinate axis.
RT LabeledImage_3::vy | ( | ) |
Size of each voxel along y coordinate axis.
RT LabeledImage_3::vz | ( | ) |
Size of each voxel along z coordinate axis.
int LabeledImage_3::xdim | ( | ) |
First dimension of the 3D array, i.e., the number of voxels along the x coordinate axis.
int LabeledImage_3::ydim | ( | ) |
Second dimension of the 3D array.
int LabeledImage_3::zdim | ( | ) |
Third dimension of the 3D array.