1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

fixed warnigns and compiler errors for Ubuntu

This commit is contained in:
Anatoly Baksheev
2014-01-19 00:13:47 +04:00
parent d7ca0bb757
commit 7410593d55
4 changed files with 28 additions and 28 deletions
+3 -3
View File
@@ -1064,9 +1064,9 @@ cv::viz::WTrajectorySpheres::WTrajectorySpheres(InputArray _path, double line_le
line_source->SetPoint1(curr.val);
line_source->SetPoint2(lend.val);
line_source->Update();
vtkSmartPointer<vtkPolyData> polydata = line_source->GetOutput();
polydata->GetCellData()->SetScalars(VtkUtils::FillScalars(polydata->GetNumberOfCells(), c));
VtkUtils::AddInputData(append_filter, polydata);
vtkSmartPointer<vtkPolyData> polydata_ = line_source->GetOutput();
polydata_->GetCellData()->SetScalars(VtkUtils::FillScalars(polydata_->GetNumberOfCells(), c));
VtkUtils::AddInputData(append_filter, polydata_);
}
}
append_filter->Update();