[vtkusers] How to transform the GetOutput of vtkCutter to 2D image?

Chunyan Jiang jiang at Telematik-Institut.de
Mon Feb 3 12:13:35 EST 2003




Dear vtk-users,
I use vtkCutter to slice a volume. And I want to show this slice as a 2D
image. How can I transform vtkCutter->GetOutput() to a vtkImageData?

The following is my cut code:
    vtkCutter *planeCut=vtkCutter::New();
    planeCut->SetInput(VolumeData);
    planeCut->SetCutFunction( ClipPlane);


Thanks a lot!

Chunyan
***********************************************************************
Chunyan Jiang, Dipl.-Inform.,
Institut for Telematic
Bahnhofstrasse 30-32, D-54292 Trier, Germany
Phone: (+49) (0)651-97551-34
Fax: (+49) (0)651-97551-12
***********************************************************************




More information about the vtkusers mailing list