SCM

[#6293] Select surface mesh vertex

Date:
2016-02-18 16:04
Priority:
3
State:
Open
Submitted by:
Chris Hammill (cfhammill)
Assigned to:
Nobody (None)
Product:
None
Operating System:
Linux
Component:
None
Summary:
Select surface mesh vertex

Detailed description
Hi,

I'm trying to build some visualization capabilities for 3D brain objects in R, similar in spirit to the brainR package.

A feature that would be really useful for my work is the ability to select vertices on a mesh. I've had mixed success with the selectpoints3d function, the difficulty being that when closest = TRUE, the vertex selected may be on the other-side of the mesh. When I select a region instead of a point with closest = FALSE, I get a matrix of vertices some of which are from the other side of the mesh.

My potential solution was to multiply the returned coordinates by the par3d("userMatrix") and take the vertex closest to par3d("observer").

Would this work? Is there a better way? And does this feature belong in rgl?

Thanks,

Chris

Comments:

No Comments Have Been Posted

Attached Files:

Changes

No Changes Have Been Made to This Item

Thanks to:
Vienna University of Economics and Business Powered By FusionForge