Skip to content

Commit

Permalink
fix(ImageMapper): use parallel projection in ImageMapper example
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Girault committed Jan 18, 2018
1 parent d0bec19 commit b23eb5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Rendering/Core/ImageMapper/example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const iStyle = vtkInteractorStyleImage.newInstance();
iStyle.setInteractionMode('IMAGE_SLICING');
renderWindow.getInteractor().setInteractorStyle(iStyle);

renderer.getActiveCamera().setParallelProjection(true);
renderer.addActor(actor);
renderer.resetCamera();
renderWindow.render();
Expand Down

0 comments on commit b23eb5f

Please sign in to comment.