Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Locator3D or Slider3D code?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84507] Re: Locator3D or Slider3D code?
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Mon, 31 Dec 2007 21:14:20 -0500 (EST)
  • References: <fla7ij$ffe$1@smc.vnet.net>

G. Raymond Brown wrote:
>  Has anyone written code to implement a 3D Slider or 3D Locator for use
> in Manipulate?  (And willing to share it?)  I'm thinking of control with
> a mouse, using the scroll wheel for the 3rd degree of freedom.  I would
> love to have this functionality, but intimidated at the prospect of
> trying to code it myself.  I found no help in searching the archives of
> this group.
> 
> Alternatively, does anyone know if this functionality might be on the
> horizon coming from Wolfram?
> 
> I could, of course, use 3 1D sliders for each point location, or 1 2D
> slider and another 1D slider, but this is awkward, and, I think, a
> violation of the spirit of a Demonstration.
> 

Depending on the application, MousePosition["Graphics3DBoxIntercepts"] 
may be useful.  See this thread for an example on how it works:

http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/3f40635cfe3356d6/ddce2618863af9d3

Szabolcs


  • Prev by Date: Re: Unevaluated limit
  • Next by Date: Re: Unevaluated limit
  • Previous by thread: Locator3D or Slider3D code?
  • Next by thread: Unevaluated limit