Commit 761e1e91 authored by Pierre Kraemer's avatar Pierre Kraemer

SCHNApps !

parent 37b3cdd9
cmake_minimum_required(VERSION 2.8)
project(SCHNApps)
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)
#=======QGLViewer=========#
find_package(QGLViewer REQUIRED)
#======Directories=======#
SET(INC_DIR ${CMAKE_SOURCE_DIR}/include)
SET(SRC_DIR ${CMAKE_SOURCE_DIR}/src)
SET(FORMS_DIR ${CMAKE_SOURCE_DIR}/forms)
SET(RESOURCES_DIR ${CMAKE_SOURCE_DIR}/resources)
SET(PLUGIN_DIR ${CMAKE_SOURCE_DIR}/Plugins)
SET(PLUGIN_COMPILE_DIR ${EXECUTABLE_OUTPUT_PATH}/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)
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}
)
SET(SRC_FILES
${SRC_DIR}/main.cpp
${SRC_DIR}/interface/window.cpp
${SRC_DIR}/interface/system.cpp
${SRC_DIR}/interface/stateHandler.cpp
${SRC_DIR}/visualization/view.cpp
${SRC_DIR}/visualization/scene.cpp
${SRC_DIR}/visualization/camera.cpp
${SRC_DIR}/interface/splitArea.cpp
${SRC_DIR}/dialogs/newSceneDialog.cpp
${SRC_DIR}/dialogs/sceneSelector.cpp
${SRC_DIR}/interface/viewButtonArea.cpp
${SRC_DIR}/dialogs/cameraViewDialog.cpp
${SRC_DIR}/dialogs/cameraOptionDialog.cpp
${SRC_DIR}/dialogs/cameraSceneDialog.cpp
${SRC_DIR}/dialogs/globalCameraDialog.cpp
${SRC_DIR}/dialogs/pluginDialog.cpp
${SRC_DIR}/dialogs/linkViewDialog.cpp
${SRC_DIR}/visualization/vboHandler.cpp
${SRC_DIR}/visualization/mapHandler.cpp
${SRC_DIR}/visualization/context.cpp
${SRC_DIR}/dialogs/mapPluginDialog.cpp
)
SET(H_OBJECT_FILES
${INC_DIR}/interface/window.h
${INC_DIR}/interface/system.h
${INC_DIR}/visualization/view.h
${INC_DIR}/visualization/scene.h
${INC_DIR}/interface/splitArea.h
${INC_DIR}/dialogs/newSceneDialog.h
${INC_DIR}/dialogs/sceneSelector.h
${INC_DIR}/interface/viewButtonArea.h
${INC_DIR}/dialogs/cameraViewDialog.h
${INC_DIR}/dialogs/cameraOptionDialog.h
${INC_DIR}/dialogs/cameraSceneDialog.h
${INC_DIR}/dialogs/globalCameraDialog.h
${INC_DIR}/dialogs/pluginDialog.h
${INC_DIR}/dialogs/linkViewDialog.h
${INC_DIR}/dialogs/mapPluginDialog.h
)
SET(FORMS_FILES
${FORMS_DIR}/window.ui
${FORMS_DIR}/questionSessionDialog.ui
${FORMS_DIR}/infoDialog.ui
${FORMS_DIR}/newSceneDialog.ui
${FORMS_DIR}/cameraViewDialog.ui
${FORMS_DIR}/cameraOptionDialog.ui
${FORMS_DIR}/cameraSceneDialog.ui
${FORMS_DIR}/globalCameraDialog.ui
${FORMS_DIR}/pluginDialog.ui
${FORMS_DIR}/linkViewDialog.ui
${FORMS_DIR}/mapPluginDialog.ui
)
QT4_WRAP_UI(UI_H_FILES
${FORMS_FILES}
)
QT4_WRAP_CPP(MOC_FILES
${H_OBJECT_FILES}
)
QT4_ADD_RESOURCES(RCC_FILES
${RESOURCES_DIR}/resources.qrc
)
INCLUDE_DIRECTORIES(
${FORMS}
${INC_DIR}
${INC_DIR}/interface
${INC_DIR}/visualization
${INC_DIR}/dialogs
${INC_DIR}/plugins
)
ADD_EXECUTABLE(CGoGN_plugD
${SRC_FILES}
${UI_H_FILES}
${MOC_FILES}
${RCC_FILES}
)
TARGET_LINK_LIBRARIES(CGoGN_plugD
${CGoGN_LIBS_D}
${COMMON_LIBS}
${QGLVIEWER_LIBRARIES}
)
#ADD_SUBDIRECTORY(${PLUGIN_DIR} plugins)
cmake_minimum_required(VERSION 2.8)
SET(CMAKE_BUILD_TYPE Release)
ADD_DEFINITIONS(-fPIC)
IF(WIN32)
link_directories( ${CGoGN_ROOT_DIR}/lib/Release )
ELSE (WIN32)
link_directories( ${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}
)
SET(SRC_FILES
${SRC_DIR}/main.cpp
${SRC_DIR}/interface/window.cpp
${SRC_DIR}/interface/system.cpp
${SRC_DIR}/interface/stateHandler.cpp
${SRC_DIR}/visualization/view.cpp
${SRC_DIR}/visualization/scene.cpp
${SRC_DIR}/visualization/camera.cpp
${SRC_DIR}/interface/splitArea.cpp
${SRC_DIR}/dialogs/newSceneDialog.cpp
${SRC_DIR}/dialogs/sceneSelector.cpp
${SRC_DIR}/interface/viewButtonArea.cpp
${SRC_DIR}/dialogs/cameraViewDialog.cpp
${SRC_DIR}/dialogs/cameraOptionDialog.cpp
${SRC_DIR}/dialogs/cameraSceneDialog.cpp
${SRC_DIR}/dialogs/globalCameraDialog.cpp
${SRC_DIR}/dialogs/pluginDialog.cpp
${SRC_DIR}/dialogs/linkViewDialog.cpp
${SRC_DIR}/visualization/vboHandler.cpp
${SRC_DIR}/visualization/mapHandler.cpp
${SRC_DIR}/visualization/context.cpp
${SRC_DIR}/dialogs/mapPluginDialog.cpp
)
SET(H_OBJECT_FILES
${INC_DIR}/interface/window.h
${INC_DIR}/interface/system.h
${INC_DIR}/visualization/view.h
${INC_DIR}/visualization/scene.h
${INC_DIR}/interface/splitArea.h
${INC_DIR}/dialogs/newSceneDialog.h
${INC_DIR}/dialogs/sceneSelector.h
${INC_DIR}/interface/viewButtonArea.h
${INC_DIR}/dialogs/cameraViewDialog.h
${INC_DIR}/dialogs/cameraOptionDialog.h
${INC_DIR}/dialogs/cameraSceneDialog.h
${INC_DIR}/dialogs/globalCameraDialog.h
${INC_DIR}/dialogs/pluginDialog.h
${INC_DIR}/dialogs/linkViewDialog.h
${INC_DIR}/dialogs/mapPluginDialog.h
)
SET(FORMS_FILES
${FORMS_DIR}/window.ui
${FORMS_DIR}/questionSessionDialog.ui
${FORMS_DIR}/infoDialog.ui
${FORMS_DIR}/newSceneDialog.ui
${FORMS_DIR}/cameraViewDialog.ui
${FORMS_DIR}/cameraOptionDialog.ui
${FORMS_DIR}/cameraSceneDialog.ui
${FORMS_DIR}/globalCameraDialog.ui
${FORMS_DIR}/pluginDialog.ui
${FORMS_DIR}/linkViewDialog.ui
${FORMS_DIR}/mapPluginDialog.ui
)
QT4_WRAP_UI(UI_H_FILES
${FORMS_FILES}
)
QT4_WRAP_CPP(MOC_FILES
${H_OBJECT_FILES}
)
QT4_ADD_RESOURCES(RCC_FILES
${RESOURCES_DIR}/resources.qrc
)
INCLUDE_DIRECTORIES(
${FORMS}
${INC_DIR}
${INC_DIR}/interface
${INC_DIR}/visualization
${INC_DIR}/dialogs
${INC_DIR}/plugins
)
ADD_EXECUTABLE(CGoGN_plug
${SRC_FILES}
${UI_H_FILES}
${MOC_FILES}
${RCC_FILES}
)
TARGET_LINK_LIBRARIES(CGoGN_plug
${CGoGN_LIBS_R}
${COMMON_LIBS}
${QGLVIEWER_LIBRARIES}
)
#ADD_SUBDIRECTORY(${PLUGIN_DIR} plugins)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# Fdb version 3
["pdflatex"] 1352124812 "overview.tex" "overview.pdf" "overview"
"/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii" 1337017135 71627 94eb9990bed73c364d7f53f960cc8c5b ""
"/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def" 1312409092 29228 2fe939254f4b17ac18a8c0fb8aa39dff ""
"/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty" 1312409092 9157 414843659be58197b1510e2317ef76d9 ""
"/usr/share/texlive/texmf-dist/tex/generic/babel/english.ldf" 1137109563 6608 fe33acefb75a26ad10c2c6f09d423415 ""
"/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty" 1284331290 1458 43ab4710dc82f3edeabecd0d099626b2 ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty" 1303254447 8237 52810bdb4db2270e717422560a104aea ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty" 1338332114 189108 8b3553a56c83ff61acecb36b75d817e2 ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty" 1338332114 70752 45fa392800e07da61fa13446ad46b34d ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty" 1335995445 8253 3bdedc8409aa5d290a2339be6f09af03 ""
"/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty" 1335995445 18425 775b341047ce304520cc7c11ca41392e ""
"/usr/share/texlive/texmf-dist/tex/latex/base/omlcmr.fd" 1254151887 2110 b6dc71ab969a2e72071817ffae72fb63 ""
"/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd" 1254151887 2109 c400bd6c901edc4a09e4d53fcffd3b3c ""
"/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty" 1312312491 15509 394096bec6a284398e0b3ead6d33977e ""
"/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd" 1254151887 2070 a9b43c0e3cee84bb3927d80d70ee10ce ""
"/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmtt.fd" 1254151887 1927 5f4ba4f425e43896e1e8f257d7cef09f ""
"/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def" 1254151887 7630 8f51e48866ebfd08b8299888bbe81549 ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty" 1331852109 64617 3e595e89cb20089970940faf5347edb4 ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty" 1331852109 59928 5bdbc848cc19ace34fb8f06975f2d198 ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty" 1331852109 4225 ba79cf1a7e9cbc04e4b417232de4aab9 ""
"/usr/share/texlive/texmf-dist/tex/latex/float/float.sty" 1137110151 6749 16d2656a1984957e674b149555f1ea1d ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty" 1156702488 6406 6f55214ce374a5b186b8781f4796f1f9 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty" 1254151804 14183 42a8fc761b806986eef292369afc2988 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty" 1156702488 7882 3bd78469d444e8d494e27cfd7ca92719 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty" 1156702488 2266 7054435e4584a41cf53b0a7ca624d0cb ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty" 1156702488 3153 c50e6bd54d2dd3933fc52bcf369bec4a ""
"/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def" 1336949684 46827 aa71bcb51439ad95a1a3bf6a562edb81 ""
"/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty" 1336949684 214680 dcb1cf0d694984ac45356529aefbe1dc ""
"/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty" 1272755529 12492 22b3864ec821d6b950df3dc0de961f18 ""
"/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def" 1336949684 13744 71c3a9768074852e3f36d5b4ddc409b9 ""
"/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty" 1337209970 26726 7220a93a6aad619f49719a3fdca71011 ""
"/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty" 1337209970 12005 a4d317920e7c529bffad897e5f9df167 ""
"/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty" 1302044766 12322 59acf0cdb2556c7af7da9763f6812d35 ""
"/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrreprt.cls" 1337209970 123071 7774e12cded59af0bbf4954a6674c09f ""
"/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize11pt.clo" 1337209970 6102 d2cb8955334fbb39d8882e6a37400caf ""
"/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty" 1337209970 22069 4c40ce7c06c12a7113018f191a260d53 ""
"/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty" 1337209970 37506 a9f59c8cf6ac1f3a2570e2c0c4e72d80 ""
"/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg" 1254097189 802 7b8c8d72c24d795ed7720e4dfd29bff3 ""
"/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg" 1279039959 678 4792914a8f45be57bb98413425e4c7af ""
"/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg" 1278958963 3563 d35e897cae3b8c6848f6677b73370b54 ""
"/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg" 1254097189 235 6031e5765137be07eed51a510b2b8fb7 ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg" 1213130811 1745 ae6fbed3255376b850f8b4ef89faef50 ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty" 1213130811 80175 a550732aef92a278ec9bed572025bd8e ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty" 1172701948 89800 23131e8521c9ca0a050cd6d5e609c6a0 ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang2.sty" 1172701948 80494 51df1c54f35a0415deff6872b7dba2d9 ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty" 1213130811 76974 d9d4762e984ff3346653b91fbcf676e9 ""
"/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty" 1137110401 7374 f7c1f13fc632dd5c9b220a247d233082 ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty" 1303254447 12029 04d7fdf76e0464c23b5aa3a727952d7c ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty" 1335995445 7075 bd0c34fbf1ae8fd1debd2a554e41b2d5 ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty" 1335995445 22417 c74ff4af6a1aa2b65d1924020edbbe11 ""
"/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty" 1303254447 9581 1158efc648bc09d5064db5703c882159 ""
"/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def" 1306616590 55368 3c8a0d99822330f2dfabc0dfb09ce897 ""
"/usr/share/texlive/texmf-dist/tex/latex/placeins/placeins.sty" 1137110565 4087 636308456f60d2b31cbf97867db5708d ""
"/usr/share/texlive/texmf-dist/tex/latex/url/url.sty" 1264379145 21932 e3a9cf32ee9b853b42be14c2f25b873c ""
"images/callBacks.png" 1352123537 79305 37054f9a8a284db3195522b7ca1dc36b ""
"images/plugins.png" 1352123537 11276 f6e48505624671f9bdb063dd7cd4dfaa ""
"images/screenshot1.png" 1352123537 15157 5a7fe83f8197683fd35017eb7690ee03 ""
"images/screenshot10.png" 1352123537 17675 b0014dbd0acdc5ae0e23e3a6d78ecf7d ""
"images/screenshot11.png" 1352123537 14885 839f92bfc8b5487ecd816b613d345887 ""
"images/screenshot12.png" 1352123537 30102 45bba256a76366eeb619e69839985a84 ""
"images/screenshot13.png" 1352123537 13443 7ef8965c828709dd14058ae3f911dbb1 ""
"images/screenshot14.png" 1352123537 10605 49546a098a634d08f3271714512c347f ""
"images/screenshot15.png" 1352123537 20024 ef80bd95b089afd4d8e887669660b436 ""
"images/screenshot16.png" 1352123537 9670 0b53d5554b4e6ad268bed69da16a473f ""
"images/screenshot17.png" 1352123537 12758 ace4f050b45e74bf37b9541d3e80cb5e ""
"images/screenshot18.png" 1352123537 75321 db85ba7a46c3dbb1d37d14096833307d ""
"images/screenshot19.png" 1352123537 113725 65d44d1095667ec8493f4101f8ff09db ""
"images/screenshot2.png" 1352123537 12802 b52b68b476db74db61a2927a47bb1c8e ""
"images/screenshot20.png" 1352123537 18039 8bfe092dccc73327736db0fee6994d42 ""
"images/screenshot21.png" 1352123537 12304 ffd2aa7bde4e9b39c7c8d636a7e480e1 ""
"images/screenshot22.png" 1352123537 4605 488ad67641c3d8f06b6dbebb98425f42 ""
"images/screenshot23.png" 1352123537 93573 f0a6d130a4149f632ed09dfd9ea80b2c ""
"images/screenshot24.png" 1352123537 54687 66258386b5b5e166491926cdf5146da5 ""
"images/screenshot25.png" 1352123537 20359 36aa53d5acceb685d9505435bd9139da ""
"images/screenshot26.png" 1352123537 18896 5415a3374fb4835023fcddfaadc061c4 ""
"images/screenshot28.png" 1352123537 20601 b06931d45031a10d1cad1763f012f43f ""
"images/screenshot3.png" 1352123537 75229 d531710e7f8bbd418b3b0b77687b8556 ""
"images/screenshot4.png" 1352123537 13550 ab3c7c0ea6032dcc5dd40ced5577de29 ""
"images/screenshot5.png" 1352123537 19390 92578f6c2b7d6e618d9a6b8f991a4b74 ""
"images/screenshot6.png" 1352123537 21064 b48c88dd50bd2a1043fb9d8239e7fe38 ""
"images/screenshot7.png" 1352123537 4981 e1cc96efb529935f17325fcd71425f78 ""
"images/screenshot8.png" 1352123537 17286 3e89b2d88db0914ce0a0f1324dd105c5 ""
"images/screenshot9.png" 1352123537 6343 46116427a86d4e50d3b2e55cecdd926f ""
"images/systemMap1.png" 1352123537 9713 e9d536e6d5856a86c8d0cd2500dae614 ""
"images/systemMap2.png" 1352123537 16235 e4d5baf82e385bcf291fa1ca2e650d1b ""
"overview.aux" 1352124813 10811 0f63f12542a9d3d5a526c601cbaec886 ""
"overview.out" 1352124813 1769 ee952f43e41b232a1aa515b0515497fd ""
"overview.tex" 1352123537 56420 441909f6d0a71de30b03df67243b80ac ""
"overview.toc" 1352124813 3986 51b08e47dbdf3c7385c005e6bf9584ed ""
(generated)
"overview.aux"
"overview.pdf"
"overview.log"
"overview.toc"
"overview.out"
This diff is collapsed.
\BOOKMARK [0][-]{chapter.1}{Introduction and purposes}{}% 1
\BOOKMARK [1][-]{section.1.1}{CGoGN}{chapter.1}% 2
\BOOKMARK [2][-]{subsection.1.1.1}{What is CGoGN library ?}{section.1.1}% 3
\BOOKMARK [2][-]{subsection.1.1.2}{CGoGN and visualization?}{section.1.1}% 4
\BOOKMARK [1][-]{section.1.2}{The project}{chapter.1}% 5
\BOOKMARK [2][-]{subsection.1.2.1}{CGoGN in space?}{section.1.2}% 6
\BOOKMARK [2][-]{subsection.1.2.2}{Plugins and CGoGN?}{section.1.2}% 7
\BOOKMARK [0][-]{chapter.2}{The project}{}% 8
\BOOKMARK [1][-]{section.2.1}{Work}{chapter.2}% 9
\BOOKMARK [2][-]{subsection.2.1.1}{Specifications}{section.2.1}% 10
\BOOKMARK [2][-]{subsection.2.1.2}{Additional features}{section.2.1}% 11
\BOOKMARK [2][-]{subsection.2.1.3}{Third party libraries}{section.2.1}% 12
\BOOKMARK [1][-]{section.2.2}{Quick presentation}{chapter.2}% 13
\BOOKMARK [2][-]{subsection.2.2.1}{The main application}{section.2.2}% 14
\BOOKMARK [2][-]{subsection.2.2.2}{The import plugin}{section.2.2}% 15
\BOOKMARK [2][-]{subsection.2.2.3}{The camera path plugin}{section.2.2}% 16
\BOOKMARK [0][-]{chapter.3}{How to write plugins?}{}% 17
\BOOKMARK [1][-]{section.3.1}{Basics and concepts}{chapter.3}% 18
\BOOKMARK [2][-]{subsection.3.1.1}{Visualization concepts}{section.3.1}% 19
\BOOKMARK [2][-]{subsection.3.1.2}{The first plugin}{section.3.1}% 20
\BOOKMARK [2][-]{subsection.3.1.3}{Tricks and advice}{section.3.1}% 21
\BOOKMARK [1][-]{section.3.2}{Going further\203}{chapter.3}% 22
\BOOKMARK [2][-]{subsection.3.2.1}{Few words on plugins}{section.3.2}% 23
\BOOKMARK [2][-]{subsection.3.2.2}{Objects and visualization plugins}{section.3.2}% 24
\BOOKMARK [2][-]{subsection.3.2.3}{GUI and user interactions}{section.3.2}% 25
\BOOKMARK [2][-]{subsection.3.2.4}{Maps and VBOs}{section.3.2}% 26
This diff is collapsed.
\select@language {english}
\contentsline {chapter}{\numberline {1}Introduction and purposes}{3}{chapter.1}
\contentsline {section}{\numberline {1.1}CGoGN}{3}{section.1.1}
\contentsline {subsection}{\numberline {1.1.1}What is CGoGN library ?}{3}{subsection.1.1.1}
\contentsline {subsection}{\numberline {1.1.2}CGoGN and visualization?}{3}{subsection.1.1.2}
\contentsline {section}{\numberline {1.2}The project}{3}{section.1.2}
\contentsline {subsection}{\numberline {1.2.1}CGoGN in space?}{3}{subsection.1.2.1}
\contentsline {subsection}{\numberline {1.2.2}Plugins and CGoGN?}{4}{subsection.1.2.2}
\contentsline {chapter}{\numberline {2}The project}{5}{chapter.2}
\contentsline {section}{\numberline {2.1}Work}{5}{section.2.1}
\contentsline {subsection}{\numberline {2.1.1}Specifications}{5}{subsection.2.1.1}
\contentsline {subsection}{\numberline {2.1.2}Additional features}{5}{subsection.2.1.2}
\contentsline {subsection}{\numberline {2.1.3}Third party libraries}{6}{subsection.2.1.3}
\contentsline {section}{\numberline {2.2}Quick presentation}{6}{section.2.2}
\contentsline {subsection}{\numberline {2.2.1}The main application}{6}{subsection.2.2.1}
\contentsline {subsection}{\numberline {2.2.2}The import plugin}{13}{subsection.2.2.2}
\contentsline {subsection}{\numberline {2.2.3}The camera path plugin}{15}{subsection.2.2.3}
\contentsline {chapter}{\numberline {3}How to write plugins?}{19}{chapter.3}
\contentsline {section}{\numberline {3.1}Basics and concepts}{19}{section.3.1}
\contentsline {subsection}{\numberline {3.1.1}Visualization concepts}{19}{subsection.3.1.1}
\contentsline {paragraph}{Plugin:}{19}{section*.44}
\contentsline {paragraph}{Scene:}{19}{section*.45}
\contentsline {paragraph}{View:}{19}{section*.46}
\contentsline {paragraph}{Camera:}{19}{section*.47}
\contentsline {subsection}{\numberline {3.1.2}The first plugin}{20}{subsection.3.1.2}
\contentsline {subsubsection}{How to write the plugin}{20}{section*.52}
\contentsline {paragraph}{firstPlugin.h}{21}{section*.55}
\contentsline {paragraph}{firstPlugin.cpp}{23}{section*.57}
\contentsline {subsubsection}{Compilation}{25}{section*.58}
\contentsline {paragraph}{CMakeLists.txt}{25}{section*.61}
\contentsline {subsubsection}{Using the plugin}{26}{section*.63}
\contentsline {subsection}{\numberline {3.1.3}Tricks and advice}{28}{subsection.3.1.3}
\contentsline {subsubsection}{Understanding the callBacks}{28}{section*.68}
\contentsline {subsubsection}{Bug \& Debug}{29}{section*.70}
\contentsline {paragraph}{Common bug:}{29}{section*.71}
\contentsline {paragraph}{Debug:}{29}{section*.72}
\contentsline {section}{\numberline {3.2}Going further\dots }{30}{section.3.2}
\contentsline {subsection}{\numberline {3.2.1}Few words on plugins}{30}{subsection.3.2.1}
\contentsline {subsection}{\numberline {3.2.2}Objects and visualization plugins}{30}{subsection.3.2.2}
\contentsline {subsubsection}{Scene:}{30}{section*.77}
\contentsline {paragraph}{Automatic creation:}{31}{section*.79}
\contentsline {paragraph}{Call-back on scene linking:}{31}{section*.80}
\contentsline {subsubsection}{View:}{32}{section*.82}
\contentsline {subsubsection}{Camera:}{33}{section*.85}
\contentsline {subsection}{\numberline {3.2.3}GUI and user interactions}{34}{subsection.3.2.3}
\contentsline {subsubsection}{Custom widgets and menu entries}{34}{section*.87}
\contentsline {paragraph}{Custom menu entries:}{34}{section*.89}
\contentsline {paragraph}{Custom toolbar buttons:}{35}{section*.90}
\contentsline {paragraph}{Custom widgets:}{35}{section*.91}
\contentsline {subsubsection}{User interactions}{36}{section*.92}
\contentsline {subsection}{\numberline {3.2.4}Maps and VBOs}{36}{subsection.3.2.4}
\contentsline {subsubsection}{Map and VBO handling types}{36}{section*.95}
\contentsline {paragraph}{MapHandler:}{37}{section*.98}
\contentsline {paragraph}{VBOHandler:}{38}{section*.99}
\contentsline {subsubsection}{Sharing maps}{39}{section*.100}
\contentsline {subsubsection}{Plugins maps callback}{40}{section*.103}
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CODialog</class>
<widget class="QDialog" name="CODialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>363</width>
<height>357</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Camera draw options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="draw_Check">
<property name="text">
<string>Draw</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="farPlane_Check">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Draw far plane</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Camera scale:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="scale_Spin">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="drawPath_Check">
<property name="text">
<string>Draw user path</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Draw path option</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="drawAxis_Check">
<property name="text">
<string>draw axis</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Scale:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="frameScale_Spin">
<property name="minimum">
<double>0.100000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>CODialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>