ray casting inside structure

im building a 3D model from 3D data sets and think the best way to do this is to use a voxel structure and perform ray casting with the plane inside the structure. would this be the best approach? would i need to rotate the plane often if i wish to actually represent the 3D data? any help would be appreciated! code would warrant a hug.
thanks in advance

It’s not clear what the plane you’re talking about is. The plane of projection from the viewer?

Also this is not an OpenGL question. You will get answers to OpenGL questions here, a lot of other stuff, even if it’s 3D is off topic.