Hi,
today we released OpenMesh 4.0 which is still fully backward compatible
with the 2.x and 3.x branch. We marked some functions which should not
be used anymore as deprecated and added hints which should be used instead.
The version jump is mainly to indicate the changed license, which is now
BSD-3. Although it's even more open we still encourage users of the
library to submit bugfixes and improvements back to the project.
The other changes incorporate mostly bugfixes. Next to these we added
support for custom properties to the PLY reader and improved the
documentation for the I/O section.
This will be the last release supporting VS2008 and VS2010 and other
compilers lacking C++11 support.
As usual the full changelog is available on our website:
http://www.openmesh.org/media/Documentations/OpenMesh-4.0-Documentation/a00…
Best,
Jan Möbius
--
Dipl.Inform. Jan Möbius
Department of Computer Science VIII
Aachen University of Technology (RWTH)
Ahornstrasse 55, 52074 Aachen, Germany
Phone ++49 (0)241 80-21802
Fax ++49 (0)241 80-22899
mailto:moebius@cs.rwth-aachen.de
http://www.rwth-graphics.de
Hi OpenFlipper Users,
Let me know how to save boundary edges as new file.
Boundary edges were extracted as the attached file.
However, I don't know how to save it.
Sincerely yours,
Yoshiyuki
--
------------------------------------------------------------
愛知工業大学工学部土木工学科
山本義幸
〒470-0392 愛知県豊田市八草町八千草1247
TEL:(0565)48-8121(代表)、FAX:(0565)48-3749(代表)
HP: http://ait-survey.com/
Mail: y_yamamoto(a)aitech.ac.jp
------------------------------------------------------------
Department of Civil Engineering,
Faculty of Engineering,
Aichi Institute of Technology.
Yoshiyuki Yamamoto
1247 Yachikusa, Yakusa Cho, Toyota, Aichi 470-0392 JAPAN
TEL:+81-565-48-8121 FAX:+81-565-48-3749
HP: http://ait-survey.com/
Mail: y_yamamoto(a)aitech.ac.jp
Hello,
I'm using .obj for OpenFlipper.
Is there any way to tell if a .obj contains face color or not from code?
I found that if I checked "Load Face Colors" in the popup options,
has_face_colors() will always return true no matter this .obj contains face
color or not.
The resulting color is invalid if this .obj does not contains face color.
However, I can't tell this from my code.
I would like to run a batch for several .objs that some of them contain
face color and some others does not so I can't unchecked this option one by
one manualy.
Thanks,
MBRSL
Hello,
I'm trying to visualize data on mesh with color. However, I have trouble to
show both edges and faces colors at the same time. Is there some tips or
hacks to achieve it? If not, can I show edge colors in Hiddenline mode?
EDGES_COLORED mode does not draw faces so it show the edges at rear that I
do not need.
Thanks,
MBRSL
Hi,
I can just guess.
Typicall errors:
typo in function name?
forgot to declare it as “slot”? private/public?
forgot to inherited from the corresponding interface?
The Move Plugin for example uses this Slot, maybe you can compare it with your plugin.
Greets,
Matthias Moeller
Von: Juliette Pera
Gesendet: Donnerstag, 16. April 2015 15:24
An: Matthias Möller
Hi Matthias,
Thank you for your answer!
The thing is I already tried to use this slot and modify it in my code ( right now only display "cleared" ) but when I actually click on the "clear all" action, it doesn't seems to be executed.
Do you know where it might comes from?
Thanks again,
Juliette
2015-04-16 15:10 GMT+02:00 Möller, Matthias <matthias.moeller(a)rwth-aachen.de>:
Hi,
you can use the slot from BaseInterface "slotAllCleared()"( http://openflipper.org/Daily-Builds/Doc/Free/Developer/a00314.html#aa00a311… )
for reciving the signal.
The slot can be defined in your plugin and will be executed whenever a "clear all" action was performed via GUI or via script or in a plugin.
Greets,
Matthias M.
Von: openflipper-bounces(a)lists.rwth-aachen.de [openflipper-bounces(a)lists.rwth-aachen.de]" im Auftrag von "Juliette Pera [juliette.pera(a)gmail.com]
Gesendet: Donnerstag, 16. April 2015 12:44
An: openflipper(a)lists.rwth-aachen.de
Betreff: [Openflipper] re-initialize plugin when user click on Clear all
Hi,
I would like to integrate in my plugin a function that will reinitialize my plugin whenever the user click on "Clear all".
Should I connect directly a function that I create to this action button?
If anyone already did it, I would really appreciate some help!
Thank you,
Juliette
--
Juliette Pera
forget CC
________________________________
Von: Möller, Matthias
Gesendet: Donnerstag, 16. April 2015 15:16
An: Juliette Pera
Betreff: AW: [Openflipper] conversion from screen coordinates to mesh coordinates
Hi Juliette,
if you just want the position on your mesh which is on the scenegraph,
I would recommend to use the function "PluginFunctions::scenegraphPick(...)" (http://openflipper.org/Daily-Builds/Doc/Free/Developer/a03293.html#a0ae515c…)
The last parameter "_hitPointPtr" gives you the hit point in world space.
Hopefully I could help.
Greets,
Matthias M.
________________________________
Von: openflipper-bounces(a)lists.rwth-aachen.de [openflipper-bounces(a)lists.rwth-aachen.de]" im Auftrag von "Juliette Pera [juliette.pera(a)gmail.com]
Gesendet: Donnerstag, 16. April 2015 12:03
An: openflipper(a)lists.rwth-aachen.de
Betreff: [Openflipper] conversion from screen coordinates to mesh coordinates
Hi all,
I am trying to drag a vertex of a mesh from its position to a new one using the two events: mouse button press and mouse button release.
Do you know an easy way to convert the position of the mouse from the screen coordinate to my mesh coordinate?
Thank you in advance,
Juliette
Hi,
I would like to integrate in my plugin a function that will reinitialize my
plugin whenever the user click on "Clear all".
Should I connect directly a function that I create to this action button?
If anyone already did it, I would really appreciate some help!
Thank you,
Juliette
Hi all,
I am trying to drag a vertex of a mesh from its position to a new one using
the two events: mouse button press and mouse button release.
Do you know an easy way to convert the position of the mouse from the
screen coordinate to my mesh coordinate?
Thank you in advance,
Juliette
Hi all,
I am trying to drag a vertex of a mesh from its position to a new one using
the two events: mouse button press and mouse button release.
I can detect those two events and the positions of my mouse in the screen
at both times.
When I click the button close to a vertex, I use the following function in
order to get the corresponding point in the coordinate system of my mesh:
PluginFunctions::scenegraphPick(ACG::SceneGraph::PICK_ANYTHING,_event->pos
(), node_idx, target_idx, &hitPoint);
But once I move my mouse and release it, I can only get the position of my
mouse in the screen.
Do you know an easy way to convert the position of the mouse from the
screen coordinate to my mesh coordinate?
Thank you in advance,
Juliette
Hello,
I'm trying to add an existing TriMesh into scene but got some error.
The TriMesh object is generated by myself (not by the core of
OpenFlipper) to store the result of my algorithm. I would like to add
it into scene but found no suitable functions.
I tried to use LoadSaveInterface::addEmptyObject to create an empty
TriMeshObject first and then change its underlying data using
MeshObject<MeshT>::mesh(). This seems fine until I called
OpenMesh::PolyMeshT<Kernel>::update_face_normals(). My debugger showed
that the assertion in
const PropertyT<T>& property(BasePropHandleT<T> _h) in
PropertyContainer.hh failed when accessing point_ property. The point_
property is fine and I did call request_face_normals() before
update_face_normals(). I also tested this mesh with TriMesh.point()
and got no errors. Unlike previous case, it use static_cast so no
assertion error occurs.
For dependency reason, I need to separate algorithm from UI-related
codes. So I would like to avoid using
LoadSaveInterface::addEmptyObject in my algorithm class. And it's not
possible for me to use LoadSaveInterface::addEmptyObject before my
algorithm because I don't know how many meshes will be created.
Any suggestion? Thank you.
MBRSL