mirror of https://github.com/CGAL/cgal
fix conversion warnings
This commit is contained in:
parent
704c436b5c
commit
ee54380b73
|
|
@ -109,12 +109,12 @@ struct VTK_type_generator<boost::uint32_t> {
|
||||||
data_array = array;
|
data_array = array;
|
||||||
);
|
);
|
||||||
|
|
||||||
vtk_image->SetDimensions(image.xdim(),
|
vtk_image->SetDimensions((int)image.xdim(),
|
||||||
image.ydim(),
|
(int)image.ydim(),
|
||||||
image.zdim());
|
(int)image.zdim());
|
||||||
vtk_image->SetExtent(0, image.xdim()-1,
|
vtk_image->SetExtent(0, (int)(image.xdim() - 1),
|
||||||
0, image.ydim()-1,
|
0, (int)(image.ydim() - 1),
|
||||||
0, image.zdim()-1);
|
0, (int)(image.zdim() - 1));
|
||||||
vtk_image->SetSpacing(image.vx(),
|
vtk_image->SetSpacing(image.vx(),
|
||||||
image.vy(),
|
image.vy(),
|
||||||
image.vz());
|
image.vz());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue