Skip to content
Permalink
Browse files
Interpolation plugin for triangle based or inverse distance interpola…
…tion

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9128 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Aug 23, 2008
1 parent 6cc7905 commit d2e83a0635cb7c9df6e7d3c02cbb3731be89a43e
Showing with 7,631 additions and 1 deletion.
  1. +1 −1 src/plugins/CMakeLists.txt
  2. +67 −0 src/plugins/interpolation/CMakeLists.txt
  3. +3,182 −0 src/plugins/interpolation/DualEdgeTriangulation.cc
  4. +233 −0 src/plugins/interpolation/DualEdgeTriangulation.h
  5. +3 −0 src/plugins/interpolation/HalfEdge.cc
  6. +128 −0 src/plugins/interpolation/HalfEdge.h
  7. +139 −0 src/plugins/interpolation/LinTriangleInterpolator.cc
  8. +85 −0 src/plugins/interpolation/LinTriangleInterpolator.h
  9. +89 −0 src/plugins/interpolation/Line3D.cc
  10. +86 −0 src/plugins/interpolation/Line3D.h
  11. +872 −0 src/plugins/interpolation/MathUtils.cc
  12. +86 −0 src/plugins/interpolation/MathUtils.h
  13. +64 −0 src/plugins/interpolation/Node.cc
  14. +78 −0 src/plugins/interpolation/Node.h
  15. +52 −0 src/plugins/interpolation/Point3D.cc
  16. +110 −0 src/plugins/interpolation/Point3D.h
  17. +3 −0 src/plugins/interpolation/TriangleInterpolator.cc
  18. +42 −0 src/plugins/interpolation/TriangleInterpolator.h
  19. +3 −0 src/plugins/interpolation/Triangulation.cc
  20. +98 −0 src/plugins/interpolation/Triangulation.h
  21. +48 −0 src/plugins/interpolation/Vector3D.cc
  22. +151 −0 src/plugins/interpolation/Vector3D.h
  23. +33 −0 src/plugins/interpolation/mIconInterpolation.xpm
  24. +71 −0 src/plugins/interpolation/qgisinterpolator.h
  25. +119 −0 src/plugins/interpolation/qgsgridfilewriter.cpp
  26. +56 −0 src/plugins/interpolation/qgsgridfilewriter.h
  27. +66 −0 src/plugins/interpolation/qgsidwinterpolator.cpp
  28. +48 −0 src/plugins/interpolation/qgsidwinterpolator.h
  29. +27 −0 src/plugins/interpolation/qgsidwinterpolatordialog.cpp
  30. +38 −0 src/plugins/interpolation/qgsidwinterpolatordialog.h
  31. +92 −0 src/plugins/interpolation/qgsidwinterpolatordialogbase.ui
  32. +214 −0 src/plugins/interpolation/qgsinterpolationdialog.cpp
  33. +53 −0 src/plugins/interpolation/qgsinterpolationdialog.h
  34. 0 src/plugins/interpolation/qgsinterpolationdialogbase.h
  35. +225 −0 src/plugins/interpolation/qgsinterpolationdialogbase.ui
  36. +93 −0 src/plugins/interpolation/qgsinterpolationplugin.cpp
  37. +49 −0 src/plugins/interpolation/qgsinterpolationplugin.h
  38. +354 −0 src/plugins/interpolation/qgsinterpolator.cpp
  39. +94 −0 src/plugins/interpolation/qgsinterpolator.h
  40. +33 −0 src/plugins/interpolation/qgsinterpolatordialog.cpp
  41. +49 −0 src/plugins/interpolation/qgsinterpolatordialog.h
  42. +79 −0 src/plugins/interpolation/qgstininterpolator.cpp
  43. +48 −0 src/plugins/interpolation/qgstininterpolator.h
  44. +46 −0 src/plugins/interpolation/qgstininterpolatordialog.cpp
  45. +37 −0 src/plugins/interpolation/qgstininterpolatordialog.h
  46. +87 −0 src/plugins/interpolation/qgstininterpolatordialogbase.ui
@@ -1,4 +1,4 @@
SUBDIRS (copyright_label delimited_text grid_maker north_arrow scale_bar)
SUBDIRS (copyright_label delimited_text grid_maker interpolation north_arrow scale_bar)

IF (POSTGRES_FOUND)
SUBDIRS (spit)
@@ -0,0 +1,67 @@
########################################################
# Files

SET (INTERPOLATION_SRCS
qgsinterpolationplugin.cpp
qgsgridfilewriter.cpp
qgsidwinterpolator.cpp
qgsidwinterpolatordialog.cpp
qgsinterpolationdialog.cpp
qgsinterpolator.cpp
qgsinterpolatordialog.cpp
qgstininterpolator.cpp
qgstininterpolatordialog.cpp
DualEdgeTriangulation.cc
HalfEdge.cc
Line3D.cc
LinTriangleInterpolator.cc
MathUtils.cc
Node.cc
Point3D.cc
TriangleInterpolator.cc
Triangulation.cc
Vector3D.cc
)

SET (INTERPOLATION_UIS
qgsidwinterpolatordialogbase.ui
qgsinterpolationdialogbase.ui
qgstininterpolatordialogbase.ui
)

SET (INTERPOLATION_MOC_HDRS
qgsinterpolationplugin.h
qgstininterpolatordialog.h
qgsidwinterpolatordialog.h
qgsinterpolationdialog.h
)

########################################################
# Build

QT4_WRAP_UI (INTERPOLATION_UIS_H ${INTERPOLATION_UIS})

QT4_WRAP_CPP (INTERPOLATION_MOC_SRCS ${INTERPOLATION_MOC_HDRS})

ADD_LIBRARY (interpolationplugin MODULE ${INTERPOLATION_SRCS} ${INTERPOLATION_MOC_SRCS} ${INTERPOLATION_RCC_SRCS} ${INTERPOLATION_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
../../core ../../core/raster ../../core/renderer ../../core/symbology
../../gui
..
.
)

TARGET_LINK_LIBRARIES(interpolationplugin
qgis_core
qgis_gui
)


########################################################
# Install

INSTALL(TARGETS interpolationplugin
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})

0 comments on commit d2e83a0

Please sign in to comment.