<div dir="ltr"><div><div><div><div>Hi everybody,<br></div>I'd like to represent a 3D image as a fixed number of cubes, I mean, something like a spatial occupancy matrix in 3D.<br><br></div>Could you, please, recommend me a fast way to do it or does it exist  a data structure in VTK to achieve this?<br><br></div><div>I've found the OcTree structure but I donot know if it is valid for this.<br></div><div><br></div><div>Thank you very much.<br></div>My best regards.<br></div>/Francisco<br></div>