The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Interactively placing points onto 3D surfaces
Replies: 1   Last Post: Dec 8, 2012 1:28 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Bob Hanlon

Posts: 906
Registered: 10/29/11
Re: Interactively placing points onto 3D surfaces
Posted: Dec 8, 2012 1:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

A clicking on a point on a 3D graphic would represent an infinite
number of points on the line extending straight back into the 3D

One approach would be use intersecting orthogonal lines to designate a
point. You could rotate the 3D graphic as you adjusted the line
locations to help identify the specific point of interest.

{Cos[u], Sin[u] + Cos[v], Sin[v]},
{u, 0, 2 \[Pi]}, {v, -\[Pi], \[Pi]},
PlotStyle -> Opacity[.5]],
Red, Line[{{-1, y, z}, {1, y, z}}],
Blue, Line[{{x, -2, z}, {x, 2, z}}],
Green, Line[{{x, y, -1}, {x, y, 1}}]}]],
StringForm["Point coordinates: ``",
Dynamic[pt = {x, y, z}]]}],
{{x, 0, "x (red fixed)"}, -1, 1, Appearance -> "Labeled"},
{{y, 0, "y (blue fixed)"}, -2, 2, Appearance -> "Labeled"},
{{z, 0, "z (green fixed)"}, -1, 1, Appearance -> "Labeled"}]


Bob Hanlon

On Fri, Dec 7, 2012 at 1:37 AM, <> wrote:
> Howdy folks.
> Could someone please help smash thru my current brick wall?
> I generate 3D surfaces from medical anatomy files (".off" files). I would like to be able to scroll the mouse over the surface & click to set an interactive point on the surface, & have the program be able to read the {x,y, z} coordinates of the new point.
> Can anyone point me in the right direction.
> Thanks very much.
> Tom

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.