<div>But the problem is that my rendering is in a dll.</div>
<div>I mean i can convert an ITK image to a vtk image no problem, but the problem is that the vtkimage is to be used in a dll.</div>
<div>So i am trying to do the following</div>
<div> </div>
<div>ITK -> convert and transfer to DLL -> VTK</div>
<div> </div>
<div>Theoretically it should not pose a problem, but did anyone do this before?</div>
<div>Regards<br><br> </div>
<div><span class="gmail_quote">2006/10/28, Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi Prename Surname,<br><br>Please read the Tutorials:<br><br> <a href="http://www.itk.org/HTML/Tutorials.htm">
http://www.itk.org/HTML/Tutorials.htm</a><br><br>In particular:<br><br> "Getting Started II: Using ITK with VTK"<br><a href="http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf">http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf
</a><br><br>and<br><br> "Getting Started V: Integrating ITK in your Application."<br><a href="http://www.itk.org/CourseWare/Training/GettingStarted-V.pdf">http://www.itk.org/CourseWare/Training/GettingStarted-V.pdf
</a><br><br><br>The first one describes how to convert ITK images into VTK images.<br><br>You will find examples in the directory:<br><br> InsightApplications/Auxiliary/vtk/<br><br>itkReadITKImage3DSegmentShowVTK.cxx
<br>itkReadITKImageSegmentShowVTK.cxx<br>itkReadITKImageShowSplineVTK.cxx<br>itkReadITKImageShowVTK.cxx<br><br><br>The second one describes multiple options for passing ITK image<br>data to and from applications that use pointers to the pixel
<br>buffer.<br><br><br>Please not that you must make sure that the memory is relased<br>correctly once you are done with the image.<br><br><br> Regards,<br><br><br> Luis<br><br><br>----------------------------<br>Prename Surname wrote:
<br>> Hello. I have an itk::Image objekt where i want to be able to get a<br>> pointer to the data, so that i can send this pointer as a parameter to<br>> my dll function, which<br>> implements rendering using VTK.
<br>><br>> The only problem is how i can transport the data, and it seems that a<br>> raw datapointer is the best solution.<br>><br>> How can i retrieve that?<br>> Many regards<br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> Insight-users mailing list<br>> <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>> <a href="http://www.itk.org/mailman/listinfo/insight-users">
http://www.itk.org/mailman/listinfo/insight-users</a><br></blockquote></div><br>