remove unnecessary declaration
authorozantonkal <ozantonkal@gmail.com>
Mon, 22 Jul 2013 13:14:33 +0000 (15:14 +0200)
committerozantonkal <ozantonkal@gmail.com>
Mon, 22 Jul 2013 13:14:33 +0000 (15:14 +0200)
modules/viz/src/shape_widgets.cpp

index ed07691..3bc9453 100644 (file)
@@ -1095,9 +1095,7 @@ cv::viz::TrajectoryWidget::TrajectoryWidget(const std::vector<Affine3f> &path, c
 }
 
 cv::viz::TrajectoryWidget::TrajectoryWidget(const std::vector<Affine3f> &path, const Matx33f &K, double scale, const Color &color)
-{
-    vtkIdType nr_points = path.size();
-    
+{   
     vtkSmartPointer<vtkAppendPolyData> appendFilter = vtkSmartPointer<vtkAppendPolyData>::New();
     
     vtkSmartPointer<vtkCamera> camera = vtkSmartPointer<vtkCamera>::New();