This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: Bill Hibbard <address@hidden> >Organization: SSEC >Keywords: 200403031353.i23Dr9rV006187 data probe manipulation Hi Bill- > >> >One approach is take the Data obejct for the probe, call it >> >probe_data, and put it a Tuple (probe_data, z) and replace >> >the ConstantMap to ZAxis with a ScalarMap z -> ZAxis. Can >> >this work for you? >> >> I'll have to ponder this. The probe is acutally a shape, but >> I don't see why this wouldn't work. Of course, then I'd have >> to implement all the listener code as well. ;-) > >There still must be some data object associated with this >shape, even if it is tricial. Whatever it is, its probe_data. Yes, I understand that. Okay, so I tried to implement this, but I get "null: DirectManipulationRendererJ3D.doTransform" showing up in the screen and no probe. Looking at the source of this, it looks like DataRenderer.reCheckDirect() does not handle a Tuple for direct manipulation. Is this correct? >Yes, that occurred to me this AM that you don't really >call DisplayImpl.removeMap() to change a ConstantMap >associated with a DataReference - you just call >removeReference() and then addReference(). I think the >ScalarMap z -> ZAxis approach will be far easier than >digging into the VisAD display logic. If I can manipulate a Tuple. ;-) Don NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publically available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.