lib/installVTKViewer.js
/**
 * Install the renderer into the Viewport
 *
 * @param volumeViewer
 * @param actor
 */
Install the renderer into the Viewport
@param volumeViewer
@param actor
Install the renderer into the Viewport @param volumeViewer @param actor
function installVTKViewer(volumeViewer, actor) {
    const renderer = volumeViewer.getRenderer();
    const renderWindow = volumeViewer.getRenderWindow();
    renderer.addVolume(actor);
    renderer.resetCamera();
    renderer.updateLightsGeometryToFollowCamera();
    renderWindow.render();
}
function installVTKViewer ( volumeViewer , actor ) { const renderer = volumeViewer . getRenderer ( ) ; const renderWindow = volumeViewer . getRenderWindow ( ) ; renderer . addVolume ( actor ) ; renderer . resetCamera ( ) ; renderer . updateLightsGeometryToFollowCamera ( ) ; renderWindow . render ( ) ; }
Install the renderer into the Viewport
 @param volumeViewer
 @param actor
Install the renderer into the Viewport @param volumeViewer @param actor