[vtkusers] Cross Section

Maurice van Vugt M.vanVugt at rad.umcn.nl
Thu Mar 13 06:13:28 EST 2003


Hi Shyam,

For example you could create a simple pipeline structure like this:

3DObject -> vtkImageReslice -> vtkImageMapper -> vtkActor2D ->
vtkRenderer -> vtkRenderWindow.

Using the function "SetResliceTransform" in vtkImageReslice, you can
give your object the right orientation which to slice through.
With SetZSlice in vtkImageMapper you can position your "slice" which you
want to see.

The rest is just about viewing.

Hope this is helpfull!

Best regards,

Maurice van Vugt

On Thu, 2003-03-13 at 11:46, R K Shyamprakash wrote:
> Hello All,
> 
> 	I have a 3D object. I want to cut the object with a plane at certain point
> and create a cross section view. Can any body guide me how to do this.
> 
> Thanks and Regards
> Shyam
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
-- 
Maurice van Vugt

|M.H.J.H van Vugt <M.vanVugt at rad.umcn.nl>
|UMC st.Radboud
|Department of Radiology
|PO Box 9101
|6500 HB Nijmegen, Netherlands




More information about the vtkusers mailing list