Arbitrary Plane for Cutting

Sathya ksathya at omirf.iusd.iupui.edu
Mon Sep 13 18:28:06 EDT 1999


Hi

I am currently using the following method to extract any axial, coronal and
sagittal. I use the following method

vtkImageReader  *reader

vtkImageClip *imageclip (reader->GetOutput ())
imageclip->SetExtent (Xmin, Xmax, Ymin , Ymax, Zmin, Zmax)

vtkPlaneSource *plane

vtkTexture *texture
texture->SetTexture (imageclip->GetOutput ())

vtkPolyDataMapper *pdata
pdata->SetInput (plane->GetOutput ())

vtkActor *actor ->SetInput (pdata->GetOutput ())
actor->SetTexture (texture)

The problem with this method is the planes are limited to the axes. I am not
able to extract any arbitrary planes .

Can somebody help me how to do it.. ?

Your help on vtkTexture was great .. thanks a lot.


thanks again
Sincerely
Sathya

Sathya Krishnamurthy
Res: 317-630-5412
Off: 317-278-1357
http://omirf.iusd.iupui.edu/~ksathya



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list