<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>John, this sounds about what I wanted. One another
question though. How do the coordinates get incremented in VTK for the
Structured Points dataset format? For a simple (3,3) grid how would the ordering
look?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>0,0,0</FONT></DIV>
<DIV><FONT face=Arial size=2>0,0,1</FONT></DIV>
<DIV><FONT face=Arial size=2>0,0,2</FONT></DIV>
<DIV><FONT face=Arial size=2>0,1,0</FONT></DIV>
<DIV><FONT face=Arial size=2>0,1,1</FONT></DIV>
<DIV><FONT face=Arial size=2>0,1,2</FONT></DIV>
<DIV><FONT face=Arial size=2>...?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Arun</FONT></DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=anast.jm@pg.com href="mailto:anast.jm@pg.com">anast.jm@pg.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@public.kitware.com
href="mailto:vtkusers@public.kitware.com">vtkusers@public.kitware.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 26, 2003 10:30
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [vtkusers] Visulazing values
rather than coordinates</DIV>
<DIV><BR></DIV><BR><FONT face=sans-serif size=2>Arun,</FONT> <BR><BR><FONT
face=sans-serif size=2>Your coordinates look structured, which is good. You
can make a structured points dataset and render the volume with any of the vtk
rendering options (texture mapping, raycasting etc.). Your 2D data would just
be an image so have a look at vtkImageViewer. For volumes, have a look at
SimpleRayCast.tcl in the Examples/VolumeRendering/ directory of vtk4.
One warning, I think all of the rendering methods will not render float values
so you may need to cast/scale to the appropriate type. Check the doxygen pages
of the rendering method for specifics....john</FONT> <BR><BR><BR><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD><FONT face="Times New Roman" color=red size=6><B>Internet Mail
Message</B></FONT> <BR><FONT face=sans-serif color=red size=2>Received
from host: </FONT>
<TD></TR></TBODY></TABLE><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<TD><FONT face=sans-serif size=1><B>Arun Nagarajan
<arun@cis.jhu.edu></B></FONT> <BR><FONT face=sans-serif
size=1>
Sent by: vtkusers-admin@public.kitware.com</FONT>
<P><FONT face=sans-serif size=1>02/26/2003 09:59 AM</FONT> <BR><FONT
face=sans-serif size=1>Please respond to Arun Nagarajan</FONT> <BR></P>
<TD><FONT face=Arial size=1> </FONT><BR><FONT
face=sans-serif size=1>
To: vtkusers@public.kitware.com</FONT>
<BR><FONT face=sans-serif size=1> cc:
(bcc: John Anast-JM/PGI)</FONT> <BR><FONT
face=sans-serif size=1> Subject:
[vtkusers] Visulazing values rather than
coordinates</FONT></TR></TBODY></TABLE><BR><BR><FONT face="Courier New"
size=2>Hi all,<BR><BR>I am not sure how exactly to visualize this input data I
have at hand. I<BR>have looked through the sample files and have come up with
nothing. as most<BR>of them deal with coordinates rather than the value at the
coordinates. I<BR>have included a portion of the file. The format is<BR>[x y
z]: value_at_that_coordinate<BR><BR>Any help suggestions as to what
class to use to visualize this will be most<BR>appreciated. The data is
currently in 2D, but there will be 3D data as
well.<BR><BR>Thanks,<BR><BR>Arun<BR>----------------------------<BR>small
portion of the file:<BR><BR>...<BR>[36 0 0]: 34.6505<BR>[37 0 0]:
35.6041<BR>[38 0 0]: 36.5573<BR>[39 0 0]: 37.5103<BR>[40 0
0]: 38.4633<BR>[41 0 0]: 39.4166<BR>[42 0 0]: 40.3702<BR>[43
0 0]: 41.3245<BR>[44 0 0]: 42.2797<BR>[45 0 0]:
43.236<BR>[46 0 0]: 44.1938<BR>[47 0 0]: 45.1533<BR>[48 0
0]: 46.1148<BR>[49 0 0]: 47.0787<BR>[50 0 0]: 48.0453<BR>[51
0 0]: 49.015<BR>[52 0 0]: 49.9883<BR>[53 0 0]:
50.9655<BR>[54 0 0]: 51.9473<BR>[55 0 0]: 52.9341<BR>[56 0
0]: 53.9264<BR>[57 0 0]: 54.9247<BR>[58 0 0]: 55.9294<BR>[59
0 0]: 56.9411<BR>[60 0 0]: 57.9598<BR>[61 0 0]:
58.9858<BR>[62 0 0]: 60.0192<BR>[63 0 0]: 61.0597<BR>[64 0
0]: 62.1069<BR>[65 0 0]: 63.1605<BR>[66 0 0]: 64.2197<BR>[67
0 0]: 65.2836<BR>[68 0 0]: 66.3513<BR>[69 0 0]:
67.4218<BR>[70 0 0]: 68.4941<BR>[71 0 0]: 69.5672<BR>[72 0
0]: 70.6399<BR>[73 0 0]: 71.7115<BR>[74 0 0]: 72.7811<BR>[75
0 0]: 73.8479</FONT> <BR><FONT face="Courier New" size=2>[76 0 0]:
74.9115<BR>[77 0 0]: 75.9713<BR>[78 0 0]: 77.0269<BR>[79 0
0]: 78.0781<BR>[0 1 0]: 79.0708<BR>[1 1 0]: 0.114603<BR>[2 1
0]: 1.15337<BR>[3 1 0]: 2.18717<BR>[4 1 0]: 3.21614<BR>[5 1
0]: 4.24046<BR>[6 1 0]: 5.26034<BR>[7 1 0]: 6.276<BR>[8 1
0]: 7.28769<BR>[9 1 0]: 8.29565<BR>[10 1 0]: 9.30012<BR>[11
1 0]: 10.3013<BR>[12 1 0]: 11.2995<BR>[13 1 0]:
12.2949<BR>[14 1 0]: 13.2876<BR>[15 1 0]: 14.2779<BR>[16 1
0]: 15.2658<BR>[17 1 0]: 16.2516<BR>[18 1 0]: 17.2353<BR>[19
1 0]: 18.2171<BR>[20 1 0]: 19.1969<BR>[21 1 0]:
20.1749<BR>[22 1 0]: 21.1512<BR>[23 1 0]: 22.1257<BR>[24 1
0]: 23.0985<BR>[25 1 0]: 24.0696<BR>[26 1 0]: 25.0391<BR>[27
1 0]: 26.0071<BR>[28 1 0]: 26.9735<BR>[29 1 0]:
27.9384<BR>[30 1 0]: 28.9019<BR>[31 1 0]: 29.864<BR>[32 1
0]: 30.8248<BR>[33 1 0]: 31.7843<BR>[34 1 0]: 32.7426<BR>[35
1 0]: 33.6998<BR>[36 1 0]: 34.656<BR>[37 1 0]:
35.6112<BR>[38 1 0]: 36.5655<BR>[39 1 0]: 37.5192<BR>[40 1
0]: 38.4722<BR>[41 1 0]: 39.4248<BR>[42 1 0]: 40.3771<BR>[43
1 0]: 41.3294<BR>[44 1 0]: 42.2818<BR>[45 1 0]:
43.2346<BR>[46 1 0]: 44.188<BR>[47 1 0]: 45.1424<BR>[48 1
0]: 46.0982<BR>[49 1 0]: 47.0557<BR>[50 1 0]: 48.0154<BR>[51
1 0]: 48.9778<BR>[52 1 0]: 49.9433<BR>[53 1 0]:
50.9127<BR>[54 1 0]: 51.8865<BR>[55 1 0]: 52.8653<BR>[56 1
0]: 53.85<BR>[57 1 0]: 54.8411<BR>[58 1 0]: 55.8393<BR>[59 1
0]: 56.845<BR>[60 1 0]: 57.8588<BR>[61 1 0]: 58.881<BR>[62 1
0]: 59.9115<BR>[63 1 0]: 60.9504<BR>[64 1 0]: 61.9973<BR>[65
1 0]: 63.0516<BR>[66 1 0]: 64.1125<BR>[67 1 0]:
65.1791<BR>[68 1 0]: 66.2503<BR>[69 1 0]: 67.3249<BR>[70 1
0]: 68.4018<BR>[71 1 0]: 69.4795<BR>[72 1 0]: 70.5571<BR>[73
1 0]: 71.6334<BR>[74 1 0]: 72.7075<BR>[75 1 0]:
73.7786<BR>[76 1 0]: 74.8461<BR>[77 1 0]: 75.9094<BR>[78 1
0]: 76.9681<BR>[79 1 0]: 78.0219<BR>[0 2 0]: 79.0143<BR>[1 2
0]: 0.0602851<BR>[2 2 0]: 1.10073<BR>[3 2 0]: 2.13582<BR>[4
2 0]: 3.16572<BR>[5 2 0]: 4.19066<BR>[6 2 0]: 5.21091<BR>[7
2 0]: 6.22676<BR>[8 2 0]: 7.2385<BR>[9 2 0]: 8.24641<BR>[10
2 0]: 9.25081<BR>[11 2 0]: 10.252<BR>[12 2 0]:
11.2502<BR>[13 2 0]: 12.2457<BR>[14 2 0]: 13.2386<BR>[15 2
0]: 14.2293<BR>[16 2 0]: 15.2179<BR>[17 2 0]: 16.2046<BR>[18
2 0]: 17.1894<BR>[19 2 0]: 18.1724<BR>[20 2 0]:
19.1538<BR>[21 2 0]: 20.1337<BR>[22 2 0]: 21.1119<BR>[23 2
0]: 22.0887<BR>[24 2 0]: 23.0639<BR>[25 2 0]: 24.0377<BR>[26
2 0]: 25.01<BR>[27 2 0]: 25.9808<BR>[28 2 0]: 26.9501<BR>[29
2 0]: 27.918<BR>[30 2 0]: 28.8844<BR>[31 2 0]:
29.8494<BR>[32 2 0]: 30.813<BR>[33 2 0]: 31.775<BR>[34 2 0]:
32.7357<BR>[35 2 0]: 33.6949<BR>[36 2 0]: 34.6528<BR>[37 2
0]: 35.6093<BR>[38 2 0]: 36.5644<BR>[39 2 0]: 37.5183<BR>[40
2 0]: 38.4709<BR>[41 2 0]: 39.4225<BR>[42 2 0]:
40.3731<BR>[43 2 0]: 41.3229<BR>[44 2 0]: 42.272<BR>[45 2
0]: 43.2207<BR>[46 2 0]: 44.1694<BR>[47 2 0]: 45.1183<BR>[48
2 0]: 46.0677<BR>[49 2 0]: 47.0183<BR>[50 2 0]:
47.9705<BR>[51 2 0]: 48.9248<BR>[52 2 0]: 49.882<BR>[53 2
0]: 50.8427<BR>[54 2 0]: 51.8078<BR>[55 2 0]: 52.7781<BR>[56
2 0]: 53.7545<BR>[57 2 0]: 54.7378<BR>[58 2 0]:
55.7288<BR>[59 2 0]: 56.7283<BR>[60 2 0]: 57.7369<BR>[61 2
0]: 58.755<BR>[62 2 0]: 59.7829<BR>[63 2 0]: 60.8205<BR>[64
2 0]: 61.8676<BR>[65 2 0]: 62.9236<BR>[66 2 0]:
63.9875<BR>[67 2 0]: 65.0582<BR>[68 2 0]: 66.1344</FONT>
<BR><FONT face="Courier New" size=2>[69 2 0]: 67.2147<BR>[70 2 0]:
68.2975<BR>[71 2 0]: 69.3815<BR>[72 2 0]: 70.4653<BR>[73 2
0]: 71.5476<BR>[74 2 0]:
72.6274<BR>...<BR><BR>_______________________________________________<BR>This
is the private VTK discussion list. <BR>Please keep messages on-topic. Check
the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq><BR>Follow this
link to
subscribe/unsubscribe:<BR>http://public.kitware.com/mailman/listinfo/vtkusers<BR></FONT><BR><BR></BLOCKQUOTE></BODY></HTML>