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 Entry
currentElem
protected PointDistanceFunctor
dist_funct
protected java.util.Vector<Entry>
elems
protected boolean
end
protected Box3
explored
protected float
max_dist
protected Point3
p
protected float
radius
protected StaticGrid
Si
protected float
step_size
protected VertTmark
tm
protected Box3
to_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.Object
dereference()
float
dist()
boolean
end()
Vertex
get()
void
init(Point3 _p, float _max_dist)
Point3
nearestPoint()
void
plusplus()
boolean
refresh()
void
setIndexStructure(StaticGrid _Si)
void
setMarker(VertTmark _tm)
boolean
toUpdate()
-
-
-
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()
-
-