show custom attributes also in double precision version

This commit is contained in:
alemuntoni 2021-06-14 13:05:35 +02:00
parent c62566b62d
commit 41d0dc1516
2 changed files with 6 additions and 9 deletions

View File

@ -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).

View File

@ -798,7 +798,7 @@ void LayerDialog::addDefaultNotes(QTreeWidgetItem * parent, MeshModel *meshModel
updateColumnNumber(faceItem);
std::vector<std::string> AttribNameVector;
vcg::tri::Allocator<CMeshO>::GetAllPerVertexAttribute< float >(meshModel->cm,AttribNameVector);
vcg::tri::Allocator<CMeshO>::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<CMeshO>::GetAllPerVertexAttribute< vcg::Point3f >(meshModel->cm,AttribNameVector);
vcg::tri::Allocator<CMeshO>::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<CMeshO>::GetAllPerFaceAttribute< float >(meshModel->cm,AttribNameVector);
vcg::tri::Allocator<CMeshO>::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<CMeshO>::GetAllPerFaceAttribute< vcg::Point3f >(meshModel->cm,AttribNameVector);
vcg::tri::Allocator<CMeshO>::GetAllPerFaceAttribute< Point3m >(meshModel->cm,AttribNameVector);
for(int i = 0; i < (int) AttribNameVector.size(); i++)
{
QTreeWidgetItem *vertItem = new QTreeWidgetItem();