[vtkusers] Bug vtkOBBDicer when using SetDiceModeToNumberOfPointsPerPiece option ?

Jana Sefcikova neollie at gmail.com
Sun Jun 17 17:51:36 EDT 2012


Hi Bill,
I did not look to code, but it looks that you are right.
Other experiment with sphere having theta = phi resolution = 80 had
following results :

*Point count = 6242*

*dicer->SetNumberOfPointsPerPiece(20)*

*Point count / 1000 = 6.242*

*dicer->GetNumberOfPieces() =  7*

*dicer->GetNumberOfActualPieces() = 8*
Thank you very much for pointing this unexpected clamping.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120617/c1981027/attachment.htm>


More information about the vtkusers mailing list