Skip to content
Snippets Groups Projects
Commit 1edb3cca authored by Lars Bilke's avatar Lars Bilke
Browse files

Just a Jenkins test.

parent 9d53ba9e
No related branches found
No related tags found
No related merge requests found
...@@ -273,7 +273,7 @@ void VisualizationWidget::on_screenshotPushButton_pressed() ...@@ -273,7 +273,7 @@ void VisualizationWidget::on_screenshotPushButton_pressed()
void VisualizationWidget::screenshot(QString filename, int magnification) void VisualizationWidget::screenshot(QString filename, int magnification)
{ {
vtkSmartPointer<vtkWindowToImageFilter> windowToImageFilter = vtkSmartPointer<vtkWindowToImageFilter> windowToImageFilter =
vtkSmartPointer<vtkWindowToImageFilter>::New(); vtkSmartPointer<vtkWindowToImageFilter>::New();
windowToImageFilter->SetInput(vtkWidget->GetRenderWindow()); windowToImageFilter->SetInput(vtkWidget->GetRenderWindow());
// Set the resolution of the output image // Set the resolution of the output image
// magnification times the current resolution of vtk render window // magnification times the current resolution of vtk render window
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment