Sergiu Deitsch
d4b501e734
viz: free new[] allocated arrays using delete[] instead of free
...
Clang's AddressSanitizer throws an alloc-dealloc-mismatch (operator
new[] vs free) error here.
2016-11-08 13:03:22 +01:00
Alexander Alekhin
f129950dec
viz: update for VTK6.2+
...
PCL PR 1205
2016-10-21 18:33:38 +03:00
Alexander Alekhin
c724d61219
Revert "Fix for VTK6.2 issue."
...
This reverts commit f45da9866a
.
2016-10-21 17:57:33 +03:00
Alexander Alekhin
c7f5bc3624
viz: use ../precomp.hpp in modules/viz/src/vtk/* files
2016-09-08 16:19:44 +03:00
solosuper
372890f1d7
fix #6315
2016-04-14 11:57:49 +02:00
AlexeyAB
fcbb57a63f
Added ability to disable lighting in the viz-module.
...
When I reconstructed the 3D scene I want to show it as viz::WMesh with an initial value of lighting. For this I disable lighting and shadows:
cv::viz::Viz3d viz_3d_window("3D");
viz_3d_window.setRenderingProperty("mesh", cv::viz::LIGHTING, 0);
Most of the examples show the 3D reconstruction using the point cloud, but using the mesh one part of it creates a shadow on other parts of it if lighting ON.
Using a 3D mesh with disabled lighting gives the most realistic picture of the reconstructed 3D scene.
2016-01-14 19:02:18 +03:00
Antonella Cascitelli
079ceea616
Added new functionalities to viz module
...
- load OBJ file
- set offscreen rendering
- set roll angle of the camera
- get Mat screenshot of the current scene
- remove all lights from the scene
- add a custom light in the scene
- modify the size of the WImage3D widget
- added ambient property for the widget
Changed Vec3d in cv::viz::Color
Renamed method getMatScreenshotin getScreenshot
Modified showWidget
Fixed on viz::Color and reverted fix on vtkProp3D
Removed cameraRoll method
Merged load mesh method (for ply and obj file)
Fixed doc
Fixed cv::viz::WImage3D::setSize for vtk5.8
Fixed enum for cv::viz::Mesh::load
2015-08-15 01:03:59 +02:00
tcavallari
cca78e0601
Null Pointer check in vizimpl.cpp
...
Should fix #4191 (http://code.opencv.org/issues/4191 )
2015-04-21 10:08:17 +02:00
Anatoly Baksheev
cb95d1df35
viz: fixed memory leak
2014-10-18 18:17:42 +04:00
Roman Donchenko
a3bde36c84
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
modules/calib3d/include/opencv2/calib3d/calib3d.hpp
modules/contrib/doc/facerec/facerec_api.rst
modules/contrib/include/opencv2/contrib/contrib.hpp
modules/contrib/src/facerec.cpp
modules/core/include/opencv2/core/mat.hpp
modules/features2d/include/opencv2/features2d/features2d.hpp
modules/highgui/src/loadsave.cpp
modules/imgproc/src/pyramids.cpp
modules/ocl/include/opencv2/ocl/cl_runtime/cl_runtime.hpp
modules/python/src2/gen.py
modules/python/test/test.py
modules/superres/test/test_superres.cpp
samples/cpp/facerec_demo.cpp
2014-07-08 14:33:56 +04:00
Jasper
f45da9866a
Fix for VTK6.2 issue.
2014-06-24 11:52:56 +01:00
Roman Donchenko
799d2dabd6
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
modules/core/test/test_arithm.cpp
modules/cuda/src/cascadeclassifier.cpp
modules/imgproc/doc/geometric_transformations.rst
modules/objdetect/src/hog.cpp
modules/ocl/perf/perf_imgproc.cpp
modules/ocl/src/gftt.cpp
modules/ocl/src/moments.cpp
2014-04-14 16:08:02 +04:00
Anatoly Baksheev
3f95818252
Added cloud shading support - additional normals array is used
2014-04-08 20:31:28 +04:00
Roman Donchenko
40a740ff88
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
modules/imgproc/src/opencl/precornerdetect.cl
modules/nonfree/perf/perf_main.cpp
modules/nonfree/perf/perf_surf.ocl.cpp
modules/ocl/src/arithm.cpp
modules/ocl/src/gftt.cpp
modules/ocl/src/opencl/arithm_bitwise.cl
modules/ocl/src/opencl/arithm_bitwise_binary_scalar_mask.cl
modules/ocl/src/opencl/arithm_minMax.cl
modules/ocl/src/opencl/arithm_nonzero.cl
modules/ocl/src/opencl/arithm_sum.cl
modules/ocl/test/test_arithm.cpp
modules/viz/src/precomp.hpp
modules/viz/src/vizcore.cpp
modules/viz/src/vtk/vtkCloudMatSink.h
modules/viz/src/vtk/vtkXYZReader.cpp
modules/viz/src/vtk/vtkXYZReader.h
modules/viz/test/test_precomp.hpp
2014-03-17 14:14:07 +04:00
Anatoly Baksheev
24d8cbf940
Viz::setViewerPose() - changed up-vector to down (common for Computer Vision & Odometry)
2014-03-16 20:07:05 +04:00
Anatoly Baksheev
fde0185a77
iteractor work
2014-03-06 03:26:21 +04:00
Anatoly Baksheev
fb7e74c511
iteractor work
2014-03-02 23:15:53 +04:00
Anatoly Baksheev
03bd82796d
source compatibility with master
2014-02-15 23:40:09 +04:00
Anatoly Baksheev
56754e907d
fixed crash for windows if console widow is closed or CTRL_C/CTRL_BRAK keys in console are pressed.
2014-02-15 20:08:04 +04:00
Anatoly Baksheev
1a5dfe421d
Added WidgetMerger, Polyline - colors support for each point independently, simple widgets now compute color array instead of setting global color
2014-02-15 17:02:17 +04:00
Anatoly Baksheev
f1c062c30a
cloud collection finalize
2014-02-10 15:45:46 +04:00
Anatoly Baksheev
5dc17f5d58
Fixed all OpenGL issues for Macos (via objective-C++ layer)
2014-02-10 15:45:46 +04:00
Anatoly Baksheev
069dd8a068
default meshlab background
2014-02-10 15:45:45 +04:00
Anatoly Baksheev
f8ccc115ef
proper render call order (fixes some issues with VTK6.1)
2014-02-10 15:45:45 +04:00
Anatoly Baksheev
17fea0dd0a
fixed size_t/int conversion warnings
2014-02-10 15:45:45 +04:00
Anatoly Baksheev
998aefd1d1
cloud collection merges data only on rendering
2014-02-10 15:45:44 +04:00
Anatoly Baksheev
eb8728d727
Updated cloud io functionality - removed dependency from VTK legacy
2014-02-10 15:45:44 +04:00
Anatoly Baksheev
1f5007f106
modified viz module header layout for 2.4 compatibility
2014-02-02 16:23:34 +04:00
Anatoly Baksheev
3dc2dbc17e
VTK off by default
2014-01-26 14:48:29 +04:00
Anatoly Baksheev
02ebc4368c
Viz initial backport, compilation fixes, moved viz/viz.hpp header according to 2.4 style
2014-01-20 22:51:33 +04:00
Anatoly Baksheev
ac035b9b8e
review comments
2014-01-20 15:22:58 +04:00
Anatoly Baksheev
4cc8f7012b
closing window
2014-01-19 18:39:01 +04:00
Anatoly Baksheev
4e18007066
fixed white spaces
2014-01-19 18:39:01 +04:00
Anatoly Baksheev
8f15a8abdb
disabled Ubuntu workaround code for Windows
2014-01-19 18:39:00 +04:00
Anatoly Baksheev
0d12fb0346
implemented workaround of a problem with x-server for ubuntu
2014-01-19 18:39:00 +04:00
Anatoly Baksheev
7410593d55
fixed warnigns and compiler errors for Ubuntu
2014-01-19 18:39:00 +04:00
Anatoly Baksheev
d7ca0bb757
merged background color with background gradient methods, updated tests to show description of scene
2014-01-19 18:38:59 +04:00
Anatoly Baksheev
16281027af
resolved problem with multiple spin()/spinOnce()
2014-01-19 18:38:59 +04:00
Anatoly Baksheev
57d5ad5131
minor iteractor refactoring
2014-01-19 18:38:59 +04:00
Anatoly Baksheev
ffad7b699c
added test for textured mesh
2014-01-19 18:38:59 +04:00
Anatoly Baksheev
8d327fa497
updated for compatibility with VTK6.0
2014-01-19 18:38:58 +04:00
Anatoly Baksheev
e472d45d99
updated mesh reading (texture support)
2014-01-19 18:38:58 +04:00
Anatoly Baksheev
625c35a9f9
added support of texture for mesh
2014-01-19 18:38:58 +04:00
Anatoly Baksheev
74206e0159
added painted cloud widget
2014-01-19 18:38:57 +04:00
Anatoly Baksheev
3086095837
improved background gradient
2014-01-19 18:38:57 +04:00
Anatoly Baksheev
d7c30281a5
set background texture method
2014-01-19 18:38:57 +04:00
Anatoly Baksheev
e2ef558c8a
refactored WGrid
2014-01-19 18:38:56 +04:00
Anatoly Baksheev
658f4a7d38
refactoed plane
2014-01-19 18:38:56 +04:00
Anatoly Baksheev
53b8218652
addeed test for text 2d/3d
2014-01-19 18:38:56 +04:00
Anatoly Baksheev
bb891f0570
added cone implementation
2014-01-19 18:38:56 +04:00