Package: Rvcg 0.24

Stefan Schlager

Rvcg: 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 <https://vcg.isti.cnr.it/>, like 'metro' and 'MeshLab'. The 'VCGLIB' source is pulled from trunk <https://github.com/cnr-isti-vclab/vcglib> and patched to work with options determined by the configure script as well as to work with the header files included by 'RcppEigen'.

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

Rvcg_0.24.tar.gz
Rvcg_0.24.tar.gz(r-4.5-noble)Rvcg_0.24.tar.gz(r-4.4-noble)
Rvcg_0.24.tgz(r-4.4-emscripten)Rvcg_0.24.tgz(r-4.3-emscripten)
Rvcg.pdf |Rvcg.html
Rvcg/json (API)
NEWS

# Install 'Rvcg' in R:
install.packages('Rvcg', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/zarquon42b/rvcg/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

6.10 score 1 stars 29 packages 211 scripts 2.3k downloads 10 mentions 60 exports 3 dependencies

Last updated 3 months agofrom:f293dd82b7. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-linux-x86_64OKNov 20 2024

Exports:checkFaceOrientationcheckNormOrientmeshInfomeshintegritynfacesnvertssetRaysvcgAreavcgBallPivotingvcgBaryvcgBordervcgBoxvcgCleanvcgClostvcgClostKDvcgClostOnKDtreeFromBarycentersvcgConevcgCreateKDtreevcgCreateKDtreeFromBarycentersvcgCurvevcgDijkstravcgDodecahedronvcgFaceNormalsvcgGeodesicPathvcgGeodistvcgGetEdgevcgHexahedronvcgIcosahedronvcgImportvcgIsolatedvcgIsosurfacevcgIsotropicRemeshingvcgKDtreevcgKmeansvcgMeshresvcgMetrovcgNonBorderEdgevcgObjWritevcgOctahedronvcgOffWritevcgPlyReadvcgPlyWritevcgQEdecimvcgRaySearchvcgSamplevcgSearchKDtreevcgSmoothvcgSmoothImplicitvcgSpherevcgSphericalCapvcgSquarevcgStlWritevcgSubdividevcgTetrahedronvcgUniformRemeshvcgUpdateNormalsvcgVertexNeighborsvcgVFadjvcgVolumevcgWrlWrite

Dependencies:RcppRcppArmadilloRcppEigen

Readme and manuals

Help Manual

Help pageTopics
Interface between R and vcglib libraries for mesh operationsRvcg-package Rvcg
check the orientation of a meshcheckFaceOrientation
dummyhead - dummy head and landmarksdummyhead dummyhead.lm dummyhead.mesh
Example mesh and landmarkshumface humface.lm humfaceClean
print number of vertices and triangular faces of a meshmeshInfo
check if an object of class mesh3d contains valid datameshintegrity
get number of vertices from a meshnfaces
get number of vertices from a meshnverts
helper function to create an object to be processed by vcgRaySearchsetRays
compute surface area of a triangular meshvcgArea
Ball pivoting surface reconstructionvcgBallPivoting
get barycenters of all faces of a triangular meshvcgBary
find all border vertices and faces of a triangular meshvcgBorder
Clean triangular surface meshesvcgClean
Project coordinates onto a target triangular surface mesh.vcgClost
Project coordinates onto a target triangular surface mesh using KD-tree searchvcgClostKD
search a KD-tree from Barycenters for multiple closest point searches on a meshvcgClostOnKDtreeFromBarycenters
create a KD-treevcgCreateKDtree
create a KD-tree from Barycenters for multiple closest point searches on a meshvcgCreateKDtreeFromBarycenters
calculate curvature of a triangular meshvcgCurve
Compute pseudo-geodesic distances on a triangular meshvcgDijkstra
Compute normalized face normals for a mesh.vcgFaceNormals
Compute geodesic path and path length between vertices on a meshvcgGeodesicPath
Compute pseudo-geodesic distance between two points on a meshvcgGeodist
Get all edges of a triangular meshvcgGetEdge
Import common mesh file formats.vcgImport
Remove isolated pieces from a surface mesh or split into connected componentsvcgIsolated
Create Isosurface from 3D-arrayvcgIsosurface
Isotropically remesh a triangular surface meshvcgIsotropicRemeshing
perform kdtree search for 3D-coordinates.vcgKDtree
fast Kmean clustering for 1D, 2D and 3D datavcgKmeans
calculates the average edge length of a triangular meshvcgMeshres
evaluate the difference between two triangular meshes.vcgMetro
Get all non-border edgesvcgNonBorderEdge
Export meshes to OBJ-filesvcgObjWrite
Export meshes to OFF-filesvcgOffWrite
Import ascii or binary PLY files.vcgPlyRead
Export meshes to PLY-filesvcgPlyWrite vcgPlyWrite.matrix vcgPlyWrite.mesh3d
Performs Quadric Edge Decimation on triangular meshes.vcgQEdecim
check if a mesh is intersected by a set of raysvcgRaySearch
Subsamples points on a mesh surfacevcgSample
search an existing KD-treevcgSearchKDtree
Smoothes a triangular meshvcgSmooth
Implicit Smoothes a triangular meshvcgSmoothImplicit
create platonic objects as triangular meshesvcgBox vcgCone vcgDodecahedron vcgHexahedron vcgIcosahedron vcgOctahedron vcgSphere vcgSphericalCap vcgSquare vcgTetrahedron
Export meshes to STL-filesvcgStlWrite
subdivide the triangles of a meshvcgSubdivide
Resample a mesh uniformlyvcgUniformRemesh
updates vertex normals of a triangular meshes or point cloudsvcgUpdateNormals
Compute mesh adjacency list representation or the vertex neighborhoods of specific mesh vertices.vcgVertexNeighbors
find all faces belonging to each vertex in a meshvcgVFadj
Compute volume for manifold meshesvcgVolume
Export meshes to WRL-filesvcgWrlWrite