[vtkusers] cutter for vtkGlyph3D

zhixiu li zhixiuli at gmail.com
Tue Apr 24 23:18:57 EDT 2012


Sorry, I didn't say it clearly.
I read the pdb by
pdb = vtk.vtkPDBReader()
pdb.SetFileName(sys.argv[1])

And I want to cut the pdb by the plain and its cutter

plane = vtk.vtkPlane()
plane.SetOrigin(??????????????????????what should I put in here)
plane.SetNormal(0.17, 0, 0.9579)
planeCut = vtk.vtkCutter()
planeCut.SetInput(????????????????????what should I put in here)
planeCut.SetCutFunction(plane)


Thank you!


On Tue, Apr 24, 2012 at 11:04 PM, zhixiu li <zhixiuli at gmail.com> wrote:

> Dear ALL,
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120424/553354d2/attachment.htm>


More information about the vtkusers mailing list