[vtkusers] [Paraview] Possible vtkOBBTree bug or weirdness

Andrew Parker andy.john.parker at googlemail.com
Wed Nov 21 06:41:25 EST 2012


Hi,

I've moved to vtkCellLocator, and it's working with no code changes or
changes to initial parameters, so that in my opinion would suggest a bug
with obbtree..... What are the relative merits of the two, vtkCellLocator
and vtkModifiedBSPTree?

Andy

On 21 November 2012 11:28, David Doria <daviddoria at gmail.com> wrote:

> On Wed, Nov 21, 2012 at 6:16 AM, Andrew Parker <
> andy.john.parker at googlemail.com> wrote:
>
>> ation of t
>
>
> For line/mesh intersection I use vtkModifiedBSPTree:
>
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/DataStructures/ModifiedBSPTree_IntersectWithLine
>
> The way all of these line intersection algorithms works is that they
> actually intersect a finite line with the mesh. The 't' that gets returned
> is the relative distance along that line, so if the intersection occurs
> half way between the end points of the line segment, t would be 0.5. A t>1
> seems to indicate that the length of the line segment you choose is too
> short, so that the line segment doesn't actually intersect the mesh between
> it's end points.
>
> David
>



-- 

__________________________________

   Dr Andrew Parker

   Em at il:  andrew.parker at cantab.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121121/52dbbc70/attachment.htm>


More information about the vtkusers mailing list