Skip to content
Snippets Groups Projects
Commit bbd6b7c1 authored by Anthony Mallet's avatar Anthony Mallet
Browse files

[wip/vcglib] Removed - imported into graphics/vcglib

parent d5c6b1e9
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,6 @@ SUBDIR+= python-simpleparse
SUBDIR+= robot-viewer
SUBDIR+= sot-gui
SUBDIR+= stackoftasks
SUBDIR+= test
SUBDIR+= vcglib
SUBDIR+= visp
include ../mk/robotpkg.subdir.mk
The VCG Lib could be defined as a portable C++ templated library for the
manipulation, processing of triangle and tetrahedral meshes, but that would be
unfair. VCG Lib is a library for managing 0,1,2 and 3-simplicial complexes,
which means Point Sets, Edge Mesh, Triangle Mesh and Tetrahedral Meshes. To be
completely honest, it is starting to support polygon meshes as well (stay
tuned).
It just happens that the research interests of the developers leaded to develop
mesh processing algorithms mostly for triangle meshes, but the kernel is there
waiting... However, to avoid annoying the reader with 0-simplices, maximal
simplices and so on, in this tutorial we will always refer to the case of
triangle meshes, extending the explanation to the other cases only where
appropriate.
The library, released under the GPL license, is the result of the collaborative
efforts of the Visual Computing Lab of the ISTI - an institute of the Italian
National Research Council (CNR).
# robotpkg Makefile for: modeling/vcglib
# Created: nksallem on Wed, 25 Aug 2010
#
PKGVERSION= 20100824
PKGNAME= vcglib-${PKGVERSION}
DISTNAME= vcglib-${PKGVERSION}.svn3811
CATEGORIES= modeling devel
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=external/vcglib/}
MASTER_REPOSITORY= \
svn https://vcg.svn.sourceforge.net/svnroot/vcg/trunk/vcglib
MAINTAINER= mallet@laas.fr
HOMEPAGE= http://vcg.sourceforge.net/index.php/VCGLib
COMMENT= C++ templated library for mesh manipulation
LICENSE= gnu-gpl-v2
INSTALL_TARGET= install
WRKSRC= ${WRKDIR}/vcglib
USE_LANGUAGES= c++
# fix path to eigen
SUBST_CLASSES+= eigen
SUBST_MESSAGE.eigen= Fixing Eigen path in headers.
SUBST_STAGE.eigen= post-extract
SUBST_SED.eigen= -e 's,\(..\|vcg\)/Eigen,Eigen,g'
SUBST_FILES.eigen=\
vcg/math/eigen.h \
vcg/complex/trimesh/update/curvature_fitting.h \
vcg/complex/trimesh/update/fitmaps.h
# doc option ---------------------------------------------------------------
PKG_SUPPORTED_OPTIONS+= doc
PKG_SUGGESTED_OPTIONS+= doc
PKG_OPTION_DESCR.doc?= Install ${PKGBASE} documentation
define PKG_OPTION_SET.doc
include ../../mk/sysdep/doxygen.mk
INSTALL_TARGET+= install-doc
WRKSRC= ${WRKDIR}/vcglib
DOXYGEN_PLIST_DIR+= share/doc/vcglib/html
CMAKE_ARGS+=-DDOXYGEN_EXECUTABLE=${DOXYGEN}
endef # doc ----------------------------------------------------------------
include ../../math/eigen2/depend.mk
include ../../mk/sysdep/cmake.mk
include ../../mk/robotpkg.mk
post-extract:
${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC}
${RM} -rf ${WRKSRC}/vcg/Eigen
${RMDIR} \
${WRKSRC}/vcg/simplex/vertexplus \
${WRKSRC}/vcg/simplex/faceplus \
${WRKSRC}/vcg/simplex/edgeplus
This diff is collapsed.
# robotpkg depend.mk for: modeling/vcglib
# Created: nksallem on Wed, 25 Aug 2010
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
VCGLIB_DEPEND_MK:= ${VCGLIB_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= vcglib
endif
ifeq (+,$(VCGLIB_DEPEND_MK)) # ---------------------------------------------
PREFER.vcglib?= robotpkg
DEPEND_USE+= vcglib
DEPEND_ABI.vcglib?= vcglib>=20100824
DEPEND_DIR.vcglib?= ../../wip/vcglib
SYSTEM_SEARCH.vcglib=\
include/vcglib/vcg/complex/all_types.h \
include/vcglib/vcg/simplex/vertex/base.h \
include/vcg/space/space.h
endif # VCGLIB_DEPEND_MK ---------------------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
SHA1 (vcglib-20100824.svn3811.tar.gz) = 32fc3c51d646b2f987817db91a3a495a58914437
RMD160 (vcglib-20100824.svn3811.tar.gz) = e432b340699712ab95c6e3b8848f52b293fbc9ea
Size (vcglib-20100824.svn3811.tar.gz) = 4796413 bytes
cmake_minimum_required(VERSION 2.6)
project(VCGLib CXX)
set(version 20100824)
# headers
install(DIRECTORY vcg wrap img DESTINATION include/vcglib
FILES_MATCHING PATTERN "*.h")
# doxygen
find_package(Doxygen)
if(DOXYGEN_FOUND)
add_custom_target(doc
${DOXYGEN_EXECUTABLE} doxyfile
WORKING_DIRECTORY ${VCGLib_SOURCE_DIR}/docs/Doxygen
COMMENT "Generating API documentation with Doxygen" VERBATIM)
add_custom_target(install-doc ${CMAKE_COMMAND} -E copy_directory ${VCGLib_SOURCE_DIR}/docs/Doxygen/html ${CMAKE_INSTALL_PREFIX}/share/doc/vcglib/html
COMMAND ${CMAKE_COMMAND} -E copy "introduction to vcg.ppt" ${CMAKE_INSTALL_PREFIX}/share/doc/vcglib/
COMMAND ${CMAKE_COMMAND} -E copy StyleGuide.html ${CMAKE_INSTALL_PREFIX}/share/doc/vcglib/
COMMAND ${CMAKE_COMMAND} -E copy style.txt ${CMAKE_INSTALL_PREFIX}/share/doc/vcglib/
COMMAND ${CMAKE_COMMAND} -E copy vcgstructure.txt ${CMAKE_INSTALL_PREFIX}/share/doc/vcglib/
COMMAND ${CMAKE_COMMAND} -E copy_directory ${VCGLib_SOURCE_DIR}/apps ${CMAKE_INSTALL_PREFIX}/share/doc/vcglib/examples
WORKING_DIRECTORY ${VCGLib_SOURCE_DIR}/docs
COMMENT "Installing documentation" VERBATIM)
add_dependencies(install-doc doc)
endif(DOXYGEN_FOUND)
# libply
include_directories(wrap/ply)
add_library(vcgply SHARED wrap/ply/plylib.cpp)
set_property(TARGET vcgply PROPERTY VERSION ${version})
install(TARGETS vcgply LIBRARY DESTINATION lib)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment