[vtkusers] Orthogonal cross-sections from vtkImageData

Koteswara Rao Ruvva ruvva at yahoo.com
Tue Aug 21 01:17:26 EDT 2018


 Thank you, Dan. vtkCutter worked. Great.
    On Monday, August 20, 2018, 7:55:01 AM PDT, Dan Lipsa <dan.lipsa at kitware.com> wrote:  
 
 Rao,Take a look at vtkCutter
Dan

On Sun, Aug 19, 2018 at 3:18 PM Koteswara Rao Ruvva via vtkusers <vtkusers at public.kitware.com> wrote:

Hello all,
I need to compute three orthogonal cross-sections thru vtkImageData. I use the following code and it works fine.
        self.sagittal = vtk.vtkImageActor()        self.sagittal.GetMapper().SetInputConnection(self.imageData.GetOutputPort())        self.sagittal.SetDisplayExtent(int(self.nx/2), int(self.nx/2), 0, self.ny, 0, self.nz)
How do I compute cross-sections that are not parallel to coordinate planes and have arbitrary orientation. I tried vtkProbeFilter with planes but I don't get any data back. Please advise.
Thank youRao_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180821/ff5babce/attachment.html>


More information about the vtkusers mailing list