<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Markus,<br><br>Since the vtkImageData are a subclass of vtkDataset, I think you don't need a cast.<br>What's programming language are you using?<br><br>Wagner Sales<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensagem original ----<br>De: "Voigt, Markus" &lt;Markus.Voigt@medizin.uni-leipzig.de&gt;<br>Para: vtkusers@vtk.org<br>Enviadas: Quarta-feira, 2 de Maio de 2007 10:19:45<br>Assunto: [vtkusers] cast vtkImageData to VtkDataSet<br><br><div>Hello,<br> <br>I'm trying to read JPEG-files (vtkImageData) to use them later for vtkIterativeClosestPointTransform. But there I need vtkDataset. Is there any chance to cast the jpeg-Files to vtkDataset so that I can use the
 vtkIterativeClosestPointTransform?<br>thanks<br> <br>Markus<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></div><br></div></div><br>__________________________________________________<br>Fale com seus amigos  de graça com o novo Yahoo! Messenger <br>http://br.messenger.yahoo.com/ </body></html>