projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f44ca
)
remove unnecessary declaration
author
ozantonkal
<ozantonkal@gmail.com>
Mon, 22 Jul 2013 13:14:33 +0000
(15:14 +0200)
committer
ozantonkal
<ozantonkal@gmail.com>
Mon, 22 Jul 2013 13:14:33 +0000
(15:14 +0200)
modules/viz/src/shape_widgets.cpp
patch
|
blob
|
history
diff --git
a/modules/viz/src/shape_widgets.cpp
b/modules/viz/src/shape_widgets.cpp
index
ed07691
..
3bc9453
100644
(file)
--- a/
modules/viz/src/shape_widgets.cpp
+++ b/
modules/viz/src/shape_widgets.cpp
@@
-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();