Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: mesh mode for a dataset

Hi Ugo-

Ugo Taddei wrote:

I have a surface. If I want to show only the mesh, I do:

gmcMode.setPolygonMode(DisplayImplJ3D.POLYGON_LINE);

where gmcMode is the graph mode control.

Now, this is valid for a whole display. How do I set the same mode for a given dataset? (I don't wanna name names, but I'm sure Don Murray knew this one. :-)

Like Tom replied, you can do this through a ConstantMap.
I added the ability to do in the not too distant past.  The
docs probably need to play catch up. So, you
can add this in with your DataReference and it will only apply
to the DataRenderer for that reference.

We use this in the Topography display in the IDV (so I know it
works. ;-)).

Don
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
"There's someone in my head, but it's not me"    Roger Waters
*************************************************************



 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690