OOPS, Re: Newbie questions: selecting objects, changing viewpoints,

  • To: Harry Hochheiser <hsh@xxxxxxx>
  • Subject: OOPS, Re: Newbie questions: selecting objects, changing viewpoints,
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Thu, 5 Feb 2004 14:09:37 -0600 (CST)
On Thu, 5 Feb 2004, Bill Hibbard wrote:

> > 3) How would I go about changing the initial view (zoom and camera
> > position) of a DisplayImplJ3D?
>
> This would be via the getMatrix() and setMatrix of the
> ProjectionControlJ3D that you get from the getProjectionControl()
> method of the DisplayImplJ3D. The multiply_matrix() and
> make_matrix() methods of MouseBehaviorJ3D (or the
> static_multiply_matrix() and static_make_matrix()).

... can help you compute appropriate new matrices to pass
to setMatrix().


  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: