public class HyperSphere<T> extends Object implements IterableInterval<T>
| Constructor and Description |
|---|
HyperSphere(RandomAccessible<T> source,
Localizable center,
long radius) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
computeSize()
Compute the number of elements for iteration
|
HyperSphereCursor<T> |
cursor() |
long |
dimension(int d) |
void |
dimensions(long[] dimensions) |
T |
firstElement() |
T |
getType() |
Object |
iterationOrder() |
Iterator<T> |
iterator() |
HyperSphereCursor<T> |
localizingCursor() |
long |
max(int d) |
void |
max(long[] max) |
void |
max(Positionable max) |
long |
min(int d) |
void |
min(long[] min) |
void |
min(Positionable min) |
int |
numDimensions() |
void |
realMax(double[] max) |
double |
realMax(int d) |
void |
realMax(RealPositionable max) |
void |
realMin(double[] min) |
double |
realMin(int d) |
void |
realMin(RealPositionable min) |
long |
size() |
void |
update(Localizable center,
long radius) |
void |
update(long[] center,
long radius) |
void |
updateCenter(Localizable center) |
void |
updateCenter(long[] center) |
void |
updateRadius(long radius) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlocalizingSpliterator, spliteratorparallelStream, streammaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivepublic HyperSphere(RandomAccessible<T> source, Localizable center, long radius)
public void updateCenter(long[] center)
public void updateCenter(Localizable center)
public void updateRadius(long radius)
protected long computeSize()
public void update(Localizable center, long radius)
public void update(long[] center,
long radius)
public long size()
size in interface IterableRealInterval<T>public T firstElement()
firstElement in interface IterableRealInterval<T>public Object iterationOrder()
iterationOrder in interface IterableRealInterval<T>public double realMin(int d)
realMin in interface IntervalrealMin in interface RealIntervalpublic void realMin(double[] min)
realMin in interface RealIntervalpublic void realMin(RealPositionable min)
realMin in interface RealIntervalpublic double realMax(int d)
realMax in interface IntervalrealMax in interface RealIntervalpublic void realMax(double[] max)
realMax in interface RealIntervalpublic void realMax(RealPositionable max)
realMax in interface RealIntervalpublic int numDimensions()
numDimensions in interface EuclideanSpacepublic void min(Positionable min)
public void max(Positionable max)
public void dimensions(long[] dimensions)
dimensions in interface Dimensionspublic long dimension(int d)
dimension in interface Dimensionsdimension in interface Intervalpublic HyperSphereCursor<T> cursor()
cursor in interface IterableInterval<T>cursor in interface IterableRealInterval<T>public HyperSphereCursor<T> localizingCursor()
localizingCursor in interface IterableInterval<T>localizingCursor in interface IterableRealInterval<T>Copyright © 2009–2024 ImgLib2. All rights reserved.