|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkLocator vtk.vtkPointLocator
vtkPointLocator - quickly locate points in 3-space. vtkPointLocator is a spatial search object to quickly locate points in 3D. vtkPointLocator works by dividing a specified region of space into a regular array of "rectangular" buckets, and then keeping a list of points that lie in each bucket. Typical operation involves giving a position in 3D and finding the closest point. vtkPointLocator has two distinct methods of interaction. In the first method, you supply it with a dataset, and it operates on the points in the dataset. In the second method, you supply it with an array of points, and the object operates on the array. JavaBean wrapper for vtkPointLocator object.
vtkCellPicker
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkPointLocator()
|
protected |
vtkPointLocator(int dmy)
|
Method Summary | |
void |
buildLocator()
See vtkLocator interface documentation. |
int |
findClosestInsertedPoint(double[] id0)
Given a position x, return the id of the point closest to it. |
void |
findClosestNPoints(int id0,
double[] id1,
vtkIdList id2)
Find the closest N points to a position. |
void |
findClosestNPoints(int id0,
double id1,
double id2,
double id3,
vtkIdList id4)
Find the closest N points to a position. |
int |
findClosestPoint(double[] id0)
Given a position x, return the id of the point closest to it. |
int |
findClosestPoint(double id0,
double id1,
double id2)
Given a position x, return the id of the point closest to it. |
void |
findDistributedPoints(int id0,
double[] id1,
vtkIdList id2,
int id3)
Find the closest points to a position such that each octant of space around the position contains at least N points. |
void |
findDistributedPoints(int id0,
double id1,
double id2,
double id3,
vtkIdList id4,
int id5)
Find the closest points to a position such that each octant of space around the position contains at least N points. |
void |
findPointsWithinRadius(double id0,
double[] id1,
vtkIdList id2)
Find all points within a specified radius R of position x. |
void |
findPointsWithinRadius(double id0,
double id1,
double id2,
double id3,
vtkIdList id4)
Find all points within a specified radius R of position x. |
void |
freeSearchStructure()
See vtkLocator interface documentation. |
void |
generateRepresentation(int id0,
vtkPolyData id1)
See vtkLocator interface documentation. |
java.lang.String |
getClassName()
Return the class name as a string. |
int[] |
getDivisions()
Set the number of divisions in x-y-z directions. |
int |
getNumberOfPointsPerBucket()
Specify the average number of points in each bucket. |
int |
getNumberOfPointsPerBucketMaxValue()
Specify the average number of points in each bucket. |
int |
getNumberOfPointsPerBucketMinValue()
Specify the average number of points in each bucket. |
vtkIdList |
getPointsInBucket(double[] id0,
int[] id1)
Given a position x, return the list of points in the bucket that contains the point. |
vtkPointLocator |
getThisPointLocator()
|
void |
initialize()
See vtkLocator interface documentation. |
int |
initPointInsertion(vtkPoints id0,
double[] id1)
Initialize the point insertion process. |
int |
initPointInsertion(vtkPoints id0,
double[] id1,
int id2)
Initialize the point insertion process. |
int |
insertNextPoint(double[] id0)
Incrementally insert a point into search structure. |
void |
insertPoint(int id0,
double[] id1)
Incrementally insert a point into search structure with a particular index value. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
int |
isInsertedPoint(double[] id0)
Determine whether point given by x[3] has been inserted into points list. |
int |
isInsertedPoint(double id0,
double id1,
double id2)
Determine whether point given by x[3] has been inserted into points list. |
void |
setDivisions(int[] id0)
Set the number of divisions in x-y-z directions. |
void |
setDivisions(int id0,
int id1,
int id2)
Set the number of divisions in x-y-z directions. |
void |
setNumberOfPointsPerBucket(int id0)
Specify the average number of points in each bucket. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkPointLocator()
protected vtkPointLocator(int dmy)
Method Detail |
public vtkPointLocator getThisPointLocator()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkLocator
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkLocator
public void setDivisions(int id0, int id1, int id2)
public void setDivisions(int[] id0)
public int[] getDivisions()
public void setNumberOfPointsPerBucket(int id0)
public int getNumberOfPointsPerBucketMinValue()
public int getNumberOfPointsPerBucketMaxValue()
public int getNumberOfPointsPerBucket()
public int findClosestPoint(double[] id0)
public int findClosestPoint(double id0, double id1, double id2)
public int initPointInsertion(vtkPoints id0, double[] id1)
public int initPointInsertion(vtkPoints id0, double[] id1, int id2)
public void insertPoint(int id0, double[] id1)
public int insertNextPoint(double[] id0)
public int isInsertedPoint(double id0, double id1, double id2)
public int isInsertedPoint(double[] id0)
public int findClosestInsertedPoint(double[] id0)
public void findClosestNPoints(int id0, double[] id1, vtkIdList id2)
public void findClosestNPoints(int id0, double id1, double id2, double id3, vtkIdList id4)
public void findDistributedPoints(int id0, double[] id1, vtkIdList id2, int id3)
public void findDistributedPoints(int id0, double id1, double id2, double id3, vtkIdList id4, int id5)
public void findPointsWithinRadius(double id0, double[] id1, vtkIdList id2)
public void findPointsWithinRadius(double id0, double id1, double id2, double id3, vtkIdList id4)
public vtkIdList getPointsInBucket(double[] id0, int[] id1)
public void initialize()
initialize
in class vtkLocator
public void freeSearchStructure()
freeSearchStructure
in class vtkLocator
public void buildLocator()
buildLocator
in class vtkLocator
public void generateRepresentation(int id0, vtkPolyData id1)
generateRepresentation
in class vtkLocator
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkLocator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |