Manipulations of Triangular Meshes Based on the 'VCGLIB' API

Operations on triangular meshes based on 'VCGLIB'. This package integrates nicely with the R-package 'rgl' to render the meshes processed by 'Rvcg'. The Visualization and Computer Graphics Library (VCG for short) is an open source portable C++ templated library for manipulation, processing and displaying with OpenGL of triangle and tetrahedral meshes. The library, composed by more than 100k lines of code, is released under the GPL license, and it is the base of most of the software tools of the Visual Computing Lab of the Italian National Research Council Institute ISTI <>, like 'metro' and 'MeshLab'. The 'VCGLIB' source is pulled from trunk <> and patched to work with options determined by the configure script as well as to work with the header files included by 'RcppEigen'.

Rvcg is an R-package providing methods for manipulations on triangular meshes by using the API of the VCGLIB library.

Within R:

  1. install devtools from within R (Ubuntu/Debian users will have to install libcurl4-gnutls-dev beforehand):

  2. Install build environment

    • Windows: Install latest version of Rtools During installation of Rtools make sure to install the toolchain, and to select "Edit the system path" (and confirming the installers suggestions).
    • OSX: Install XCODE

Run the following command in R:

        install_github("zarquon42b/Rvcg", local=FALSE)


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.20.2 by Stefan Schlager, 5 months ago,

Report a bug at

Browse source code at

Authors: Stefan Schlager [aut, cre, cph] , Girinon Francois [ctb] , Tim Schaefer [ctb]

Documentation:   PDF Manual  

Task views: Medical Image Analysis

GPL (>= 2) | file LICENSE license

Imports Rcpp, grDevices, stats, utils

Suggests Morpho, rgl

Linking to Rcpp, RcppEigen, RcppArmadillo

Imported by Arothron, Morpho, doolkit, morphomap.

Depended on by molaR.

Suggested by RRphylo, fsbrain, nat, rayrender, rayvertex.

See at CRAN