<div>Dear all..</div>
<div> </div>
<div>i am using vtkVoxelContoursToSurfaceFilter to generate surface mesh from 2d contour data.. Well the mesh data generated is not connected.. i mean the contours are not connected in the mesh.. Can someone suggest a way to solve this problem of mine..</div>
<div> </div>
<div>thanks in anticipation of help.</div>
<div> </div>
<div>Rishabh<br><br></div>
<div class="gmail_quote">On Tue, Jun 10, 2008 at 9:10 AM, Vidyadhar <<a href="mailto:vidyadhar@lucidindia.com">vidyadhar@lucidindia.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>If I look in documentation for vtkInteractorStyle I do not find this method. But it is defined by vtkObject and inherited by vtkInteractorStyle. I have used it on vtkInteractorStyleUser and sometimes on other styles too. I think you only need to monitor the interaction and not modify behavior of that interaction. In that case you can add observer on whatever style is suitable for your purpose.
<div class="Ih2E3d"><br>HTH<br>Vidyadhar<br>----- Original Message ----- From: "Klaus Nowikow" <<a href="mailto:klaus.nowikow@tuwien.ac.at" target="_blank">klaus.nowikow@tuwien.ac.at</a>><br>To: <<a href="mailto:vtkusers@public.kitware.com" target="_blank">vtkusers@public.kitware.com</a>><br>
</div>Sent: Monday, June 09, 2008 3:37 PM<br>Subject: Re: [vtkusers] Callbacks from the render window interacor /interactorstyle
<div>
<div></div>
<div class="Wj3C7c"><br><br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Vidyadhar wrote:<br>> Hi,<br>> I do not know exactly how to do this in Python<br><br>No problem, I just mentioned it because sometimes things are a bit<br>
easier in Python than in C++.<br><br>> but vtkInteractorStyle<br>> has two events - InteractionEvent and EndInteractionEvent.<br><br>Ah, yes, just found them in the docs. Thanks.<br><br>> InteractionEvent can be used to contiously update camera position (but<br>
> it can slow down things). If you can add observer for one/both these<br>> events and then get query camera's position then you can update the<br>> edit box.<br><br>That would be the right way to do it. I just can't find an "AddObserver"<br>
method (or something like that) anywhere -- or maybe I am looking at the<br>wrong places.<br>I think I could also use vtkInteractorStyleUser instead, but then I would virtually implement vtkInteractorStyleTerrain with some additional<br>
code to update the edit boxes. I will do that if there's no other<br>solution, but I'd rather re-use existing classes.<br><br>> HTH<br>> Vidyadhar<br>> ----- Original Message ----- From: "Klaus Nowikow"<br>
> <<a href="mailto:klaus.nowikow@tuwien.ac.at" target="_blank">klaus.nowikow@tuwien.ac.at</a>><br>> To: <<a href="mailto:vtkusers@public.kitware.com" target="_blank">vtkusers@public.kitware.com</a>><br>> Sent: Monday, June 09, 2008 1:14 PM<br>
> Subject: [vtkusers] Callbacks from the render window interacor /<br>> interactorstyle<br>><br>><br>>> Hi,<br>>><br>>> is it possible to get a notification from a vtkRenderWindowInteractor<br>
>> (using vtkInteractorStyleTerrain in my case) when the user changes the<br>>> camera position? I'd like to present the camera position to the user<br>>> in an edit box.<br>>> I am using VTK with Python.<br>
>><br>>> Regards,<br>>> Klaus<br>>><br>>> _______________________________________________<br>>> This is the private VTK discussion list.<br>>> Please keep messages on-topic. Check the FAQ at:<br>
>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>>> Follow this link to subscribe/unsubscribe:<br>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>> _______________________________________________<br>> This is the private VTK discussion list.<br>> Please keep messages on-topic. Check the FAQ at:<br>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>><br><br><br>_______________________________________________<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">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a> <br></blockquote><br>_______________________________________________<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">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Rishabh Kapoor<br>Medical Physics Consultant<br>202 Ashok Bhavan <br>93 Nehru Place<br>New Delhi 110019 <br>Ph. +91-11-26423266, +91-11-26420136. <br>Mobile: 9910772490<br>
EMail: <a href="mailto:tsgintegrations@gmail.com">tsgintegrations@gmail.com</a><br>Web: <a href="http://www.tsgintegrations.com">www.tsgintegrations.com</a>