Home
last modified time | relevance | path

Searched refs:viz (Results 1 – 25 of 55) sorted by relevance

123

/external/opencv3/modules/viz/test/
Dtests_simple.cpp46 using namespace cv::viz;
54 Viz3d viz("show_cloud_bluberry"); in TEST() local
55 viz.setBackgroundColor(Color::black()); in TEST()
56 viz.showWidget("coosys", WCoordinateSystem()); in TEST()
57 viz.showWidget("dragon", WCloud(dragon_cloud, Color::bluberry()), pose); in TEST()
59 viz.showWidget("text2d", WText("Bluberry cloud", Point(20, 20), 20, Color::green())); in TEST()
60 viz.spin(); in TEST()
72 Viz3d viz("show_cloud_random_color"); in TEST() local
73 viz.setBackgroundMeshLab(); in TEST()
74 viz.showWidget("coosys", WCoordinateSystem()); in TEST()
[all …]
Dtest_viz3d.cpp48 cv::Mat cloud = cv::viz::readCloud(get_dragon_ply_file_path()); in TEST()
50 cv::viz::Viz3d viz("abc"); in TEST() local
51 viz.setBackgroundMeshLab(); in TEST()
52 viz.showWidget("coo", cv::viz::WCoordinateSystem(1)); in TEST()
53 viz.showWidget("cloud", cv::viz::WPaintedCloud(cloud)); in TEST()
62 viz.spin(); in TEST()
Dtest_tutorial3.cpp12 viz::Viz3d myWindow("Coordinate Frame"); in tutorial3()
15 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem()); in tutorial3()
21 Affine3d camera_pose = viz::makeCameraPose(cam_origin, cam_focal_point, cam_y_dir); in tutorial3()
25 …Affine3d transform = viz::makeTransformToGlobal(Vec3d(0.0, -1.0, 0.0), Vec3d(-1.0, 0.0, 0.0), Vec3… in tutorial3()
28 Mat dragon_cloud = viz::readCloud(get_dragon_ply_file_path()); in tutorial3()
29 viz::WCloud cloud_widget(dragon_cloud, viz::Color::green()); in tutorial3()
37 …myWindow.showWidget("CPW_FRUSTUM", viz::WCameraPosition(Vec2f(0.889484f, 0.523599f)), camera_pose); in tutorial3()
39 myWindow.showWidget("CPW", viz::WCameraPosition(0.5), camera_pose); in tutorial3()
Dtest_tutorial2.cpp9 viz::Viz3d myWindow("Coordinate Frame"); in tutorial2()
12 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem()); in tutorial2()
15 viz::WLine axis(Point3f(-1.0, -1.0, -1.0), Point3d(1.0, 1.0, 1.0)); in tutorial2()
16 axis.setRenderingProperty(viz::LINE_WIDTH, 4.0); in tutorial2()
20viz::WCube cube_widget(Point3d(0.5, 0.5, 0.0), Point3d(0.0, 0.0, -0.5), true, viz::Color::blue()); in tutorial2()
21 cube_widget.setRenderingProperty(viz::LINE_WIDTH, 4.0); in tutorial2()
/external/opencv3/modules/viz/include/opencv2/viz/
Dtypes.hpp55 namespace viz namespace
268 inline cv::viz::Color::Color() : Scalar(0, 0, 0) {} in Color()
269 inline cv::viz::Color::Color(double _gray) : Scalar(_gray, _gray, _gray) {} in Color()
270 inline cv::viz::Color::Color(double _blue, double _green, double _red) : Scalar(_blue, _green, _red… in Color()
271 inline cv::viz::Color::Color(const Scalar& color) : Scalar(color) {} in Color()
273 inline cv::viz::Color::operator cv::Vec3b() const { return cv::Vec3d(val); } in operator cv::Vec3b()
275 inline cv::viz::Color cv::viz::Color::black() { return Color( 0, 0, 0); } in black()
276 inline cv::viz::Color cv::viz::Color::green() { return Color( 0, 255, 0); } in green()
277 inline cv::viz::Color cv::viz::Color::blue() { return Color(255, 0, 0); } in blue()
278 inline cv::viz::Color cv::viz::Color::cyan() { return Color(255, 255, 0); } in cyan()
[all …]
/external/opencv3/modules/viz/src/
Dviz3d.cpp48 cv::viz::Viz3d::Viz3d(const String& window_name) : impl_(0) { create(window_name); } in Viz3d()
50 cv::viz::Viz3d::Viz3d(const Viz3d& other) : impl_(other.impl_) in Viz3d()
56 cv::viz::Viz3d& cv::viz::Viz3d::operator=(const Viz3d& other) in operator =()
68 cv::viz::Viz3d::~Viz3d() { release(); } in ~Viz3d()
70 void cv::viz::Viz3d::create(const String &window_name) in create()
87 void cv::viz::Viz3d::release() in release()
101 void cv::viz::Viz3d::spin() { impl_->spin(); } in spin()
102 void cv::viz::Viz3d::spinOnce(int time, bool force_redraw) { impl_->spinOnce(time, force_redraw); } in spinOnce()
103 bool cv::viz::Viz3d::wasStopped() const { return impl_->wasStopped(); } in wasStopped()
104 void cv::viz::Viz3d::close() { impl_->close(); } in close()
[all …]
Dvizimpl.cpp50 cv::viz::Viz3d::VizImpl::VizImpl(const String &name) : spin_once_state_(false), in VizImpl()
69 exit_callback_->viz = this; in VizImpl()
74 cv::viz::Viz3d::VizImpl::~VizImpl() { close(); } in ~VizImpl()
77 void cv::viz::Viz3d::VizImpl::TimerCallback::Execute(vtkObject* caller, unsigned long event_id, voi… in Execute()
86 void cv::viz::Viz3d::VizImpl::ExitCallback::Execute(vtkObject*, unsigned long event_id, void*) in Execute()
88 if (event_id == vtkCommand::ExitEvent && viz->interactor_) in Execute()
90 viz->interactor_->TerminateApp(); in Execute()
91 viz->interactor_ = 0; in Execute()
97 bool cv::viz::Viz3d::VizImpl::wasStopped() const in wasStopped()
104 void cv::viz::Viz3d::VizImpl::close() in close()
[all …]
Dvizcore.cpp48 cv::Affine3d cv::viz::makeTransformToGlobal(const Vec3d& axis_x, const Vec3d& axis_y, const Vec3d& … in makeTransformToGlobal()
57 cv::Affine3d cv::viz::makeCameraPose(const Vec3d& position, const Vec3d& focal_point, const Vec3d& … in makeCameraPose()
96 cv::viz::VizStorage cv::viz::VizStorage::init;
97 cv::viz::VizMap cv::viz::VizStorage::storage;
99 void cv::viz::VizMap::replace_clear() { type().swap(m); } in replace_clear()
100 cv::viz::VizMap::~VizMap() { replace_clear(); } in ~VizMap()
102 cv::viz::VizStorage::VizStorage() in VizStorage()
106 void cv::viz::VizStorage::unregisterAll() { storage.replace_clear(); } in unregisterAll()
108 cv::viz::Viz3d& cv::viz::VizStorage::get(const String &window_name) in get()
116 void cv::viz::VizStorage::add(const Viz3d& window) in add()
[all …]
Dwidget.cpp51 class cv::viz::Widget::Impl
58 cv::viz::Widget::Widget() : impl_( new Impl() ) { } in Widget()
60 cv::viz::Widget::Widget(const Widget& other) : impl_( new Impl() ) in Widget()
66 cv::viz::Widget& cv::viz::Widget::operator=(const Widget& other) in operator =()
76 cv::viz::Widget::~Widget() in ~Widget()
85 cv::viz::Widget cv::viz::Widget::fromPlyFile(const String &file_name) in fromPlyFile()
106 void cv::viz::Widget::setRenderingProperty(int property, double value) in setRenderingProperty()
174 double cv::viz::Widget::getRenderingProperty(int property) const in getRenderingProperty()
223 vtkSmartPointer<vtkProp> cv::viz::WidgetAccessor::getProp(const Widget& widget) in getProp()
228 void cv::viz::WidgetAccessor::setProp(Widget& widget, vtkSmartPointer<vtkProp> prop) in setProp()
[all …]
Dshapes.cpp50 cv::viz::WLine::WLine(const Point3d &pt1, const Point3d &pt2, const Color &color) in WLine()
69 template<> cv::viz::WLine cv::viz::Widget::cast<cv::viz::WLine>() in cast()
78 cv::viz::WSphere::WSphere(const Point3d &center, double radius, int sphere_resolution, const Color … in WSphere()
100 template<> cv::viz::WSphere cv::viz::Widget::cast<cv::viz::WSphere>() in cast()
109 cv::viz::WPlane::WPlane(const Size2d& size, const Color &color) in WPlane()
130 cv::viz::WPlane::WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, const S… in WPlane()
141 template<> cv::viz::WPlane cv::viz::Widget::cast<cv::viz::WPlane>() in cast()
150 cv::viz::WArrow::WArrow(const Point3d& pt1, const Point3d& pt2, double thickness, const Color &colo… in WArrow()
181 template<> cv::viz::WArrow cv::viz::Widget::cast<cv::viz::WArrow>() in cast()
190 cv::viz::WCircle::WCircle(double radius, double thickness, const Color &color) in WCircle()
[all …]
Dclouds.cpp51 cv::viz::WCloud::WCloud(InputArray cloud, InputArray colors) in WCloud()
57 cv::viz::WCloud::WCloud(InputArray cloud, const Color &color) in WCloud()
63 cv::viz::WCloud::WCloud(InputArray cloud, const Color &color, InputArray normals) in WCloud()
69 cv::viz::WCloud::WCloud(cv::InputArray cloud, cv::InputArray colors, cv::InputArray normals) in WCloud()
94 template<> cv::viz::WCloud cv::viz::Widget::cast<cv::viz::WCloud>() in cast()
103 cv::viz::WPaintedCloud::WPaintedCloud(InputArray cloud) in WPaintedCloud()
132 cv::viz::WPaintedCloud::WPaintedCloud(InputArray cloud, const Point3d& p1, const Point3d& p2) in WPaintedCloud()
158 cv::viz::WPaintedCloud::WPaintedCloud(InputArray cloud, const Point3d& p1, const Point3d& p2, const… in WPaintedCloud()
198 template<> cv::viz::WPaintedCloud cv::viz::Widget::cast<cv::viz::WPaintedCloud>() in cast()
207 cv::viz::WCloudCollection::WCloudCollection() in WCloudCollection()
[all …]
Dtypes.cpp51 cv::viz::KeyboardEvent::KeyboardEvent(Action _action, const String& _symbol, unsigned char _code, i… in KeyboardEvent()
54 cv::viz::MouseEvent::MouseEvent(const Type& _type, const MouseButton& _button, const Point& _pointe… in MouseEvent()
60 cv::viz::Mesh cv::viz::Mesh::load(const String& file) in load()
95 cv::viz::Camera::Camera(double fx, double fy, double cx, double cy, const Size &window_size) in Camera()
100 cv::viz::Camera::Camera(const Vec2d &fov, const Size &window_size) in Camera()
111 cv::viz::Camera::Camera(const cv::Matx33d & K, const Size &window_size) in Camera()
120 cv::viz::Camera::Camera(const Matx44d &proj, const Size &window_size) in Camera()
146 void cv::viz::Camera::init(double fx, double fy, double cx, double cy, const Size &window_size) in init()
163 void cv::viz::Camera::setWindowSize(const Size &window_size) in setWindowSize()
180 void cv::viz::Camera::computeProjectionMatrix(Matx44d &proj) const in computeProjectionMatrix()
[all …]
/external/opencv3/modules/viz/src/vtk/
DvtkVizInteractorStyle.cpp48 namespace cv { namespace viz namespace
55 cv::viz::vtkVizInteractorStyle::vtkVizInteractorStyle() in vtkVizInteractorStyle()
84 cv::viz::vtkVizInteractorStyle::~vtkVizInteractorStyle() {} in ~vtkVizInteractorStyle()
87 void cv::viz::vtkVizInteractorStyle::saveScreenshot(const String &file) in saveScreenshot()
104 void cv::viz::vtkVizInteractorStyle::exportScene(const String &file) in exportScene()
124 void cv::viz::vtkVizInteractorStyle::exportScene() in exportScene()
133 void cv::viz::vtkVizInteractorStyle::changePointsSize(float delta) in changePointsSize()
148 void cv::viz::vtkVizInteractorStyle::setRepresentationToPoints() in setRepresentationToPoints()
162 void cv::viz::vtkVizInteractorStyle::printCameraParams() in printCameraParams()
181 void cv::viz::vtkVizInteractorStyle::toggleFullScreen() in toggleFullScreen()
[all …]
DvtkXYZWriter.cpp47 namespace cv { namespace viz namespace
52 cv::viz::vtkXYZWriter::vtkXYZWriter() in vtkXYZWriter()
58 void cv::viz::vtkXYZWriter::WriteData() in WriteData()
102 int cv::viz::vtkXYZWriter::FillInputPortInformation(int, vtkInformation *info) in FillInputPortInformation()
108 void cv::viz::vtkXYZWriter::PrintSelf(ostream& os, vtkIndent indent) in PrintSelf()
114 vtkPolyData* cv::viz::vtkXYZWriter::GetInput() in GetInput()
119 vtkPolyData* cv::viz::vtkXYZWriter::GetInput(int port) in GetInput()
DvtkImageMatSource.cpp47 namespace cv { namespace viz namespace
52 cv::viz::vtkImageMatSource::vtkImageMatSource() in vtkImageMatSource()
58 int cv::viz::vtkImageMatSource::RequestInformation(vtkInformation *, vtkInformationVector**, vtkInf… in RequestInformation()
70 int cv::viz::vtkImageMatSource::RequestData(vtkInformation*, vtkInformationVector**, vtkInformation… in RequestData()
79 void cv::viz::vtkImageMatSource::SetImage(InputArray _image) in SetImage()
103 void cv::viz::vtkImageMatSource::copyGrayImage(const Mat &source, vtkSmartPointer<vtkImageData> out… in copyGrayImage()
117 void cv::viz::vtkImageMatSource::copyRGBImage(const Mat &source, vtkSmartPointer<vtkImageData> outp… in copyRGBImage()
131 void cv::viz::vtkImageMatSource::copyRGBAImage(const Mat &source, vtkSmartPointer<vtkImageData> out… in copyRGBAImage()
DvtkCloudMatSink.cpp47 namespace cv { namespace viz namespace
52 cv::viz::vtkCloudMatSink::vtkCloudMatSink() {} in vtkCloudMatSink()
53 cv::viz::vtkCloudMatSink::~vtkCloudMatSink() {} in ~vtkCloudMatSink()
55 void cv::viz::vtkCloudMatSink::SetOutput(OutputArray _cloud, OutputArray _colors, OutputArray _norm… in SetOutput()
63 void cv::viz::vtkCloudMatSink::WriteData() in WriteData()
152 void cv::viz::vtkCloudMatSink::PrintSelf(ostream& os, vtkIndent indent) in PrintSelf()
160 int cv::viz::vtkCloudMatSink::FillInputPortInformation(int, vtkInformation *info) in FillInputPortInformation()
166 vtkPolyData* cv::viz::vtkCloudMatSink::GetInput() in GetInput()
171 vtkPolyData* cv::viz::vtkCloudMatSink::GetInput(int port) in GetInput()
DvtkXYZReader.cpp47 namespace cv { namespace viz namespace
53 cv::viz::vtkXYZReader::vtkXYZReader() in vtkXYZReader()
59 cv::viz::vtkXYZReader::~vtkXYZReader() in ~vtkXYZReader()
64 void cv::viz::vtkXYZReader::PrintSelf(ostream& os, vtkIndent indent) in PrintSelf()
70 int cv::viz::vtkXYZReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVecto… in RequestData()
DvtkCloudMatSource.cpp47 namespace cv { namespace viz namespace
66 cv::viz::vtkCloudMatSource::vtkCloudMatSource() { SetNumberOfInputPorts(0); } in vtkCloudMatSource()
67 cv::viz::vtkCloudMatSource::~vtkCloudMatSource() {} in ~vtkCloudMatSource()
69 int cv::viz::vtkCloudMatSource::SetCloud(InputArray _cloud) in SetCloud()
87 int cv::viz::vtkCloudMatSource::SetColorCloud(InputArray _cloud, InputArray _colors) in SetColorCloud()
108 int cv::viz::vtkCloudMatSource::SetColorCloudNormals(InputArray _cloud, InputArray _colors, InputAr… in SetColorCloudNormals()
136 int cv::viz::vtkCloudMatSource::SetColorCloudNormalsTCoords(InputArray _cloud, InputArray _colors, … in SetColorCloudNormalsTCoords()
163 int cv::viz::vtkCloudMatSource::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVect… in RequestData()
183 int cv::viz::vtkCloudMatSource::filterNanCopy(const Mat& cloud) in filterNanCopy()
208 void cv::viz::vtkCloudMatSource::filterNanColorsCopy(const Mat& cloud_colors, const Mat& mask, int … in filterNanColorsCopy()
[all …]
DvtkTrajectorySource.cpp47 namespace cv { namespace viz namespace
52 cv::viz::vtkTrajectorySource::vtkTrajectorySource() { SetNumberOfInputPorts(0); } in vtkTrajectorySource()
53 cv::viz::vtkTrajectorySource::~vtkTrajectorySource() {} in ~vtkTrajectorySource()
55 void cv::viz::vtkTrajectorySource::SetTrajectory(InputArray _traj) in SetTrajectory()
83 cv::Mat cv::viz::vtkTrajectorySource::ExtractPoints(InputArray _traj) in ExtractPoints()
103 int cv::viz::vtkTrajectorySource::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVe… in RequestData()
/external/opencv3/samples/cpp/tutorial_code/viz/
Dtransformations.cpp68 viz::Viz3d myWindow("Coordinate Frame"); in main()
71 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem()); in main()
77 Affine3f cam_pose = viz::makeCameraPose(cam_pos, cam_focal_point, cam_y_dir); in main()
81 …Affine3f transform = viz::makeTransformToGlobal(Vec3f(0.0f,-1.0f,0.0f), Vec3f(-1.0f,0.0f,0.0f), Ve… in main()
85 viz::WCloud cloud_widget(bunny_cloud, viz::Color::green()); in main()
95 viz::WCameraPosition cpw(0.5); // Coordinate axes in main()
96 viz::WCameraPosition cpw_frustum(Vec2f(0.889484, 0.523599)); // Camera frustum in main()
Dwidget_pose.cpp37 viz::Viz3d myWindow("Coordinate Frame"); in main()
40 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem()); in main()
43 viz::WLine axis(Point3f(-1.0f,-1.0f,-1.0f), Point3f(1.0f,1.0f,1.0f)); in main()
44 axis.setRenderingProperty(viz::LINE_WIDTH, 4.0); in main()
48 viz::WCube cube_widget(Point3f(0.5,0.5,0.0), Point3f(0.0,0.0,-0.5), true, viz::Color::blue()); in main()
49 cube_widget.setRenderingProperty(viz::LINE_WIDTH, 4.0); in main()
Dcreating_widgets.cpp42 class WTriangle : public viz::Widget3D
45 …nst Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color & color = viz::Color::w…
52 WTriangle::WTriangle(const Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color &… in WTriangle()
87 viz::WidgetAccessor::setProp(*this, actor); in WTriangle()
101 viz::Viz3d myWindow("Creating Widgets"); in main()
104 … WTriangle tw(Point3f(0.0,0.0,0.0), Point3f(1.0,1.0,1.0), Point3f(0.0,1.0,0.0), viz::Color::red()); in main()
/external/opencv3/doc/tutorials/viz/widget_pose/
Dwidget_pose.markdown16 …here ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/viz/widget_pose.cpp).
17 @include samples/cpp/tutorial_code/viz/widget_pose.cpp
27 viz::Viz3d myWindow("Coordinate Frame");
32 myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem());
37 viz::WLine axis(Point3f(-1.0f,-1.0f,-1.0f), Point3f(1.0f,1.0f,1.0f));
38 axis.setRenderingProperty(viz::LINE_WIDTH, 4.0);
44 viz::WCube cube_widget(Point3f(0.5,0.5,0.0), Point3f(0.0,0.0,-0.5), true, viz::Color::blue());
45 cube_widget.setRenderingProperty(viz::LINE_WIDTH, 4.0);
/external/opencv3/doc/tutorials/viz/creating_widgets/
Dcreating_widgets.markdown15 …e ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/viz/creating_widgets.cp…
16 @include samples/cpp/tutorial_code/viz/creating_widgets.cpp
25 class WTriangle : public viz::Widget3D
28 …nst Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color & color = viz::Color::w…
34 viz::WidgetAccessor::setProp(*this, actor);
44 … WTriangle tw(Point3f(0.0,0.0,0.0), Point3f(1.0,1.0,1.0), Point3f(0.0,1.0,0.0), viz::Color::red());
/external/opencv3/doc/tutorials/viz/transformations/
Dtransformations.markdown16 …e ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/viz/transformations.cpp…
17 @include samples/cpp/tutorial_code/viz/transformations.cpp
27 viz::Viz3d myWindow("Transformations");
35 Affine3f cam_pose = viz::makeCameraPose(cam_pos, cam_focal_point, cam_y_dir);
41 …Affine3f transform = viz::makeTransformToGlobal(Vec3f(0.0f,-1.0f,0.0f), Vec3f(-1.0f,0.0f,0.0f), Ve…
47 viz::WCloud cloud_widget(bunny_cloud, viz::Color::green());
61 viz::WCameraPosition cpw(0.5); // Coordinate axes
62 viz::WCameraPosition cpw_frustum(Vec2f(0.889484, 0.523599)); // Camera frustum

123