Hello OpenMesh Team, Thanks for developing OpenMesh and all of its features ! We got a problem when we try to switch to Eigen::vector3d as data type, specifiing the mesh as desribed in https://www.openmesh.org/media/Documentations/OpenMesh-Doc-Latest/a04077.htm... always leads to an Error C2440 '<function-style-cast>': cannot convert from 'const Eigen::Matrix<double,3,1,0,3,1>' to 'OpenMesh::NormalConeT<double>' (compiling source file include\OpenMesh\Tools\Decimater\ModNormalDeviationT.hh 224 Line 224 of ModNormalDeviationT.hh merge(NormalCone(mesh_.normal(*vf_it))); there a Eigen::Vector3d can not be converted to a scalar. When i switch back from Eigen representaion, everything works. We are using Visual Studio 2017 an OpenMesh 8.0. Thanks and best regards, Matthias Hackel -- Matthias Hackel Mabotic - Robotics & Automation Bonner Strasse 4 51379 Leverkusen, Germany phone: +49(0)2171-3944591 fax: +49(0)2171-5823632 mobile: +49(0)175-4069307 email: hackel@mabotic.de Web: http://www.mabotic.de Diese Nachricht (E-Mail) enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte umgehend den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren als auch die unbefugte Weitergabe dieser Mail ist nicht gestattet. This message (e-mail) may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender in return and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is hereby strictly forbidden.
Hello Matthias, thanks for the bug report. The problem should be fixed in the "EigenDecimation" branch. Could you check if this resolves your problem? Kind regards, Max On 19.12.19 11:50, Matthias Hackel wrote:
Hello OpenMesh Team, Thanks for developing OpenMesh and all of its features ! We got a problem when we try to switch to Eigen::vector3d as data type, specifiing the mesh as desribed in https://www.openmesh.org/media/Documentations/OpenMesh-Doc-Latest/a04077.htm... always leads to an Error
C2440 '<function-style-cast>': cannot convert from 'const Eigen::Matrix<double,3,1,0,3,1>' to 'OpenMesh::NormalConeT<double>' (compiling source file include\OpenMesh\Tools\Decimater\ModNormalDeviationT.hh 224
Line 224 of ModNormalDeviationT.hh
merge(NormalCone(mesh_.normal(*vf_it)));
there a Eigen::Vector3d can not be converted to a scalar. When i switch back from Eigen representaion, everything works. We are using Visual Studio 2017 an OpenMesh 8.0. Thanks and best regards, Matthias Hackel
_______________________________________________ OpenMesh mailing list -- openmesh@lists.rwth-aachen.de To unsubscribe send an email to openmesh-leave@lists.rwth-aachen.de https://lists.rwth-aachen.de/postorius/lists/openmesh.lists.rwth-aachen.de
-- Max Lyon, M.Sc. Department of Computer Sciences 8 RWTH Aachen University Ahornstrasse 55, 52074 Aachen, Germany
participants (2)
-
Matthias Hackel
-
Max Lyon