vtkFullScreenRenderWindow在窗口渲染中增加根元素 rootContainer,然后在根元素里面增加要展示的内容container,即可实现改变窗口大小的目的
vtkFullScreenRenderWindow.newInstance({
background: [0, 0, 0],
rootContainer:document.getElementById('setRenderWindow'),
container:document.getElementById('demo')
});