iteractor work
This commit is contained in:
parent
fb7e74c511
commit
fde0185a77
@ -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.
|
||||
|
@ -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();
|
||||
};
|
||||
|
||||
|
@ -148,7 +148,7 @@
|
||||
renWin->SetRootWindow(NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@ -209,4 +209,3 @@ vtkSmartPointer<vtkRenderWindowInteractor> cv::viz::vtkCocoaRenderWindowInteract
|
||||
{
|
||||
return vtkSmartPointer<vtkCocoaRenderWindowInteractorFix>::New();
|
||||
}
|
||||
|
||||
|
@ -1074,4 +1074,3 @@ void cv::viz::vtkVizInteractorStyle::PrintSelf(ostream& os, vtkIndent indent)
|
||||
os << indent << "AngleStepSize: " << AngleStepSize << "\n";
|
||||
os << indent << "MotionUserScale: "<< MotionUserScale << "\n";
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user