[vtkusers] Output format of vtkImplicitBoolean
mandalin
mandalin147 at gmail.com
Mon Apr 11 14:32:00 EDT 2011
Hello,
How does one determine the output of the vtkImplicitBoolean ?
Can one simply force it to be PolyData as follows ?
If the following is correct, how does one access the individual vertices ?
Thanks,
Amanda
//calculate the union
vtkImplicitBoolean *theIntersection = vtkImplicitBoolean::New();
theIntersection->SetOperationTypeToUnion();
theIntersection->AddFunction(polyplane1);
theIntersection->AddFunction(polyplane2);
//extract the vertices
vtkExtractPolyDataGeometry * unionplane =vtkExtractPolyDataGeometry::New
();
unionplane->SetImplicitFunction(theIntersection);
unionplane->ExtractInsideOn();
unionplane->ExtractBoundaryCellsOn();
unionplane->IsA(<#const char *type#>)();
vtkPolyData *newpoly= vtkPolyData::New();
newpoly=unionplane->GetOutput();
--
View this message in context: http://vtk.1045678.n5.nabble.com/Output-format-of-vtkImplicitBoolean-tp4296551p4296551.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list