Arbitrary Plane for Cutting

Sathya ksathya at
Mon Sep 13 18:28:06 EDT 1999


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

Sathya Krishnamurthy
Res: 317-630-5412
Off: 317-278-1357

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list