<div class="gmail_extra">Sorry, I didn't say it clearly.<br>I read the pdb by<br>pdb = vtk.vtkPDBReader()<br>pdb.SetFileName(sys.argv[1])<br><br>And I want to cut the pdb by the plain and its cutter<br><br>plane = vtk.vtkPlane()<br>
plane.SetOrigin(??????????????????????what should I put in here)<br>plane.SetNormal(0.17, 0, 0.9579)<br>planeCut = vtk.vtkCutter()<br>planeCut.SetInput(????????????????????what should I put in here)<br>planeCut.SetCutFunction(plane)<br>
<br><br>Thank you!<br><br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 11:04 PM, zhixiu li <span dir="ltr"><<a href="mailto:zhixiuli@gmail.com" target="_blank">zhixiuli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear ALL,<br>I have a pdb file and I want to use the pdbreader to read the pdb file. And use use vtkGlyph3D for each atom (each points ) of the pdb. I want to use a plain to cut this pdb and show the cutting plain of the pdb. How do I combine vtkCutter and vtkGlyph3D to achieve the aim? Thank you. <br>
</blockquote></div><br></div>