On Wed, Dec 15, 2010 at 1:18 PM, Rachel <span dir="ltr"><<a href="mailto:aracha2010@gmail.com">aracha2010@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
It means i have to compute the corresponding of each pixel in the plane. Is<br>
it correct?<br></blockquote><div><br></div><div>Yes, you have to compute an (x,y,z) coordinate for each pixel in the plane, and transform that coordinate into the coordinate system of your 3D data. If you know all the camera parameters from when the image was grabbed, then you can figure out where the "silhouette plane" lies with respect to your 3D data.</div>
<div><br></div><div>Normally, if you do this while you are rendering the data, the vtkCellPicker can do all the work for you. In your case, though, you might have to look inside the vtkCellPicker code and do more-or-less the same thing that it does, but with the vtkCellLocator instead.</div>
<div><br></div><div> David</div></div>