[vtkusers] vtkCutter->Update doesn't update the vtkCutter->GetOutput()

nsarrasin nsarrasin at phenix-systems.com
Tue Nov 2 09:35:22 EDT 2010


Hi all,

Why the output of vtkCutter isn't update when I do Update()?
I always get the same slice (the first to be compute).


cutter->SetInput(polydata);
cutter->SetCutFunction(plane);

for(int step=0; step<nbsteps; step++)
{
	cutter->Update();
	vtkAppendpolyData->AddInput( cutter->GetOutput() ); //here it's not updated
!!!

	//rotation of the plane normal
	vtkMatrix4x4->MultiplyPoint(plane->GetNormal(), new_normal);

	//update the plane
	plane->SetNormal(new_normal);
}

Thanks for explaining me.

-- 
View this message in context: http://vtk.1045678.n5.nabble.com/vtkCutter-Update-doesn-t-update-the-vtkCutter-GetOutput-tp3246712p3246712.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list