Skip to content
Snippets Groups Projects
Commit af88b5d4 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla Committed by Ricardo Ortiz
Browse files

Fixes the screen shot update issue due to lazy update

of the vtk's windowToImageFilter
parent 39212772
No related branches found
No related tags found
No related merge requests found
...@@ -206,8 +206,8 @@ void add2DOverlay(std::shared_ptr<VTKViewer> vtkViewer) ...@@ -206,8 +206,8 @@ void add2DOverlay(std::shared_ptr<VTKViewer> vtkViewer)
table->SetNumberOfRows(numPoints + 1); table->SetNumberOfRows(numPoints + 1);
double radius1 = range / 6; double radius1 = range / 8;
double radius2 = range / 8; double radius2 = range / 10;
double theta; double theta;
for (int i = 0; i < numPoints; i++) for (int i = 0; i < numPoints; i++)
......
...@@ -78,7 +78,7 @@ public: ...@@ -78,7 +78,7 @@ public:
{ {
if (this->screenCaptureData->triggerScreenCapture) if (this->screenCaptureData->triggerScreenCapture)
{ {
//this->screenCaptureData->windowToImageFilter->Update(); this->screenCaptureData->windowToImageFilter->Modified();
std::string captureName = "screenShot-" std::string captureName = "screenShot-"
+ std::to_string(this->screenCaptureData->screenShotNumber) + std::to_string(this->screenCaptureData->screenShotNumber)
......
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