Hi,I'm stuck with a problem concerning colors assignment to data.I've a list of
8 tensors (here represented as circular ellipsoids, see short vtk file below)I
typically open the file and filter using ("tensor glyph").Now I would like to
assign to each tensor glyph a unique color specified by an rgba sequence (e.g.
0.1 0.3 0.2 1)How can I do that? I tried to append a scalar lookup table
followed by a rgba one but without successThanks -Claudio
# vtk DataFile Version 3.0Random data to test tensorsASCIIDATASET
UNSTRUCTURED_GRIDPOINTS 8 float0 0 01 0 00 1 01 1 00 0 11 0 10 1 11 1 1
POINT_DATA 8
TENSORS spherical_ellipsoid float1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
1 0 00 1 00 0 1
SCALARS sample_scalars float 1LOOKUP_TABLE rgbtable01234567
LOOKUP_TABLE rgbtable 80.2 0.4 0.3 1.004.0 2.0 1.0 1.00.4 1.0 0.2 1.01.0 1.0
0.7 1.00.2 0.0 5.0 1.01.0 0.2 1.0 1.02.0 1.0 1.0 1.00.0 1.0 0.9 1.0
_______________________________________________
Powered by www.kitware.com
ParaView discussion is moving! Please visit https://discourse.paraview.org/ for
future posts.
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview