[vtkusers] use one polydata to clip another polydata

Cory Quammen cory.quammen at kitware.com
Thu Jul 23 09:32:44 EDT 2015


It's hard to say without a stack trace showing where the code is crashing.
There can be problems with the boolean operations filter with complicated
geometries.

Could you provide a stack trace?

Thanks,
Cory

On Tue, Jul 21, 2015 at 11:26 PM, lee <lihouxing at yeah.net> wrote:

> 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.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150723/983f7c46/attachment.html>


More information about the vtkusers mailing list