lineWidth

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á


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