[vtkusers] extract subset

Ula Popov ula.popov at gmail.com
Tue Aug 3 00:57:05 EDT 2010


Hello all,

I know that there is a filter in paraview "extract subset".
I need to implement its functionality.

	vtkSmartPointer<vtkXMLImageDataReader> reader =
vtkSmartPointer<vtkXMLImageDataReader>::New();
	reader->SetFileName(filename);
	reader->Update();
	vtkImageData* grid = reader->GetOutput();

What function should I use? Can I apply it on image data (grid)?

Thank you,
Ula



More information about the vtkusers mailing list