View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011635VTK(No Category)public2010-12-21 06:052012-12-12 12:19
Reportereliya mirov 
Assigned ToDavid Gobbi 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformwindowsOSwin7OS Version
Product Version 
Target VersionFixed in Version 
Summary0011635: FindClosestPointWithinRadius isn't wrapped by python
DescriptionFindClosestPointWithinRadius is a faster , more efficient way than FindClosestPoint but while FindClosestPoint is wrapped by python, FindClosestPointWithinRadius is not.
these classes I know that uses it: vtkPointLocator, vtkOBBTree vtkOctreePointLocator , vtkAbstractCellLocator , vtkCellLocator.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0024311)
David Gobbi (developer)
2010-12-21 09:37
edited on: 2010-12-21 09:38

This FindClosestPointWithinRadius() method has been wrapped in the VTK development head since September 17, 2010, and will be in the VTK 5.8 release.

vtkIdType FindClosestPointWithinRadius(double radius, const double x[3], double &dist2);

The "dist2" parameter is passed by reference, so it must be passed a "mutable" argument from Python:

d2 = vtk.mutable(0.0)
pointId = locator.FindClosestPointWithinRadius(10.0, (0.0, 0.0, 0.0), d2)


 Issue History
Date Modified Username Field Change
2010-12-21 06:05 eliya mirov New Issue
2010-12-21 09:27 David Gobbi Assigned To => David Gobbi
2010-12-21 09:27 David Gobbi Status backlog => tabled
2010-12-21 09:37 David Gobbi Note Added: 0024311
2010-12-21 09:38 David Gobbi Note Edited: 0024311
2010-12-21 09:39 David Gobbi Status tabled => @80@
2010-12-21 09:39 David Gobbi Resolution open => no change required
2012-12-12 12:19 David Gobbi Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team