iteractor work
authorAnatoly Baksheev <no@email>
Sun, 16 Feb 2014 17:27:25 +0000 (21:27 +0400)
committerAnatoly Baksheev <no@email>
Wed, 5 Mar 2014 23:26:21 +0000 (03:26 +0400)
modules/viz/doc/widget.rst
modules/viz/include/opencv2/viz/widgets.hpp
modules/viz/src/vtk/vtkCocoaInteractorFix.mm
modules/viz/src/vtk/vtkVizInteractorStyle.cpp
modules/viz/test/test_viz3d.cpp

index 31546ae..0884ece 100644 (file)
@@ -934,7 +934,7 @@ This 3D Widget defines a collection of clouds. ::
         void addCloud(InputArray cloud, InputArray colors, const Affine3d &pose = Affine3d::Identity());
         //! All points in cloud have the same color
         void addCloud(InputArray cloud, const Color &color = Color::white(), Affine3d &pose = Affine3d::Identity());
-        //! Repacks internal structure to sinle cloud
+        //! Repacks internal structure to single cloud
         void finalize();
     };
 
@@ -1030,8 +1030,8 @@ viz::WWidgetMerger
 ---------------------
 .. ocv:class:: WWidgetMerger
 
-This class allos to merge several widgets to single one. It has quite limited functionality and can't merge widgets with different attributes. For instance, 
-if widgetA has color array and widgetB has only global color defined, then result of merge won't have color at all. The class is suitable for merging large amount of similar widgets.
+This class allows to merge several widgets to single one. It has quite limited functionality and can't merge widgets with different attributes. For instance,
+if widgetA has color array and widgetB has only global color defined, then result of merge won't have color at all. The class is suitable for merging large amount of similar widgets. ::
 
     class CV_EXPORTS WWidgetMerger : public Widget3D
     {
@@ -1041,11 +1041,10 @@ if widgetA has color array and widgetB has only global color defined, then resul
         //! Add widget to merge with optional position change
         void addWidget(const Widget3D& widget, const Affine3d &pose = Affine3d::Identity());
 
-        //! Repacks internal structure to sinle widget
+        //! Repacks internal structure to single widget
         void finalize();
     };
 
-
 viz::WWidgetMerger::WWidgetMerger
 ---------------------------------------
 Constructs a WWidgetMerger.
index 0c2a4f7..2949598 100644 (file)
@@ -346,7 +346,7 @@ namespace cv
             void addCloud(InputArray cloud, InputArray colors, const Affine3d &pose = Affine3d::Identity());
             //! All points in cloud have the same color
             void addCloud(InputArray cloud, const Color &color = Color::white(), const Affine3d &pose = Affine3d::Identity());
-            //! Repacks internal structure to sinle cloud
+            //! Repacks internal structure to single cloud
             void finalize();
         };
 
@@ -363,7 +363,6 @@ namespace cv
             WMesh(InputArray cloud, InputArray polygons, InputArray colors = noArray(), InputArray normals = noArray());
         };
 
-
         class CV_EXPORTS WWidgetMerger : public Widget3D
         {
         public:
@@ -372,7 +371,7 @@ namespace cv
             //! Add widget to merge with optional position change
             void addWidget(const Widget3D& widget, const Affine3d &pose = Affine3d::Identity());
 
-            //! Repacks internal structure to sinle widget
+            //! Repacks internal structure to single widget
             void finalize();
         };
 
index 23bba55..dad41b0 100644 (file)
             renWin->SetRootWindow(NULL);
         }
     }
-} 
+}
 
 @end
 
@@ -209,4 +209,3 @@ vtkSmartPointer<vtkRenderWindowInteractor> cv::viz::vtkCocoaRenderWindowInteract
 {
     return vtkSmartPointer<vtkCocoaRenderWindowInteractorFix>::New();
 }
-
index 57aee63..9b5eca2 100644 (file)
@@ -1074,4 +1074,3 @@ void cv::viz::vtkVizInteractorStyle::PrintSelf(ostream& os, vtkIndent indent)
     os << indent << "AngleStepSize: " << AngleStepSize << "\n";
     os << indent << "MotionUserScale: "<< MotionUserScale << "\n";
 }
-
index 45d3cdc..45128df 100644 (file)
@@ -59,6 +59,5 @@ TEST(Viz_viz3d, DISABLED_develop)
     //cv::Mat cloud = cv::viz::readCloud(get_dragon_ply_file_path());
     //---->>>>> </to_test_in_future>
 
-
     viz.spin();
 }