[vtkusers] Design question (dataset relationship)

Gerald Dalley dalleyg at ee.eng.ohio-state.edu
Thu Sep 7 10:35:23 EDT 2000

For some range image registration work I've been doing, yes, I've done that.
I tried using some of the built-in locators, but found one of the
fundamental requirements of the base classes to be too stringent: the search
point must be inside the bounding box of the dataset being searched.  The
vtkPointLocator class code can be hacked to remove this restriction, but I
stopped halfway through.  I ended up partially implementing a KD-tree based
locator class (it only searches for the 1 closest point in a particular data
set), though the concepts can be extended to support the other locator

The best place I could come up with for storing this data was in the field
data.  In the point data, I had fields such as "ClosestPoint.Branch"
(indicates Bi) and "ClosestPoint.ID" (ID of the closest point within Bi).
For my particular application, I also stored additional information such as
the distance between the point pairs, "ClosestPoint.Distance".

--Gerald Dalley
  dalleyg at ee.eng.ohio-state.edu

> -----Original Message-----
> From: vtkusers-admin at public.kitware.com
> [mailto:vtkusers-admin at public.kitware.com]On Behalf Of Sebastien BARRE
> Sent: Thursday, 07 September, 2000 10:13 AM
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] Design question (dataset relationship)
> Hi
> Has anyone already worked on modeling/implementing relationships between
> PointSets of different topologies ?
> Let's say that I have a PointSet A, and many other PointSet B1,
> B2, ... Bn.
> I'd like to find, for every point P of A, the closest point P' that might
> be in B1, B2 or, .. Bn.
> Thus, I need to store the Id of the closest point in Bi, as well as the
> PointSet Bi it belongs to.
> Any suggestions ?
> FieldData ?
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

More information about the vtkusers mailing list