Learn R Programming

⚠️There's a newer version (0.24) of this package.Take me there.

Rvcg (version 0.9)

Manipulations of triangular meshes (smoothing, quadric edge collapse decimation, im- and export of various mesh file-formats, cleaning, etc.) based on the VCGLIB API.

Description

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 (http://vcg.isti.cnr.it), like metro and MeshLab. The vcglib source is pulled from trunk (svn://svn.code.sf.net/p/vcg/code/trunk/vcglib) and patched to work with options determined by the configure script as well as to work with the header files included by RcppEigen.

Copy Link

Version

Install

install.packages('Rvcg')

Monthly Downloads

2,923

Version

0.9

License

GPL (>= 2) | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Stefan Schlager

Last Published

September 23rd, 2014

Functions in Rvcg (0.9)

vcgUpdateNormals

updates vertex normals of a triangular meshes or point clouds
dummyhead

dummyhead - dummy head and landmarks
vcgNonBorderEdge

Get all non-border edges
vcgKDtree

perform kdtree search for 3D-coordinates.
vcgBary

get barycenters of all faces of a triangular mesh
vcgBorder

find all border vertices and faces of a triangular mesh
vcgClean

Clean triangular surface meshes
vcgCurve

calculate curvature of a triangular mesh
vcgQEdecim

Performs Quadric Edge Decimation on triangular meshes.
vcgImport

Import common mesh file formats.
setRays

helper function to create an object to be processed by vcgRaySearch
vcgMeshres

calculates the average edge length of a triangular mesh
vcgPlyWrite

Export meshes to PLY-files
vcgSmooth

Smoothes a triangular mesh
vcgClost

Project coordinates onto a target triangular surface mesh.
vcgIsosurface

Create Isosurface from 3D-array
vcgSample

Subsamples points on a mesh surface
vcgClostKD

Project coordinates onto a target triangular surface mesh using KD-tree search
humface

Example mesh and landmarks
vcgGetEdge

Get all edges of a triangular mesh
vcgPlyRead

Import ascii or binary PLY files.
Rvcg-package

Interface between R and vcglib libraries for mesh operations
vcgRaySearch

check if a mesh is intersected by a set of rays
vcgVFadj

find all faces belonging to each vertex in a mesh
meshintegrity

check if an object of class mesh3d contains valid data
vcgIsolated

Remove isolated pieces from a surface mesh.