Hi Cicero...
I don't know the answer to your first question.
Regarding the other, however -- did you try using a
"ConstantMap(5.0, visad.Display.LineWidth)" instead of PointSize?
tom
Cicero A. W. Zandonna wrote:
Hello VisAD comunnity,
I am having some problems reguarding line width and the diferences
betwen 2D and 3D displays.
This question have probabily already been explained on this list but I
coudn´t find then:
- The setLineWidth() methos in the GraphicsModeControl works only on 2D
Displays? It afects all lines, always?
- I have tried to use a constant map in order to change the widths,
something like this:
ConstantMap[] cores = { new ConstantMap(5.0, visad.Display.PointSize),
new ConstantMap((double) color.getRed()/256,
visad.Display.Red ),
new ConstantMap((double) color.getGreen()/256,
visad.Display.Green ),
new ConstantMap((double) color.getBlue()/256,
visad.Display.Blue )
};
The colors worked, but not the width.
If there is any information missing, please let me know...
Thanks Already.
Cicero A. W. Zandoná
--
Tom Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center
Cooperative Institute for Meteorological Satellite Studies
Phone/VoiceMail: 608.262.2759