Class ClosestIterator
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.BallPivoting.ClosestIterator
-
public class ClosestIterator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected EntrycurrentElemprotected PointDistanceFunctordist_functprotected java.util.Vector<Entry>elemsprotected booleanendprotected Box3exploredprotected floatmax_distprotected Point3pprotected floatradiusprotected StaticGridSiprotected floatstep_sizeprotected VertTmarktmprotected Box3to_explore
-
Constructor Summary
Constructors Constructor Description ClosestIterator(StaticGrid _Si, PointDistanceFunctor _dist_funct)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean_endGrid()boolean_nextShell()void_UpdateRadius()java.lang.Objectdereference()floatdist()booleanend()Vertexget()voidinit(Point3 _p, float _max_dist)Point3nearestPoint()voidplusplus()booleanrefresh()voidsetIndexStructure(StaticGrid _Si)voidsetMarker(VertTmark _tm)booleantoUpdate()
-
-
-
Field Detail
-
p
protected Point3 p
-
Si
protected StaticGrid Si
-
end
protected boolean end
-
max_dist
protected float max_dist
-
explored
protected Box3 explored
-
to_explore
protected Box3 to_explore
-
radius
protected float radius
-
step_size
protected float step_size
-
elems
protected java.util.Vector<Entry> elems
-
dist_funct
protected PointDistanceFunctor dist_funct
-
tm
protected VertTmark tm
-
currentElem
protected Entry currentElem
-
-
Constructor Detail
-
ClosestIterator
public ClosestIterator(StaticGrid _Si, PointDistanceFunctor _dist_funct)
-
-
Method Detail
-
_endGrid
public final boolean _endGrid()
-
_UpdateRadius
public final void _UpdateRadius()
-
_nextShell
public final boolean _nextShell()
-
setIndexStructure
public final void setIndexStructure(StaticGrid _Si)
-
setMarker
public final void setMarker(VertTmark _tm)
-
init
public final void init(Point3 _p, float _max_dist)
-
end
public final boolean end()
-
refresh
public final boolean refresh()
-
toUpdate
public final boolean toUpdate()
-
plusplus
public final void plusplus()
-
get
public final Vertex get()
-
dereference
public final java.lang.Object dereference()
-
dist
public final float dist()
-
nearestPoint
public final Point3 nearestPoint()
-
-