Re: [visad] Put random text on top of 3D display

  • To: Nguyen Tam Chinh <chinh@xxxxxxxxxx>
  • Subject: Re: [visad] Put random text on top of 3D display
  • From: Tom Whittaker <whittaker@xxxxxxxx>
  • Date: Wed, 04 Aug 2010 09:26:26 -0500
Hi --

I would suggest looking at these VisAD examples:

If you are using Jython, however, I suggest you look in the
module at the "drawString()" method (plus the init() method that does
the scalar mappings).

I will have to let others comment on how to tie these to the cursor position....

Hope this helps.


On Wed, Aug 4, 2010 at 4:59 AM, Nguyen Tam Chinh <chinh@xxxxxxxxxx> wrote:
> Dear All,
> I just started with Visad programming recently so quite new to everything. 
> There is one problem that cracks my head for the last 2 days is to control 
> the text on the 2D or 3D display.
> For example I have DisplayImplJ3D showing a 3D plot from netcdf. I'd like to 
> put a of text or label/annotation ontop but seems it's not straight-forward 
> to do. I'd like to be able to control the text content so that I can 
> manipulate the content according to the current cursor position.
> Would you please kindly advise what is the best way to do this? I'm using 
> SWT_AWT bridge.
> Thank you so much!
> --
> With best regards,
> Chinh
> PS. Seems not many people use visad around, Google hardly gives me good 
> search result ...
> _______________________________________________
> visad mailing list
> visad@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit: 

Tom Whittaker
University of Wisconsin-Madison
Space Science & Engineering Center (SSEC)
Cooperative Institute for Meteorological Satellite Studies (CIMSS)
1225 W. Dayton Street
Madison, WI  53706  USA
ph: +1 608 262 2759

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