[vtkusers] Get the unclipped from vtkClipPolyData

Bill Lorensen bill.lorensen at gmail.com
Mon Jan 18 12:36:28 EST 2010


BTW, it I were clipping with planes, I would use the vtkPlanes object.

On Mon, Jan 18, 2010 at 12:35 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Do your clip planes all point out (or in).
>
> On Mon, Jan 18, 2010 at 11:39 AM, superzz <jxdw_zlf at yahoo.com.cn> wrote:
>>
>> But the result shows GetOutput does not return the rest part.
>>
>>            vtkImplicitBoolean *cutter vtkImplicitBoolean::New();
>>            cutter->SetOperationTypeToIntersection();
>>            cutter->AddFunction(ClipPlane1);
>>            cutter->AddFunction(ClipPlane2);
>>            cutter->AddFunction(ClipPlane3);
>>            cutter->AddFunction(ClipPlane4);
>>
>>            vtkClipPolyData *clipper1 = vtkClipPolyData::New();
>>            clipper1->SetInputConnection(boneStripper->GetOutputPort());
>>            clipper1->SetClipFunction(cutter);
>>            clipper1->GenerateClipScalarsOn();
>>            clipper1->GenerateClippedOutputOn();
>>
>> Neither of ClipPlane1 - ClipPlane4 are paralleled.
>>
>> Thanks
>>
>> superZZ
>>
>>
>> Bill Lorensen-2 wrote:
>>>
>>> vtkClipPolyData.GetOutput
>>>
>>> On Mon, Jan 18, 2010 at 10:10 AM, superzz <jxdw_zlf at yahoo.com.cn> wrote:
>>>>
>>>> vtkClipPolyData.GetClippedOutput returns the clipped part. How to get the
>>>> rest unclipped part?
>>>>
>>>> Thanks
>>>>
>>>> superZZ
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Get-the-unclipped-from-vtkClipPolyData-tp27211852p27211852.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
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>> _______________________________________________
>>> 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
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
>> --
>> View this message in context: http://old.nabble.com/Get-the-unclipped-from-vtkClipPolyData-tp27211852p27213133.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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>



More information about the vtkusers mailing list