I'm not sure why it's ambiguous... can you try replacing:
Code:
//This vector hold the position of the center of the volume
Vector3DInt32 v3dVolCenter = (volData.getEnclosingRegion().getUpperCorner() - volData.getEnclosingRegion().getLowerCorner()) / 2;
with:
Code:
//This vector hold the position of the center of the volume
Vector3DInt32 v3dVolCenter = (volData.getEnclosingRegion().getUpperCorner() - volData.getEnclosingRegion().getLowerCorner());
int32_t divisor = 2;
v3dVolCenter = v3dVolCenter / divisor;
Does it give the same error?