From 41d0dc1516dd8188e2b14d9a027f04206fd4e3d4 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Mon, 14 Jun 2021 13:05:35 +0200 Subject: [PATCH] show custom attributes also in double precision version --- README.md | 7 ++----- src/meshlab/layerDialog.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a902db3db..6ca965ac9 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is the official repository for the source and the binaries of [MeshLab](https://www.MeshLab.net). -MeshLab is an open source, portable, and extensible system for the processing and editing of unstructured large 3D triangular meshes. It is aimed to help the processing of the typical not-so-small unstructured models arising in 3D scanning, providing a set of tools for editing, cleaning, healing, inspecting, rendering and converting this kind of meshes. +MeshLab is an open source, portable, and extensible system for the processing and editing of unstructured large 3D triangular meshes. It is aimed to help the processing of the typical not-so-small unstructured models arising in 3D scanning, providing a set of tools for editing, cleaning, healing, inspecting, rendering and converting this kind of meshes. MeshLab is mostly based on the open source C++ mesh processing library [VCGlib](http://www.vcglib.net) developed at the [Visual Computing Lab](http://vcg.isti.cnr.it) of [ISTI - CNR](http://www.isti.cnr.it). VCG can be used as a stand-alone large-scale automated mesh processing pipeline, while MeshLab makes it easy to experiment with its algorithms interactively. @@ -51,7 +51,7 @@ The MeshLab repository is organized as follows: Paolo Cignoni \/)\/ Visual Computing Lab http://vcg.isti.cnr.it /\/| ISTI - Italian National Research Council | - Copyright(C) 2005-2018 \ + Copyright(C) 2005-2021 \ ``` # References @@ -86,6 +86,3 @@ DOI = {10.2312/LocalChapterEvents/ItalChap/ItalianChapConf2008/129-136} For documented and repeatable bugs, feature requests, etc., please use the [GitHub issues](https://github.com/cnr-isti-vclab/meshlab/issues). For general questions use [StackOverflow](http://stackoverflow.com/questions/tagged/meshlab). - - - diff --git a/src/meshlab/layerDialog.cpp b/src/meshlab/layerDialog.cpp index ff55a278f..e2bdcbcef 100644 --- a/src/meshlab/layerDialog.cpp +++ b/src/meshlab/layerDialog.cpp @@ -798,7 +798,7 @@ void LayerDialog::addDefaultNotes(QTreeWidgetItem * parent, MeshModel *meshModel updateColumnNumber(faceItem); std::vector AttribNameVector; - vcg::tri::Allocator::GetAllPerVertexAttribute< float >(meshModel->cm,AttribNameVector); + vcg::tri::Allocator::GetAllPerVertexAttribute< Scalarm >(meshModel->cm,AttribNameVector); for(int i = 0; i < (int) AttribNameVector.size(); i++) { QTreeWidgetItem *vertItem = new QTreeWidgetItem(); @@ -808,7 +808,7 @@ void LayerDialog::addDefaultNotes(QTreeWidgetItem * parent, MeshModel *meshModel updateColumnNumber(vertItem); } AttribNameVector.clear(); - vcg::tri::Allocator::GetAllPerVertexAttribute< vcg::Point3f >(meshModel->cm,AttribNameVector); + vcg::tri::Allocator::GetAllPerVertexAttribute< Point3m >(meshModel->cm,AttribNameVector); for(int i = 0; i < (int) AttribNameVector.size(); i++) { QTreeWidgetItem *vertItem = new QTreeWidgetItem(); @@ -817,7 +817,7 @@ void LayerDialog::addDefaultNotes(QTreeWidgetItem * parent, MeshModel *meshModel parent->addChild(vertItem); updateColumnNumber(vertItem); } - vcg::tri::Allocator::GetAllPerFaceAttribute< float >(meshModel->cm,AttribNameVector); + vcg::tri::Allocator::GetAllPerFaceAttribute< Scalarm >(meshModel->cm,AttribNameVector); for(int i = 0; i < (int) AttribNameVector.size(); i++) { QTreeWidgetItem *vertItem = new QTreeWidgetItem(); @@ -827,7 +827,7 @@ void LayerDialog::addDefaultNotes(QTreeWidgetItem * parent, MeshModel *meshModel updateColumnNumber(vertItem); } AttribNameVector.clear(); - vcg::tri::Allocator::GetAllPerFaceAttribute< vcg::Point3f >(meshModel->cm,AttribNameVector); + vcg::tri::Allocator::GetAllPerFaceAttribute< Point3m >(meshModel->cm,AttribNameVector); for(int i = 0; i < (int) AttribNameVector.size(); i++) { QTreeWidgetItem *vertItem = new QTreeWidgetItem();