[vtkusers] use one polydata to clip another polydata

lee lihouxing at yeah.net
Tue Jul 21 23:26:20 EDT 2015


Hi  Cory,
 I tried this class,but when I do it crushed when I apply Updata() function,
My code is as follow:


	m_Cliper->SetInputData(0,m_input);//m_input is a polydata
	m_Cliper->SetInputData(1,m_turbe);//m_turbe is another polydata
	m_Cliper->SetOperationToUnion();
        m_Cliper->Update();
	m_output->DeepCopy(m_Cliper->GetOutput(0));
	outputData->DeepCopy(m_output);


Do your have any idear? Is it because the data is two complicated? m_input
is 40M, and m_turbe is 3k.



--
View this message in context: http://vtk.1045678.n5.nabble.com/use-one-polydata-to-clip-another-polydata-tp5733029p5733034.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list