Hello and thanks,<br>We have points in the eucledian plane which are arranged like a regular grid.<br>(evenly spaced)<br>We have a measured value for each point that should be interpreted as a grey-scale or color<br>value. 
<br>How do I tie this to a vtkImageData ?<br><br>best regards,<br>Oliver<br><br>PS: we already ordered both VTK-books.<br><br><div><span class="gmail_quote">2008/1/22, burlen &lt;<a href="mailto:burlen@apollo.sr.unh.edu">
burlen@apollo.sr.unh.edu</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  

<div bgcolor="#ffffff" text="#000000">
Hi, Oliver, writing an image loader is fairly strait forward but the
details depend on the specifics of your data. Does your data have a
regular Cartesian geometry? You first need to figure out which
vtkDataSet best matches the geometry of your data. For instance using
an vtkUnstructuredGrid where you could use vtkImageData would overly
complicate things and adversely impact performance. A good deal of
information can be found in the vtk users guide. In ver 4.2 of the user
guide chap 5 has relevant info. If you plan to use VTK you would be
well advised to obtain a copy.<br>
Burlen<br>
<br>
<br>
<br>
Oliver Kania wrote:
<blockquote type="cite"><div><span class="e" id="q_117a1fafe7cfa595_1">
  <div>Hello !<br>
Can someone provide a step by step guide on<br>
writing a custom image loader.<br>
We basically have 2D-point data with values attached to each point. <br>
  <div><br>
  <br>
Best regards, Oliver<br>
  </div>
  </div>
  </span></div><pre><hr size="4" width="90%">
_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/mailman/listinfo/vtkusers</a>
  </pre>
</blockquote>
<br>
</div>

</blockquote></div><br>