projectVolume uses input validation, avgIntensities option
setMaterial uses input validation