Commit e96f816b authored by Ken Martin's avatar Ken Martin
Browse files

Remove window size change

on some systems the window size change can be an issue with
the valid image. Seems to be a timing thing.

Change-Id: I43b37e10032752e654c00a40ab3a7a91f2ce2131
parent b5ec065e
......@@ -84,7 +84,7 @@ int TestPointGaussianMapper(int argc, char *argv[])
vtkNew<vtkRenderer> renderer;
renderer->SetBackground(0.0, 0.0, 0.0);
vtkNew<vtkRenderWindow> renderWindow;
renderWindow->SetSize(900, 900);
renderWindow->SetSize(300, 300);
renderWindow->AddRenderer(renderer.Get());
vtkNew<vtkRenderWindowInteractor> iren;
iren->SetRenderWindow(renderWindow.Get());
......@@ -119,7 +119,6 @@ int TestPointGaussianMapper(int argc, char *argv[])
renderer->GetActiveCamera()->SetViewUp(0,1,0);
renderer->ResetCamera();
renderWindow->SetSize(300, 300);
renderer->GetActiveCamera()->Zoom(10.0);
renderWindow->Render();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment