Added ability to specify the visible region so that the example framework can support different volume sizes.

This commit is contained in:
David Williams
2014-05-23 14:32:46 +02:00
parent ab741583e4
commit 4cec89de38
3 changed files with 19 additions and 6 deletions

View File

@ -86,6 +86,7 @@ int main(int argc, char *argv[])
//Pass the surface to the OpenGL window
openGLWidget.setSurfaceMeshToRender(mesh);
openGLWidget.setViewableRegion(volData.getEnclosingRegion());
//openGLWidget.setSurfaceMeshToRender(mesh2);
//Run the message pump.