Re: partially buried contours




Bill wrote
> Hi Donna,

> I did a couple experiments and found something you can do, but
> its a bit of a hack. You can raise the contours away from the
> surface, if you can decide on a fixed direction for them to be
> raised. Say you decide to raise the contours by 0.02 in the
> positive ZAxis direction. Ideally, you could construct a
> ConstantMap of 0.02 to ZAxisOffset and include it in the call
> to DisplayImpl.addReference(). However, the system doesn't
> seem to pick up the ConstantMap to ZAxisOffset. So instead,
> replace your ScalarMap to ZAxis with an identical ScalarMap
> to ZAxisOffset, and use a ConstantMap to ZAxis in place of
> the ConstantMap to ZAxisOffset. Ugly, but it worked in a test
> I ran.

Took a while to get around to trying this, and it worked just as
you predicted. Thanks
Donna

Donna L. Gresh, Ph.D.
Optimization and Mathematical Software Group
IBM T.J. Watson Research Center
(914) 945-2472
http://www.research.ibm.com/people/g/donnagresh
gresh@xxxxxxxxxx


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