[vtkusers] Get the unclipped from vtkClipPolyData

superzz jxdw_zlf at yahoo.com.cn
Mon Jan 18 11:39:05 EST 2010


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.




More information about the vtkusers mailing list