Effacer les filtres
Effacer les filtres

Selecting data points in 3D space

4 vues (au cours des 30 derniers jours)
Itzik Ben Shabat
Itzik Ben Shabat le 14 Déc 2012
Commenté : KRush le 25 Mai 2016
Hi, I am plotting data points in 3d space. what i wish to do is allow a user to select a volume of interest. is there a function that allows to do this? I know that in 2d there are functions such as imrect() and inpolygon() that allow the user to draw a rectangle and then see which points are inside. is there a 3d equivalent to these functions?
  1 commentaire
KRush
KRush le 25 Mai 2016
For those who are seeking answers of the similar problems, using viewmtx to map 3d position [x y z] to 2d space is an option. Then you can solve the problem as in 2d coordinates.

Connectez-vous pour commenter.

Réponses (1)

Jürgen
Jürgen le 14 Déc 2012
Hi, in file exchange there is a file to extract a Volume of Interest, do no if that can help? regards,J
  3 commentaires
Jürgen
Jürgen le 14 Déc 2012
I looked for the 3d version of inmrect when I saw your question but could not directly find something,
Sean de Wolski
Sean de Wolski le 14 Déc 2012
imrect() works in 3d but only along x/y

Connectez-vous pour commenter.

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by