[vtkusers] Problems with lookup table ..

Armeni Davide Davide.Armeni at TILAB.COM
Wed Sep 22 05:01:40 EDT 2004


 
I've generate this File, with a lookup table 
that has 8 values and 8 different colors.
Why i can't visualize only the first two colors ??
Someone can Help me, please ??
Thanx Blau.
 
 
# vtk DataFile Version 4.0

Unstructured Grid Example

ASCII

DATASET UNSTRUCTURED_GRID

POINTS 27 float

0.0 0.0 0.0

1.0 0.0 0.0

2.0 0.0 0.0

0.0 1.0 0.0

1.0 1.0 0.0

2.0 1.0 0.0

0.0 0.0 1.0

1.0 0.0 1.0

2.0 0.0 1.0

0.0 1.0 1.0

1.0 1.0 1.0

2.0 1.0 1.0

0.0 1.0 2.0

1.0 1.0 2.0

2.0 1.0 2.0

0.0 1.0 3.0

1.0 1.0 3.0

2.0 1.0 3.0

0.0 1.0 4.0

1.0 1.0 4.0

2.0 1.0 4.0

0.0 1.0 5.0

1.0 1.0 5.0

2.0 1.0 5.0

0.0 1.0 6.0

1.0 1.0 6.0

2.0 1.0 6.0

CELLS 27 60

3 1 5 0

3 2 10 1

3 10 2 7

1 8

1 15

1 18

1 22

1 21

1 20

1 23

1 24

1 25

1 2

1 3

1 4

1 5

1 6

1 9

1 10

1 11

1 13

1 12

1 1

1 7

1 14

1 16

1 17

 

CELL_TYPES 27

5

5

5

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

CELL_DATA 27

SCALARS scalars int 1

LOOKUP_TABLE custom_table

0

1

2

3

4

5

6

7

7

7

7

7

1

2

3

4

5

6

7

4

4

4

4

4

5

5

6

LOOKUP_TABLE custom_table 8

1.0 0.0 0.0 1.0

0.0 0.0 1.0 1.0

0.0 0.0 1.0 1.0

0.4 0.4 0.6 1.0

0.0 0.0 1.0 1.0

1.0 0.0 1.0 1.0

0.0 1.0 1.0 1.0

1.0 1.0 1.0 1.0

 



Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.

====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
MailAdmin at tilab.com. Thank you
====================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040922/b3d9da10/attachment.htm>


More information about the vtkusers mailing list