Changing the visibility of DataReferences?

I have a VisAD scene with a significant number (> 400) of DataReferenceImpl objects. Based on user interactions, i'd like to selectively toggle the visibility of individual items in this set. Currently, I'm doing this by calling display.removeReference() when I want to make a reference invisible, and addReference() when I want it to reappear.

This works fine, but it is a bit slow, particularly when - as is often the case - i want to adjust the visibility of multiple DataReferenceImpls all at once.

So, two questions:

1) is this the appropriate way to adjust the visibility of DataReferenceImpl objects? if not, what is?

2) is there any way to do a bulk adding/removing of references?



From owner-visad@xxxxxxxxxxxxxxxx 08 1999 Jun -0700 15:50:38
Message-ID: <87n1yagvcx.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: 08 Jun 1999 15:50:38 -0700
From: rossini@xxxxxxxxxxxxxxxxxxxxxx (A.J. Rossini)
To: visad-list@xxxxxxxxxxxxx
Subject: VisAD and JPython
Received: (from majordo@localhost)
        by (8.8.8/8.8.8) id QAA10021
        for visad-out; Tue, 8 Jun 1999 16:51:04 -0600 (MDT)
Received: from ( [])
        by (8.8.8/8.8.8) with ESMTP id QAA10014;
        Tue, 8 Jun 1999 16:51:02 -0600 (MDT)
Organization: .
Keywords: 199906082251.QAA10014
Received: (from majordom@localhost) by (8.7.1/8.7.1) id WAA53921 
for visad-list-list; Tue, 8 Jun 1999 22:50:41 GMT
X-Authentication-Warning: majordom set sender to 
owner-visad-list@xxxxxxxxxxxxx using -f
Received: from (mail@xxxxxxxxxxxxxxxxxxxxxxxxx 
[]) by (8.7.1/8.7.1) with ESMTP id RAA22941 for 
<visad-list@xxxxxxxxxxxxx>; Tue, 8 Jun 1999 17:50:39 -0500
Received: from rossini by with local (Exim 2.11 #1 
        for visad-list@xxxxxxxxxxxxx
        id 10rUha-0000iJ-00; Tue, 8 Jun 1999 15:50:38 -0700
Mime-Version: 1.0 (generated by tm-edit 1.4)
Content-Type: text/plain; charset=US-ASCII
Lines: 14
X-Mailer: Gnus v5.6.45/XEmacs 21.0(beta63) - "Pyrenean63"
X-Face:  -<j)glPpyMxjjYa%o`Fl{cZ`VPI-#@E3@_s,TY%)xt`pIu^@MS+d9}>JZ8Fs2;tGK&eaV#.
Sender: owner-visad@xxxxxxxxxxxxxxxx
Precedence: bulk

Has anyone used VisAD with JPython?  (just curious to know if people
have had any problems, before I get my feet too wet -- I've got it
"loaded", but havn't started really using it yet).


A.J. Rossini Research Assistant Professor of Biostatistics Center for AIDS Research UW Biostatistics 206-720-4282 (4209=fax) 206-543-1044 (xxxx=fax)
rossini@xxxxxxxxxxxxxxxx        rossini@xxxxxxxxxxxxxxxxxxxxxx

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