Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
David Cazier
CGoGN
Commits
54ec8819
Commit
54ec8819
authored
Nov 27, 2012
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of cgogn:CGoGN
parents
d5fb4a51
2cb5349c
Changes
322
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
322 changed files
with
26875 additions
and
3014 deletions
+26875
-3014
Apps/Examples/clipping.cpp
Apps/Examples/clipping.cpp
+1
-0
Apps/Examples/concave_rendering.cpp
Apps/Examples/concave_rendering.cpp
+1
-0
Apps/Examples/extrusionView.cpp
Apps/Examples/extrusionView.cpp
+1
-0
Apps/Examples/mcmesh.h
Apps/Examples/mcmesh.h
+1
-0
Apps/Examples/texturesExample.cpp
Apps/Examples/texturesExample.cpp
+1
-0
Apps/Examples/viewer.h
Apps/Examples/viewer.h
+1
-1
Apps/Tuto/tuto1.cpp
Apps/Tuto/tuto1.cpp
+4
-4
Apps/Tuto/tuto2.h
Apps/Tuto/tuto2.h
+1
-0
Apps/Tuto/tuto5.h
Apps/Tuto/tuto5.h
+1
-1
Apps/Tuto/tuto_histo.h
Apps/Tuto/tuto_histo.h
+1
-1
Apps/Tuto/tuto_mt.h
Apps/Tuto/tuto_mt.h
+1
-0
Apps/Tuto/tuto_oper3.cpp
Apps/Tuto/tuto_oper3.cpp
+4
-0
Apps/deprecated/tp_master.cpp
Apps/deprecated/tp_master.cpp
+1
-1
Apps/deprecated/tutoriel.cpp
Apps/deprecated/tutoriel.cpp
+9
-0
CMakeLists.txt
CMakeLists.txt
+1
-0
SCHNApps/CMakeLists.txt
SCHNApps/CMakeLists.txt
+43
-0
SCHNApps/Debug/CMakeLists.txt
SCHNApps/Debug/CMakeLists.txt
+77
-0
SCHNApps/Plugins/CMakeLists.txt
SCHNApps/Plugins/CMakeLists.txt
+3
-0
SCHNApps/Plugins/firstPlugin/CMakeLists.txt
SCHNApps/Plugins/firstPlugin/CMakeLists.txt
+67
-0
SCHNApps/Plugins/firstPlugin/include/firstPlugin.h
SCHNApps/Plugins/firstPlugin/include/firstPlugin.h
+119
-0
SCHNApps/Plugins/firstPlugin/src/firstPlugin.cpp
SCHNApps/Plugins/firstPlugin/src/firstPlugin.cpp
+74
-0
SCHNApps/Plugins/import/include/importMap.h
SCHNApps/Plugins/import/include/importMap.h
+70
-0
SCHNApps/Plugins/import/src/importMap.cpp
SCHNApps/Plugins/import/src/importMap.cpp
+94
-0
SCHNApps/Plugins/visuSurface/include/simpleVisu.h
SCHNApps/Plugins/visuSurface/include/simpleVisu.h
+156
-0
SCHNApps/Plugins/visuSurface/src/simpleVisu.cpp
SCHNApps/Plugins/visuSurface/src/simpleVisu.cpp
+443
-0
SCHNApps/Release/CMakeLists.txt
SCHNApps/Release/CMakeLists.txt
+79
-0
SCHNApps/build/.gitignore
SCHNApps/build/.gitignore
+0
-0
SCHNApps/doc/Doxyfile.in
SCHNApps/doc/Doxyfile.in
+1716
-0
SCHNApps/doc/LaTeX/images/callBacks.png
SCHNApps/doc/LaTeX/images/callBacks.png
+0
-0
SCHNApps/doc/LaTeX/images/callBacks.svg
SCHNApps/doc/LaTeX/images/callBacks.svg
+507
-0
SCHNApps/doc/LaTeX/images/plugins.png
SCHNApps/doc/LaTeX/images/plugins.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot1.png
SCHNApps/doc/LaTeX/images/screenshot1.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot10.png
SCHNApps/doc/LaTeX/images/screenshot10.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot11.png
SCHNApps/doc/LaTeX/images/screenshot11.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot12.png
SCHNApps/doc/LaTeX/images/screenshot12.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot13.png
SCHNApps/doc/LaTeX/images/screenshot13.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot14.png
SCHNApps/doc/LaTeX/images/screenshot14.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot15.png
SCHNApps/doc/LaTeX/images/screenshot15.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot16.png
SCHNApps/doc/LaTeX/images/screenshot16.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot17.png
SCHNApps/doc/LaTeX/images/screenshot17.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot18.png
SCHNApps/doc/LaTeX/images/screenshot18.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot19.png
SCHNApps/doc/LaTeX/images/screenshot19.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot2.png
SCHNApps/doc/LaTeX/images/screenshot2.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot20.png
SCHNApps/doc/LaTeX/images/screenshot20.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot21.png
SCHNApps/doc/LaTeX/images/screenshot21.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot22.png
SCHNApps/doc/LaTeX/images/screenshot22.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot23.png
SCHNApps/doc/LaTeX/images/screenshot23.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot24.png
SCHNApps/doc/LaTeX/images/screenshot24.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot25.png
SCHNApps/doc/LaTeX/images/screenshot25.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot26.png
SCHNApps/doc/LaTeX/images/screenshot26.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot28.png
SCHNApps/doc/LaTeX/images/screenshot28.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot3.png
SCHNApps/doc/LaTeX/images/screenshot3.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot4.png
SCHNApps/doc/LaTeX/images/screenshot4.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot5.png
SCHNApps/doc/LaTeX/images/screenshot5.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot6.png
SCHNApps/doc/LaTeX/images/screenshot6.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot7.png
SCHNApps/doc/LaTeX/images/screenshot7.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot8.png
SCHNApps/doc/LaTeX/images/screenshot8.png
+0
-0
SCHNApps/doc/LaTeX/images/screenshot9.png
SCHNApps/doc/LaTeX/images/screenshot9.png
+0
-0
SCHNApps/doc/LaTeX/images/systemMap1.png
SCHNApps/doc/LaTeX/images/systemMap1.png
+0
-0
SCHNApps/doc/LaTeX/images/systemMap2.png
SCHNApps/doc/LaTeX/images/systemMap2.png
+0
-0
SCHNApps/doc/LaTeX/overview.aux
SCHNApps/doc/LaTeX/overview.aux
+119
-0
SCHNApps/doc/LaTeX/overview.fdb_latexmk
SCHNApps/doc/LaTeX/overview.fdb_latexmk
+96
-0
SCHNApps/doc/LaTeX/overview.log
SCHNApps/doc/LaTeX/overview.log
+959
-0
SCHNApps/doc/LaTeX/overview.out
SCHNApps/doc/LaTeX/overview.out
+26
-0
SCHNApps/doc/LaTeX/overview.pdf
SCHNApps/doc/LaTeX/overview.pdf
+0
-0
SCHNApps/doc/LaTeX/overview.synctex.gz
SCHNApps/doc/LaTeX/overview.synctex.gz
+0
-0
SCHNApps/doc/LaTeX/overview.tex
SCHNApps/doc/LaTeX/overview.tex
+1489
-0
SCHNApps/doc/LaTeX/overview.toc
SCHNApps/doc/LaTeX/overview.toc
+56
-0
SCHNApps/doc/Video/cameraQuickPathDemo.webm
SCHNApps/doc/Video/cameraQuickPathDemo.webm
+0
-0
SCHNApps/forms/cameraOptionDialog.ui
SCHNApps/forms/cameraOptionDialog.ui
+174
-0
SCHNApps/forms/cameraSceneDialog.ui
SCHNApps/forms/cameraSceneDialog.ui
+136
-0
SCHNApps/forms/cameraViewDialog.ui
SCHNApps/forms/cameraViewDialog.ui
+137
-0
SCHNApps/forms/globalCameraDialog.ui
SCHNApps/forms/globalCameraDialog.ui
+99
-0
SCHNApps/forms/infoDialog.ui
SCHNApps/forms/infoDialog.ui
+67
-0
SCHNApps/forms/linkViewDialog.ui
SCHNApps/forms/linkViewDialog.ui
+94
-0
SCHNApps/forms/mapPluginDialog.ui
SCHNApps/forms/mapPluginDialog.ui
+111
-0
SCHNApps/forms/newSceneDialog.ui
SCHNApps/forms/newSceneDialog.ui
+134
-0
SCHNApps/forms/pluginDialog.ui
SCHNApps/forms/pluginDialog.ui
+164
-0
SCHNApps/forms/questionSessionDialog.ui
SCHNApps/forms/questionSessionDialog.ui
+77
-0
SCHNApps/forms/window.ui
SCHNApps/forms/window.ui
+157
-0
SCHNApps/include/camera.h
SCHNApps/include/camera.h
+65
-0
SCHNApps/include/cameraOptionDialog.h
SCHNApps/include/cameraOptionDialog.h
+26
-0
SCHNApps/include/cameraSceneDialog.h
SCHNApps/include/cameraSceneDialog.h
+51
-0
SCHNApps/include/cameraViewDialog.h
SCHNApps/include/cameraViewDialog.h
+31
-0
SCHNApps/include/context.h
SCHNApps/include/context.h
+16
-0
SCHNApps/include/globalCameraDialog.h
SCHNApps/include/globalCameraDialog.h
+93
-0
SCHNApps/include/linkViewDialog.h
SCHNApps/include/linkViewDialog.h
+32
-0
SCHNApps/include/mapHandler.h
SCHNApps/include/mapHandler.h
+47
-0
SCHNApps/include/mapPluginDialog.h
SCHNApps/include/mapPluginDialog.h
+32
-0
SCHNApps/include/newSceneDialog.h
SCHNApps/include/newSceneDialog.h
+37
-0
SCHNApps/include/plugin.h
SCHNApps/include/plugin.h
+177
-0
SCHNApps/include/pluginDialog.h
SCHNApps/include/pluginDialog.h
+56
-0
SCHNApps/include/renderContainer.h
SCHNApps/include/renderContainer.h
+72
-0
SCHNApps/include/scene.h
SCHNApps/include/scene.h
+101
-0
SCHNApps/include/sceneSelector.h
SCHNApps/include/sceneSelector.h
+124
-0
SCHNApps/include/simplePlugin.h
SCHNApps/include/simplePlugin.h
+74
-0
SCHNApps/include/splitArea.h
SCHNApps/include/splitArea.h
+37
-0
SCHNApps/include/stateHandler.h
SCHNApps/include/stateHandler.h
+9
-0
SCHNApps/include/system.h
SCHNApps/include/system.h
+131
-0
SCHNApps/include/types.h
SCHNApps/include/types.h
+47
-0
SCHNApps/include/vboHandler.h
SCHNApps/include/vboHandler.h
+33
-0
SCHNApps/include/view.h
SCHNApps/include/view.h
+134
-0
SCHNApps/include/viewButtonArea.h
SCHNApps/include/viewButtonArea.h
+78
-0
SCHNApps/include/visualPlugin.h
SCHNApps/include/visualPlugin.h
+94
-0
SCHNApps/include/window.h
SCHNApps/include/window.h
+424
-0
SCHNApps/resources/cgogn/ESA_logo.svg
SCHNApps/resources/cgogn/ESA_logo.svg
+16
-0
SCHNApps/resources/cgogn/cgogn.svg
SCHNApps/resources/cgogn/cgogn.svg
+696
-0
SCHNApps/resources/cgogn/cgogn2.png
SCHNApps/resources/cgogn/cgogn2.png
+0
-0
SCHNApps/resources/cgogn/cgogn2.svg
SCHNApps/resources/cgogn/cgogn2.svg
+771
-0
SCHNApps/resources/cgogn/icube.png
SCHNApps/resources/cgogn/icube.png
+0
-0
SCHNApps/resources/cgogn/igg.png
SCHNApps/resources/cgogn/igg.png
+0
-0
SCHNApps/resources/cgogn/splash.png
SCHNApps/resources/cgogn/splash.png
+0
-0
SCHNApps/resources/cgogn/uds.svg
SCHNApps/resources/cgogn/uds.svg
+30
-0
SCHNApps/resources/icons/add_view.png
SCHNApps/resources/icons/add_view.png
+0
-0
SCHNApps/resources/icons/add_view.svg
SCHNApps/resources/icons/add_view.svg
+270
-0
SCHNApps/resources/icons/broken_link.png
SCHNApps/resources/icons/broken_link.png
+0
-0
SCHNApps/resources/icons/broken_link.svg
SCHNApps/resources/icons/broken_link.svg
+108
-0
SCHNApps/resources/icons/camera.png
SCHNApps/resources/icons/camera.png
+0
-0
SCHNApps/resources/icons/camera.svg
SCHNApps/resources/icons/camera.svg
+86
-0
SCHNApps/resources/icons/camera_b.png
SCHNApps/resources/icons/camera_b.png
+0
-0
SCHNApps/resources/icons/camera_b.svg
SCHNApps/resources/icons/camera_b.svg
+336
-0
SCHNApps/resources/icons/check.png
SCHNApps/resources/icons/check.png
+0
-0
SCHNApps/resources/icons/check.svg
SCHNApps/resources/icons/check.svg
+104
-0
SCHNApps/resources/icons/close.png
SCHNApps/resources/icons/close.png
+0
-0
SCHNApps/resources/icons/close.svg
SCHNApps/resources/icons/close.svg
+86
-0
SCHNApps/resources/icons/give.png
SCHNApps/resources/icons/give.png
+0
-0
SCHNApps/resources/icons/give.svg
SCHNApps/resources/icons/give.svg
+109
-0
SCHNApps/resources/icons/link.png
SCHNApps/resources/icons/link.png
+0
-0
SCHNApps/resources/icons/link.svg
SCHNApps/resources/icons/link.svg
+97
-0
SCHNApps/resources/icons/map_plugin.png
SCHNApps/resources/icons/map_plugin.png
+0
-0
SCHNApps/resources/icons/map_plugin.svg
SCHNApps/resources/icons/map_plugin.svg
+327
-0
SCHNApps/resources/icons/plugins.png
SCHNApps/resources/icons/plugins.png
+0
-0
SCHNApps/resources/icons/plugins.svg
SCHNApps/resources/icons/plugins.svg
+301
-0
SCHNApps/resources/icons/separate_camera.png
SCHNApps/resources/icons/separate_camera.png
+0
-0
SCHNApps/resources/icons/separate_camera.svg
SCHNApps/resources/icons/separate_camera.svg
+86
-0
SCHNApps/resources/icons/share.png
SCHNApps/resources/icons/share.png
+0
-0
SCHNApps/resources/icons/share.svg
SCHNApps/resources/icons/share.svg
+113
-0
SCHNApps/resources/resources.qrc
SCHNApps/resources/resources.qrc
+20
-0
SCHNApps/settings/plugin_path.xml
SCHNApps/settings/plugin_path.xml
+11
-0
SCHNApps/settings/state_save.xml
SCHNApps/settings/state_save.xml
+9
-0
SCHNApps/src/camera.cpp
SCHNApps/src/camera.cpp
+96
-0
SCHNApps/src/cameraOptionDialog.cpp
SCHNApps/src/cameraOptionDialog.cpp
+63
-0
SCHNApps/src/cameraSceneDialog.cpp
SCHNApps/src/cameraSceneDialog.cpp
+243
-0
SCHNApps/src/cameraViewDialog.cpp
SCHNApps/src/cameraViewDialog.cpp
+99
-0
SCHNApps/src/context.cpp
SCHNApps/src/context.cpp
+9
-0
SCHNApps/src/globalCameraDialog.cpp
SCHNApps/src/globalCameraDialog.cpp
+333
-0
SCHNApps/src/linkViewDialog.cpp
SCHNApps/src/linkViewDialog.cpp
+202
-0
SCHNApps/src/main.cpp
SCHNApps/src/main.cpp
+27
-0
SCHNApps/src/mapHandler.cpp
SCHNApps/src/mapHandler.cpp
+106
-0
SCHNApps/src/mapPluginDialog.cpp
SCHNApps/src/mapPluginDialog.cpp
+120
-0
SCHNApps/src/newSceneDialog.cpp
SCHNApps/src/newSceneDialog.cpp
+234
-0
SCHNApps/src/pluginDialog.cpp
SCHNApps/src/pluginDialog.cpp
+438
-0
SCHNApps/src/renderContainer.cpp
SCHNApps/src/renderContainer.cpp
+212
-0
SCHNApps/src/scene.cpp
SCHNApps/src/scene.cpp
+423
-0
SCHNApps/src/sceneSelector.cpp
SCHNApps/src/sceneSelector.cpp
+511
-0
SCHNApps/src/simplePlugin.cpp
SCHNApps/src/simplePlugin.cpp
+92
-0
SCHNApps/src/splitArea.cpp
SCHNApps/src/splitArea.cpp
+176
-0
SCHNApps/src/stateHandler.cpp
SCHNApps/src/stateHandler.cpp
+933
-0
SCHNApps/src/system.cpp
SCHNApps/src/system.cpp
+461
-0
SCHNApps/src/vboHandler.cpp
SCHNApps/src/vboHandler.cpp
+30
-0
SCHNApps/src/view.cpp
SCHNApps/src/view.cpp
+537
-0
SCHNApps/src/viewButtonArea.cpp
SCHNApps/src/viewButtonArea.cpp
+123
-0
SCHNApps/src/visualPlugin.cpp
SCHNApps/src/visualPlugin.cpp
+356
-0
SCHNApps/src/window.cpp
SCHNApps/src/window.cpp
+826
-0
ThirdParty/CMakeLists.txt
ThirdParty/CMakeLists.txt
+1
-0
apps_cmake.txt
apps_cmake.txt
+2
-13
cmake_modules/FindQGLViewer.cmake
cmake_modules/FindQGLViewer.cmake
+61
-0
include/Algo/BooleanOperator/mergeVertices.h
include/Algo/BooleanOperator/mergeVertices.h
+3
-0
include/Algo/BooleanOperator/mergeVertices.hpp
include/Algo/BooleanOperator/mergeVertices.hpp
+33
-18
include/Algo/Decimation/decimation.h
include/Algo/Decimation/decimation.h
+1
-1
include/Algo/Decimation/edgeSelector.h
include/Algo/Decimation/edgeSelector.h
+5
-5
include/Algo/Decimation/edgeSelector.hpp
include/Algo/Decimation/edgeSelector.hpp
+77
-20
include/Algo/Decimation/geometryApproximator.hpp
include/Algo/Decimation/geometryApproximator.hpp
+6
-6
include/Algo/Decimation/halfEdgeSelector.hpp
include/Algo/Decimation/halfEdgeSelector.hpp
+0
-3
include/Algo/Decimation/lightfieldApproximator.hpp
include/Algo/Decimation/lightfieldApproximator.hpp
+9
-6
include/Algo/Decimation/simplifMesh.hpp
include/Algo/Decimation/simplifMesh.hpp
+2
-2
include/Algo/DecimationVolumes/approximator.h
include/Algo/DecimationVolumes/approximator.h
+11
-37
include/Algo/DecimationVolumes/decimator.hpp
include/Algo/DecimationVolumes/decimator.hpp
+25
-26
include/Algo/DecimationVolumes/edgeSelector.h
include/Algo/DecimationVolumes/edgeSelector.h
+131
-46
include/Algo/DecimationVolumes/edgeSelector.hpp
include/Algo/DecimationVolumes/edgeSelector.hpp
+133
-118
include/Algo/DecimationVolumes/geometryApproximator.h
include/Algo/DecimationVolumes/geometryApproximator.h
+5
-10
include/Algo/DecimationVolumes/geometryApproximator.hpp
include/Algo/DecimationVolumes/geometryApproximator.hpp
+10
-61
include/Algo/DecimationVolumes/operator.hpp
include/Algo/DecimationVolumes/operator.hpp
+6
-6
include/Algo/DecimationVolumes/selector.h
include/Algo/DecimationVolumes/selector.h
+9
-56
include/Algo/Geometry/curvature.h
include/Algo/Geometry/curvature.h
+3
-0
include/Algo/Geometry/curvature.hpp
include/Algo/Geometry/curvature.hpp
+32
-34
include/Algo/Histogram/histogram.h
include/Algo/Histogram/histogram.h
+1
-1
include/Algo/ImplicitHierarchicalMesh/ihm.hpp
include/Algo/ImplicitHierarchicalMesh/ihm.hpp
+3
-3
include/Algo/ImplicitHierarchicalMesh/ihm3.hpp
include/Algo/ImplicitHierarchicalMesh/ihm3.hpp
+1
-1
include/Algo/ImplicitHierarchicalMesh/subdivision3.hpp
include/Algo/ImplicitHierarchicalMesh/subdivision3.hpp
+2
-2
include/Algo/Import/import2tablesSurface.hpp
include/Algo/Import/import2tablesSurface.hpp
+25
-14
include/Algo/Import/importMRDAT.h
include/Algo/Import/importMRDAT.h
+2
-2
include/Algo/Import/importMesh.hpp
include/Algo/Import/importMesh.hpp
+3
-3
include/Algo/Import/importMoka.hpp
include/Algo/Import/importMoka.hpp
+1
-1
include/Algo/Import/importSvg.hpp
include/Algo/Import/importSvg.hpp
+21
-25
include/Algo/Modelisation/extrusion.hpp
include/Algo/Modelisation/extrusion.hpp
+2
-2
include/Algo/Modelisation/polyhedron.hpp
include/Algo/Modelisation/polyhedron.hpp
+18
-18
include/Algo/Modelisation/primitives3d.hpp
include/Algo/Modelisation/primitives3d.hpp
+1
-1
include/Algo/Modelisation/subdivision3.h
include/Algo/Modelisation/subdivision3.h
+4
-0
include/Algo/Modelisation/subdivision3.hpp
include/Algo/Modelisation/subdivision3.hpp
+87
-3
include/Algo/Modelisation/tetrahedralization.h
include/Algo/Modelisation/tetrahedralization.h
+76
-50
include/Algo/Modelisation/tetrahedralization.hpp
include/Algo/Modelisation/tetrahedralization.hpp
+380
-600
include/Algo/MovingObjects/particle_cell_2D.hpp
include/Algo/MovingObjects/particle_cell_2D.hpp
+2
-1
include/Algo/MovingObjects/particle_cell_2D_memo.h
include/Algo/MovingObjects/particle_cell_2D_memo.h
+9
-16
include/Algo/MovingObjects/particle_cell_2D_memo.hpp
include/Algo/MovingObjects/particle_cell_2D_memo.hpp
+43
-34
include/Algo/Multiresolution/Map2MR/Filters/Dual/catmullClark.h
...e/Algo/Multiresolution/Map2MR/Filters/Dual/catmullClark.h
+137
-0
include/Algo/Multiresolution/Map2MR/Filters/bertram.h
include/Algo/Multiresolution/Map2MR/Filters/bertram.h
+659
-0
include/Algo/Multiresolution/Map2MR/Filters/catmullClark.h
include/Algo/Multiresolution/Map2MR/Filters/catmullClark.h
+455
-0
include/Algo/Multiresolution/Map2MR/Filters/lerp.h
include/Algo/Multiresolution/Map2MR/Filters/lerp.h
+0
-8
include/Algo/Multiresolution/Map2MR/Filters/sqrt2.h
include/Algo/Multiresolution/Map2MR/Filters/sqrt2.h
+97
-0
include/Algo/Multiresolution/Map2MR/Filters/sqrt3.h
include/Algo/Multiresolution/Map2MR/Filters/sqrt3.h
+337
-0
include/Algo/Multiresolution/Map2MR/Masks/lerp.h
include/Algo/Multiresolution/Map2MR/Masks/lerp.h
+2
-1
include/Algo/Multiresolution/Map2MR/Masks/sqrt3.h
include/Algo/Multiresolution/Map2MR/Masks/sqrt3.h
+168
-0
include/Algo/Multiresolution/Map2MR/lerpAttributes.h
include/Algo/Multiresolution/Map2MR/lerpAttributes.h
+245
-0
include/Algo/Multiresolution/Map2MR/map2MR_DualRegular.h
include/Algo/Multiresolution/Map2MR/map2MR_DualRegular.h
+92
-0
include/Algo/Multiresolution/Map2MR/map2MR_DualRegular.hpp
include/Algo/Multiresolution/Map2MR/map2MR_DualRegular.hpp
+154
-0
include/Algo/Multiresolution/Map2MR/map2MR_PM.h
include/Algo/Multiresolution/Map2MR/map2MR_PM.h
+22
-1
include/Algo/Multiresolution/Map2MR/map2MR_PM.hpp
include/Algo/Multiresolution/Map2MR/map2MR_PM.hpp
+41
-59
include/Algo/Multiresolution/Map2MR/map2MR_PrimalAdapt.h
include/Algo/Multiresolution/Map2MR/map2MR_PrimalAdapt.h
+10
-0
include/Algo/Multiresolution/Map2MR/map2MR_PrimalAdapt.hpp
include/Algo/Multiresolution/Map2MR/map2MR_PrimalAdapt.hpp
+93
-2
include/Algo/Multiresolution/Map2MR/map2MR_PrimalRegular.h
include/Algo/Multiresolution/Map2MR/map2MR_PrimalRegular.h
+9
-4
include/Algo/Multiresolution/Map2MR/map2MR_PrimalRegular.hpp
include/Algo/Multiresolution/Map2MR/map2MR_PrimalRegular.hpp
+84
-22
include/Algo/Multiresolution/Map3MR/Filters/bertram.h
include/Algo/Multiresolution/Map3MR/Filters/bertram.h
+519
-114
include/Algo/Multiresolution/Map3MR/Filters/lerp.h
include/Algo/Multiresolution/Map3MR/Filters/lerp.h
+34
-5
include/Algo/Multiresolution/Map3MR/Filters/mcCrackenJoy.h
include/Algo/Multiresolution/Map3MR/Filters/mcCrackenJoy.h
+349
-0
include/Algo/Multiresolution/Map3MR/Filters/schaefer.h
include/Algo/Multiresolution/Map3MR/Filters/schaefer.h
+0
-0
include/Algo/Multiresolution/Map3MR/Masks/lerp.h
include/Algo/Multiresolution/Map3MR/Masks/lerp.h
+159
-0
include/Algo/Multiresolution/Map3MR/Masks/mcCrackenJoy.h
include/Algo/Multiresolution/Map3MR/Masks/mcCrackenJoy.h
+184
-201
include/Algo/Multiresolution/Map3MR/Masks/schaefer.h
include/Algo/Multiresolution/Map3MR/Masks/schaefer.h
+318
-0
include/Algo/Multiresolution/Map3MR/Masks/schemes_Primal.h
include/Algo/Multiresolution/Map3MR/Masks/schemes_Primal.h
+0
-127
include/Algo/Multiresolution/Map3MR/map3MR_PrimalAdapt.h
include/Algo/Multiresolution/Map3MR/map3MR_PrimalAdapt.h
+49
-56
include/Algo/Multiresolution/Map3MR/map3MR_PrimalAdapt.hpp
include/Algo/Multiresolution/Map3MR/map3MR_PrimalAdapt.hpp
+240
-103
include/Algo/Multiresolution/Map3MR/map3MR_PrimalRegular.h
include/Algo/Multiresolution/Map3MR/map3MR_PrimalRegular.h
+2
-0
include/Algo/Multiresolution/Map3MR/map3MR_PrimalRegular.hpp
include/Algo/Multiresolution/Map3MR/map3MR_PrimalRegular.hpp
+96
-79
include/Algo/Multiresolution/filter.h
include/Algo/Multiresolution/filter.h
+56
-0
include/Algo/ProgressiveMesh/pmesh.h
include/Algo/ProgressiveMesh/pmesh.h
+1
-1
include/Algo/ProgressiveMesh/pmesh.hpp
include/Algo/ProgressiveMesh/pmesh.hpp
+13
-13
include/Algo/Render/GL2/colorPerFaceRender.h
include/Algo/Render/GL2/colorPerFaceRender.h
+1
-2
include/Algo/Render/GL2/explodeVolumeRender.h
include/Algo/Render/GL2/explodeVolumeRender.h
+1
-3
include/Algo/Render/GL2/mapRender.h
include/Algo/Render/GL2/mapRender.h
+1
-2
include/Algo/Render/GL2/mapRender.hpp
include/Algo/Render/GL2/mapRender.hpp
+1
-1
include/Algo/Render/GL2/topo3Render.h
include/Algo/Render/GL2/topo3Render.h
+1
-3
include/Algo/Render/GL2/topoRender.h
include/Algo/Render/GL2/topoRender.h
+1
-3
include/Algo/Selection/raySelector.hpp
include/Algo/Selection/raySelector.hpp
+0
-14
include/Algo/VolumetricProgressiveMesh/vpmesh.hpp
include/Algo/VolumetricProgressiveMesh/vpmesh.hpp
+12
-12
include/Geometry/orientation.h
include/Geometry/orientation.h
+64
-29
include/Geometry/orientation.hpp
include/Geometry/orientation.hpp
+68
-21
include/Geometry/vector_gen.h
include/Geometry/vector_gen.h
+1
-0
include/Topology/generic/attribmap.hpp
include/Topology/generic/attribmap.hpp
+1
-1
include/Topology/generic/attributeHandler.hpp
include/Topology/generic/attributeHandler.hpp
+2
-2
include/Topology/generic/cellmarker.h
include/Topology/generic/cellmarker.h
+54
-9
include/Topology/generic/dartmarker.h
include/Topology/generic/dartmarker.h
+0
-1
include/Topology/generic/ecell.hpp
include/Topology/generic/ecell.hpp
+1
-1
include/Topology/generic/functor.h
include/Topology/generic/functor.h
+45
-17
include/Topology/generic/genericFunc.h
include/Topology/generic/genericFunc.h
+1
-1
include/Topology/generic/genericFunc.hpp
include/Topology/generic/genericFunc.hpp
+1
-1
include/Topology/generic/genericmap.h
include/Topology/generic/genericmap.h
+35
-19
include/Topology/generic/genericmap.hpp
include/Topology/generic/genericmap.hpp
+71
-36
include/Topology/generic/traversor1.h
include/Topology/generic/traversor1.h
+1
-4
include/Topology/generic/traversor2.h
include/Topology/generic/traversor2.h
+1
-4
include/Topology/generic/traversor3.h
include/Topology/generic/traversor3.h
+2
-16
include/Topology/generic/traversor3.hpp
include/Topology/generic/traversor3.hpp
+29
-1
include/Topology/generic/traversorCell.h
include/Topology/generic/traversorCell.h
+0
-1
include/Topology/generic/traversorCell.hpp
include/Topology/generic/traversorCell.hpp
+18
-47
include/Topology/generic/traversorDoO.h
include/Topology/generic/traversorDoO.h
+1
-3
include/Topology/generic/traversorDoO.hpp
include/Topology/generic/traversorDoO.hpp
+0
-2
include/Topology/generic/traversorFactory.h
include/Topology/generic/traversorFactory.h
+1
-3
include/Topology/generic/traversorFactory.hpp
include/Topology/generic/traversorFactory.hpp
+67
-77
include/Topology/generic/traversorGen.h
include/Topology/generic/traversorGen.h
+11
-44
include/Topology/gmap/embeddedGMap2.h
include/Topology/gmap/embeddedGMap2.h
+5
-0
include/Topology/gmap/gmap0.h
include/Topology/gmap/gmap0.h
+1
-1
include/Topology/gmap/gmap0.hpp
include/Topology/gmap/gmap0.hpp
+3
-2
include/Topology/gmap/gmap1.h
include/Topology/gmap/gmap1.h
+1
-1
include/Topology/gmap/gmap1.hpp
include/Topology/gmap/gmap1.hpp
+1
-1
include/Topology/gmap/gmap2.h
include/Topology/gmap/gmap2.h
+1
-1
include/Topology/gmap/gmap2.hpp
include/Topology/gmap/gmap2.hpp
+1
-1
include/Topology/gmap/gmap3.h
include/Topology/gmap/gmap3.h
+1
-1
include/Topology/gmap/gmap3.hpp
include/Topology/gmap/gmap3.hpp
+1
-1
include/Topology/map/embeddedMap2.h
include/Topology/map/embeddedMap2.h
+7
-16
include/Topology/map/map1.h
include/Topology/map/map1.h
+1
-1
include/Topology/map/map1.hpp
include/Topology/map/map1.hpp
+1
-1
include/Topology/map/map2.h
include/Topology/map/map2.h
+9
-18
include/Topology/map/map2.hpp
include/Topology/map/map2.hpp
+1
-1
include/Topology/map/map3.h
include/Topology/map/map3.h
+1
-1
include/Topology/map/map3.hpp
include/Topology/map/map3.hpp
+1
-1
include/Utils/GLSLShader.h
include/Utils/GLSLShader.h
+2
-1
include/Utils/Qt/macgl3.h
include/Utils/Qt/macgl3.h
+25
-0
include/Utils/Qt/qtgl.h
include/Utils/Qt/qtgl.h
+1
-1
include/Utils/drawer.h
include/Utils/drawer.h
+1
-1
include/Utils/fbo.h
include/Utils/fbo.h
+0
-1
include/Utils/frameManipulator.h
include/Utils/frameManipulator.h
+1
-1
include/Utils/pickables.h
include/Utils/pickables.h
+1
-1
include/Utils/qem.h
include/Utils/qem.h
+2
-12
include/Utils/qem.hpp
include/Utils/qem.hpp
+43
-30
include/Utils/textures.h
include/Utils/textures.h
+0
-1
include/Utils/vbo.h
include/Utils/vbo.h
+28
-139
include/Utils/vboRender.h
include/Utils/vboRender.h
+1
-1
include/Utils/vbo_base.h
include/Utils/vbo_base.h
+142
-0
src/Algo/ImplicitHierarchicalMesh/ihm3.cpp
src/Algo/ImplicitHierarchicalMesh/ihm3.cpp
+2
-2
src/Topology/generic/genericmap.cpp
src/Topology/generic/genericmap.cpp
+54
-27
src/Topology/gmap/embeddedGMap2.cpp
src/Topology/gmap/embeddedGMap2.cpp
+88
-19
src/Topology/gmap/embeddedGMap3.cpp
src/Topology/gmap/embeddedGMap3.cpp
+23
-23
src/Topology/map/embeddedMap2.cpp
src/Topology/map/embeddedMap2.cpp
+144
-83
src/Topology/map/embeddedMap3.cpp
src/Topology/map/embeddedMap3.cpp
+57
-73
src/Topology/map/map2.cpp
src/Topology/map/map2.cpp
+20
-19
src/Topology/map/map3.cpp
src/Topology/map/map3.cpp
+8
-85
src/Utils/Qt/qtgl.cpp
src/Utils/Qt/qtgl.cpp
+9
-1
src/Utils/Shaders/shaderColorPerVertex.cpp
src/Utils/Shaders/shaderColorPerVertex.cpp
+0
-1
src/Utils/Shaders/shaderEnvMap.cpp
src/Utils/Shaders/shaderEnvMap.cpp
+0
-1
src/Utils/Shaders/shaderExplodeVolumes.cpp
src/Utils/Shaders/shaderExplodeVolumes.cpp
+0
-1
src/Utils/Shaders/shaderExplodeVolumesLines.cpp
src/Utils/Shaders/shaderExplodeVolumesLines.cpp
+0
-1
src/Utils/Shaders/shaderFlat.cpp
src/Utils/Shaders/shaderFlat.cpp
+0
-1
src/Utils/Shaders/shaderFlatColor.cpp
src/Utils/Shaders/shaderFlatColor.cpp
+0
-1
src/Utils/Shaders/shaderIsoLines.cpp
src/Utils/Shaders/shaderIsoLines.cpp
+0
-1
src/Utils/Shaders/shaderScalarField.cpp
src/Utils/Shaders/shaderScalarField.cpp
+0
-2
src/Utils/Shaders/shaderSimpleColor.cpp
src/Utils/Shaders/shaderSimpleColor.cpp
+0
-1
src/Utils/Shaders/shaderSimpleTexture.cpp
src/Utils/Shaders/shaderSimpleTexture.cpp
+0
-1
src/Utils/Shaders/shaderTextureMask.cpp
src/Utils/Shaders/shaderTextureMask.cpp
+0
-1
src/Utils/Shaders/shaderVectorPerVertex.cpp
src/Utils/Shaders/shaderVectorPerVertex.cpp
+0
-1
src/Utils/drawer.cpp
src/Utils/drawer.cpp
+1
-1
src/Utils/text3d.cpp
src/Utils/text3d.cpp
+2
-1
src/Utils/vbo.cpp
src/Utils/vbo.cpp
+1
-1
No files found.
Apps/Examples/clipping.cpp
View file @
54ec8819
...
...
@@ -23,6 +23,7 @@
*******************************************************************************/
#include "clipping.h"
#include "Utils/vbo.h"
#include "Utils/static_assert.h"
/*******************************************************************************
...
...
Apps/Examples/concave_rendering.cpp
View file @
54ec8819
...
...
@@ -35,6 +35,7 @@
#include "Algo/Render/GL2/mapRender.h"
#include "Utils/Shaders/shaderSimpleColor.h"
#include "Utils/vbo.h"
#include <glm/gtc/type_ptr.hpp>
...
...
Apps/Examples/extrusionView.cpp
View file @
54ec8819
...
...
@@ -40,6 +40,7 @@
#include "Algo/Render/GL2/mapRender.h"
#include "Utils/Shaders/shaderFlat.h"
#include "Utils/Shaders/shaderSimpleColor.h"
#include "Utils/vbo.h"
#include <vector>
...
...
Apps/Examples/mcmesh.h
View file @
54ec8819
...
...
@@ -38,6 +38,7 @@
#include "Algo/Render/GL2/mapRender.h"
#include "Utils/Shaders/shaderFlat.h"
#include "Utils/Shaders/shaderSimpleColor.h"
#include "Utils/vbo.h"
#include "Algo/Geometry/boundingbox.h"
#include "Algo/MC/marchingcube.h"
...
...
Apps/Examples/texturesExample.cpp
View file @
54ec8819
...
...
@@ -25,6 +25,7 @@
#include "texturesExample.h"
#include "Algo/Geometry/boundingbox.h"
#include "Algo/Modelisation/polyhedron.h"
#include "Utils/vbo.h"
TexView
::
TexView
()
:
m_render
(
NULL
),
...
...
Apps/Examples/viewer.h
View file @
54ec8819
...
...
@@ -46,7 +46,7 @@
#include "Utils/Shaders/shaderVectorPerVertex.h"
#include "Utils/pointSprite.h"
#include "Utils/text3d.h"
#include "Utils/vbo
Render
.h"
#include "Utils/vbo.h"
#include "Utils/Qt/qtInputs.h"
...
...
Apps/Tuto/tuto1.cpp
View file @
54ec8819
...
...
@@ -46,6 +46,10 @@ int main(int argc, char **argv)
void
MyQT
::
createMap
()
{
// creation of a new attribute on vertices of type 3D vector for position.
// a handler to this attribute is returned
position
=
myMap
.
addAttribute
<
VEC3
,
VERTEX
>
(
"position"
);
// creation of 2 new faces: 1 triangle and 1 square
Dart
d1
=
myMap
.
newFace
(
3
);
Dart
d2
=
myMap
.
newFace
(
4
);
...
...
@@ -53,10 +57,6 @@ void MyQT::createMap()
// sew these faces along one of their edge
myMap
.
sewFaces
(
d1
,
d2
);
// creation of a new attribute on vertices of type 3D vector for position.
// a handler to this attribute is returned
position
=
myMap
.
addAttribute
<
VEC3
,
VERTEX
>
(
"position"
);
// affect position by moving in the map
position
[
d1
]
=
VEC3
(
0
,
0
,
0
);
position
[
PHI1
(
d1
)]
=
VEC3
(
2
,
0
,
0
);
...
...
Apps/Tuto/tuto2.h
View file @
54ec8819
...
...
@@ -41,6 +41,7 @@
#include "Algo/Render/GL2/mapRender.h"
#include "Utils/Shaders/shaderSimpleColor.h"
#include "Utils/Shaders/shaderColorPerVertex.h"
#include "Utils/vbo.h"
using
namespace
CGoGN
;
...
...
Apps/Tuto/tuto5.h
View file @
54ec8819
...
...
@@ -45,7 +45,7 @@
#include "Topology/generic/cellmarker.h"
#include "Utils/text3d.h"
#include "Utils/vbo.h"
#include "Utils/pointSprite.h"
#include "Utils/Shaders/shaderSimpleColor.h"
#include "Utils/Shaders/shaderVectorPerVertex.h"
...
...
Apps/Tuto/tuto_histo.h
View file @
54ec8819
...
...
@@ -35,7 +35,7 @@
#include "Algo/Render/GL2/mapRender.h"
#include "Utils/Shaders/shaderSimpleColor.h"
#include "Utils/Shaders/shaderColorPerVertex.h"
#include "Utils/vbo.h"
#include "Algo/Histogram/histogram.h"
#include "Utils/Qt/qthistodraw.h"
...
...
Apps/Tuto/tuto_mt.h
View file @
54ec8819
...
...
@@ -37,6 +37,7 @@
#include "Utils/Shaders/shaderSimpleColor.h"
#include "Utils/Shaders/shaderVectorPerVertex.h"
#include "Utils/vbo.h"
#include "Utils/cgognStream.h"
#include "Utils/Qt/qtSimple.h"
...
...
Apps/Tuto/tuto_oper3.cpp
View file @
54ec8819
...
...
@@ -330,6 +330,7 @@ void MyQT::cb_mousePress(int button, int x, int y)
{
if
(
d
!=
Dart
::
nil
())
m_selected
=
d
;
std
::
cout
<<
myMap
.
edgeCanCollapse
(
d
)
<<
std
::
endl
;
}
if
(
button
==
Qt
::
RightButton
)
{
...
...
@@ -650,11 +651,14 @@ void MyQT::importMesh(std::string& filename)
else
{
std
::
cerr
<<
"could not import "
<<
filename
<<
std
::
endl
;
return
;
}
m_selected
=
NIL
;
m_selected2
=
NIL
;
m_render_topo
->
updateData
<
PFP
>
(
myMap
,
position
,
m_ex1
,
m_ex2
,
m_ex3
,
nb
);
bb
=
Algo
::
Geometry
::
computeBoundingBox
<
PFP
>
(
myMap
,
position
)
;
setParamObject
(
bb
.
maxSize
(),
bb
.
center
().
data
())
;
m_shift
=
bb
.
maxSize
()
/
200.0
f
;
...
...
Apps/deprecated/tp_master.cpp
View file @
54ec8819
...
...
@@ -92,7 +92,7 @@ private:
// Assigne un nouveau plongement au sommet. Les anciens plongements sont libérés.
void
newVertex
(
Dart
d
)
{
embed
NewCell
<
VERTEX
>
(
d
);
setOrbitEmbeddingOn
NewCell
<
VERTEX
>
(
d
);
}
public:
...
...
Apps/deprecated/tutoriel.cpp
View file @
54ec8819
...
...
@@ -88,6 +88,15 @@ AttributeHandler<PFP::VEC3> normal;
class
QuadMesh
:
public
EmbeddedMap2
{
private:
// 3 brins de la carte
Dart
d_carre
;
Dart
d_tri
;
Dart
d_multiFaces
;
// Assigne un nouveau plongement au sommet. Les anciens plongements sont libérés.
void
newVertex
(
Dart
d
)
{
setOrbitEmbeddingOnNewCell
(
VERTEX
,
d
);
}
public:
void
createMesh
()
{
...
...
CMakeLists.txt
View file @
54ec8819
...
...
@@ -135,6 +135,7 @@ IF(APPLE)
SET
(
CMAKE_SHARED_LINKER_FLAGS
"
${
CMAKE_SHARED_LINKER_FLAGS
}
-Wl,-undefined -Wl,dynamic_lookup"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-DMAC_OSX"
)
SET
(
CMAKE_OSX_ARCHITECTURES x86_64
)
SET
(
CGoGN_EXT_LIBS
${
CGoGN_EXT_LIBS
}
"-framework Foundation -framework cocoa"
)
ENDIF
(
APPLE
)
IF
(
WIN32
)
...
...
SCHNApps/CMakeLists.txt
0 → 100644
View file @
54ec8819
cmake_minimum_required
(
VERSION 2.8
)
project
(
SCHNApps
)
SET
(
QT_USE_QTOPENGL TRUE
)
SET
(
QT_USE_QTXML TRUE
)
SET
(
QT_USE_QTDESIGNER TRUE
)
SET
(
QT_USE_QTGUI TRUE
)
SET
(
QT_USE_QTPLUGIN TRUE
)
#========CGoGN========#
SET
(
CGoGN_ROOT_DIR
${
CMAKE_SOURCE_DIR
}
/.. CACHE STRING
"CGoGN root dir"
)
INCLUDE
(
${
CGoGN_ROOT_DIR
}
/apps_cmake.txt
)
find_package
(
Qt4 REQUIRED
)
#=======QGLViewer=========#
find_package
(
QGLViewer REQUIRED
)
#======SCHNApps=======#
SET
(
SCHNApps_ROOT_DIR
${
CGoGN_ROOT_DIR
}
/SCHNApps
)
SET
(
EXECUTABLE_OUTPUT_PATH
${
SCHNApps_ROOT_DIR
}
/bin
)
SET
(
LIBRARY_OUTPUT_PATH
${
SCHNApps_ROOT_DIR
}
/Plugins
)
ADD_SUBDIRECTORY
(
${
CMAKE_SOURCE_DIR
}
/Release Release
)
IF
(
NOT WIN32
)
ADD_SUBDIRECTORY
(
${
CMAKE_SOURCE_DIR
}
/Debug Debug
)
ENDIF
(
NOT WIN32
)
configure_file
(
${
CMAKE_SOURCE_DIR
}
/settings/state_save.xml
${
EXECUTABLE_OUTPUT_PATH
}
/state_save.xml @ONLY
)
#======Documentation=======#
find_package
(
Doxygen
)
if
(
DOXYGEN_FOUND
)
configure_file
(
${
CMAKE_SOURCE_DIR
}
/doc/Doxyfile.in
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile @ONLY
)
add_custom_target
(
doc
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
/Doc
COMMENT
"Generating API documentation with Doxygen"
VERBATIM
)
endif
(
DOXYGEN_FOUND
)
SCHNApps/Debug/CMakeLists.txt
0 → 100644
View file @
54ec8819
cmake_minimum_required
(
VERSION 2.8
)
SET
(
CMAKE_BUILD_TYPE Debug
)
IF
(
WIN32
)
link_directories
(
${
CGoGN_ROOT_DIR
}
/lib/Release
)
ELSE
(
WIN32
)
link_directories
(
${
CGoGN_ROOT_DIR
}
/lib/Debug
${
CGoGN_ROOT_DIR
}
/lib/Release
)
ENDIF
(
WIN32
)
INCLUDE_DIRECTORIES
(
${
CGoGN_ROOT_DIR
}
/include
${
COMMON_INCLUDES
}
${
CMAKE_CURRENT_SOURCE_DIR
}
${
CMAKE_CURRENT_BINARY_DIR
}
${
QGLVIEWER_INCLUDE_DIR
}
${
SCHNApps_ROOT_DIR
}
/include
)
file
(
GLOB
SCHNApps_SRC_FILES
${
SCHNApps_ROOT_DIR
}
/src/main.cpp
${
SCHNApps_ROOT_DIR
}
/src/interface/*.cpp
${
SCHNApps_ROOT_DIR
}
/src/visualization/*.cpp
${
SCHNApps_ROOT_DIR
}
/src/dialogs/*.cpp
)
SET
(
SCHNApps_H_OBJECT_FILES
${
SCHNApps_ROOT_DIR
}
/include/interface/window.h
${
SCHNApps_ROOT_DIR
}
/include/interface/system.h
${
SCHNApps_ROOT_DIR
}
/include/interface/viewButtonArea.h
${
SCHNApps_ROOT_DIR
}
/include/interface/splitArea.h
${
SCHNApps_ROOT_DIR
}
/include/visualization/view.h
${
SCHNApps_ROOT_DIR
}
/include/visualization/scene.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/newSceneDialog.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/sceneSelector.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/cameraViewDialog.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/cameraOptionDialog.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/cameraSceneDialog.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/globalCameraDialog.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/pluginDialog.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/linkViewDialog.h
${
SCHNApps_ROOT_DIR
}
/include/dialogs/mapPluginDialog.h
)
file
(
GLOB
SCHNApps_FORM_FILES
${
SCHNApps_ROOT_DIR
}
/forms/*.ui
)
QT4_WRAP_UI
(
UI_H_FILES
${
SCHNApps_FORM_FILES
}
)
QT4_WRAP_CPP
(
MOC_FILES
${
SCHNApps_H_OBJECT_FILES
}
)
QT4_ADD_RESOURCES
(
RCC_FILES
${
SCHNApps_ROOT_DIR
}
/resources/resources.qrc
)
ADD_EXECUTABLE
(
SCHNAppsD
${
SCHNApps_SRC_FILES
}
${
UI_H_FILES
}
${
MOC_FILES
}
${
RCC_FILES
}
)
TARGET_LINK_LIBRARIES
(
SCHNAppsD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
${
QGLVIEWER_LIBRARIES
}
)
ADD_SUBDIRECTORY
(
${
SCHNApps_ROOT_DIR
}
/Plugins PluginsD
)
SCHNApps/Plugins/CMakeLists.txt
0 → 100644
View file @
54ec8819
cmake_minimum_required
(
VERSION 2.8
)
ADD_SUBDIRECTORY
(
firstPlugin
)
SCHNApps/Plugins/firstPlugin/CMakeLists.txt
0 → 100644
View file @
54ec8819
cmake_minimum_required
(
VERSION 2.8
)
INCLUDE_DIRECTORIES
(
${
SCHNApps_ROOT_DIR
}
/include
${
SCHNApps_ROOT_DIR
}
/Plugins/firstPlugin/include
${
CMAKE_CURRENT_BINARY_DIR
}
)
SET
(
FIRSTPLUGIN_PLUGIN_SRC
${
SCHNApps_ROOT_DIR
}
/src/plugins/visualPlugin.cpp
${
SCHNApps_ROOT_DIR
}
/Plugins/firstPlugin/src/firstPlugin.cpp
)
SET
(
FIRSTPLUGIN_PLUGIN_H
${
SCHNApps_ROOT_DIR
}
/include/plugins/visualPlugin.h
${
SCHNApps_ROOT_DIR
}
/Plugins/firstPlugin/include/firstPlugin.h
)
IF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
IF
(
WIN32
)
link_directories
(
${
CGoGN_ROOT_DIR
}
/lib/Release
)
ELSE
(
WIN32
)
link_directories
(
${
CGoGN_ROOT_DIR
}
/lib/Debug
${
CGoGN_ROOT_DIR
}
/lib/Release
)
ENDIF
(
WIN32
)
QT4_WRAP_CPP
(
FIRSTPLUGIN_MOC
${
FIRSTPLUGIN_PLUGIN_H
}
)
ADD_LIBRARY
(
FirstPluginD SHARED
${
FIRSTPLUGIN_PLUGIN_SRC
}
${
FIRSTPLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
FirstPluginD
${
CGoGN_LIBS_D
}
${
COMMON_LIBS
}
${
QGLVIEWER_LIBRARIES
}
)
ADD_DEPENDENCIES
(
FirstPluginD SCHNAppsD
)
SET_TARGET_PROPERTIES
(
FirstPluginD PROPERTIES COMPILE_DEFINITIONS
"DEBUG"
)
ELSE
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
IF
(
WIN32
)
link_directories
(
${
CGoGN_ROOT_DIR
}
/lib/Release
)
ELSE
(
WIN32
)
link_directories
(
${
CGoGN_ROOT_DIR
}
/lib/Release
)
ENDIF
(
WIN32
)
QT4_WRAP_CPP
(
FIRSTPLUGIN_MOC
${
FIRSTPLUGIN_PLUGIN_H
}
)
ADD_LIBRARY
(
FirstPlugin SHARED
${
FIRSTPLUGIN_PLUGIN_SRC
}
${
FIRSTPLUGIN_MOC
}
)
TARGET_LINK_LIBRARIES
(
FirstPlugin
${
CGoGN_LIBS_R
}
${
COMMON_LIBS
}
${
QGLVIEWER_LIBRARIES
}
)
ADD_DEPENDENCIES
(
FirstPlugin SCHNApps
)
ENDIF
(
${
CMAKE_BUILD_TYPE
}
STREQUAL Debug
)
SCHNApps/Plugins/firstPlugin/include/firstPlugin.h
0 → 100644
View file @
54ec8819
#ifndef _FIRSTPLUGIN_H_
#define _FIRSTPLUGIN_H_
#include "plugins/visualPlugin.h"
/**---CGoGN includes **/
#include "Topology/generic/parameters.h"
#include "Topology/map/embeddedMap2.h"
#include "Algo/Render/GL2/topoRender.h"
/**---CGoGN includes **/
/**---Definitions specific to CGoGN ---*/
using
namespace
CGoGN
;
/**
* Struct that contains some informations about the types of the manipulated objects
* Mainly here to be used by the algorithms that are parameterized by it
*/
struct
PFP
:
public
PFP_STANDARD
{
// definition of the map
typedef
EmbeddedMap2
MAP
;
};
typedef
PFP
::
MAP
MAP
;
typedef
PFP
::
VEC3
VEC3
;
/**---Definitions specific to CGoGN ---*/
/**
* This class is a basic minimal plugin.
* All the methods in this class are overloaded methods.
* In order to create a valid plugin, all the method in this
* needs to be declared (they are actually overloaded methods
* from VisualPlugin), even if your plugin doesn't make any
* drawing.
*/
/**
* Our plugin must inherit from VisualPlugin,
* that is a class that itself is an implementation
* of the Plugin interface (virtual class). It contains
* many useful and essantial methods.
*/
class
FirstPlugin
:
public
VisualPlugin
{
/**
* Essential Qt macros.
*/
Q_OBJECT
Q_INTERFACES
(
Plugin
)
public:
FirstPlugin
()
{}
~
FirstPlugin
()
{}
/**
* The classical call back for the initGL method
* When a scene will be link to this plugin, it will call
* back this method with itself as a parameter.
*/
void
cb_initGL
(
Scene
*
scene
);
/**
* The drawing method that needs to be overloaded.
* Each time a scene (that is to say, at least one of the
* views that is contains) needs to be refresh, it calls back
* this method with itself as a parameter
*/
void
cb_redraw
(
Scene
*
scene
);
/**
* The plugin's activation method
* Each time the main application loads this plugin,
* it call this method. Writing this method is
* the occasion to initialize the plugin and check certain
* conditions.
* If this methods return 'false', the plugin load will be aborted.
*/
bool
activate
();
/**
* The plugin's disabling method
* Each time the main application will unload the plugin
* it will call this method.
*/
void
disable
();
protected:
/** Attributes that are specific to this plugin **/
MAP
myMap
;
// attribute for vertices positions
VertexAttribute
<
VEC3
>
position
;
// render (for the topo)
Algo
::
Render
::
GL2
::
TopoRender
*
m_render_topo
;
// just for more compact writing
inline
Dart
PHI1
(
Dart
d
)
{
return
myMap
.
phi1
(
d
);
}
inline
Dart
PHI_1
(
Dart
d
)
{
return
myMap
.
phi_1
(
d
);
}
inline
Dart
PHI2
(
Dart
d
)
{
return
myMap
.
phi2
(
d
);
}
template
<
int
X
>
Dart
PHI
(
Dart
d
)
{
return
myMap
.
phi
<
X
>
(
d
);
}
/** Attributes that are specific to this plugin **/
};
#endif // _FIRSTPLUGIN_H_
SCHNApps/Plugins/firstPlugin/src/firstPlugin.cpp
0 → 100644
View file @
54ec8819
#include "firstPlugin.h"
#include "Algo/Geometry/boundingbox.h"