public class PersistenceSimplifier3D extends PersistenceSimplifierND implements ScalarField3D
ScalarField3D.Default, ScalarField3D.Empty
Constructor and Description |
---|
PersistenceSimplifier3D(ScalarField3D sf,
PersistenceSet ct,
Mesh cl,
usf.saav.common.range.IntRange1D z,
boolean runImmediately)
Instantiates a new persistence simplifier 3 D.
|
PersistenceSimplifier3D(ScalarField3D sf,
PersistenceSet ct,
Mesh cl,
usf.saav.common.range.IntRange1D z,
boolean runImmediately,
boolean verbose)
Instantiates a new persistence simplifier 3 D.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCoordinate(int x,
int y,
int z) |
int |
getDepth() |
int |
getHeight() |
float |
getValue(int x,
int y,
int z)
Gets the value.
|
int |
getWidth() |
usf.saav.common.range.IntRange1D |
getZ()
Gets the z.
|
void |
setCallback(java.lang.Object obj,
java.lang.String func_name)
Sets the callback.
|
getComponentList, getNeighbors, getScalarField, getSize, getTree, getValue, run
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNeighbors, getSize, getValue, getValueRange
public PersistenceSimplifier3D(ScalarField3D sf, PersistenceSet ct, Mesh cl, usf.saav.common.range.IntRange1D z, boolean runImmediately)
sf
- the sfct
- the ctcl
- the clz
- the zrunImmediately
- the run immediatelypublic PersistenceSimplifier3D(ScalarField3D sf, PersistenceSet ct, Mesh cl, usf.saav.common.range.IntRange1D z, boolean runImmediately, boolean verbose)
sf
- the sfct
- the ctcl
- the clz
- the zrunImmediately
- the run immediatelyverbose
- the verbosepublic int getWidth()
getWidth
in interface ScalarField3D
getWidth
in interface usf.saav.common.algorithm.Surface1D
getWidth
in interface usf.saav.common.algorithm.Surface2D
getWidth
in interface usf.saav.common.algorithm.Surface3D
public int getHeight()
getHeight
in interface ScalarField3D
getHeight
in interface usf.saav.common.algorithm.Surface2D
getHeight
in interface usf.saav.common.algorithm.Surface3D
public int getDepth()
getDepth
in interface ScalarField3D
getDepth
in interface usf.saav.common.algorithm.Surface3D
public float getValue(int x, int y, int z)
ScalarField3D
getValue
in interface ScalarField3D
x
- the xy
- the yz
- the zpublic double[] getCoordinate(int x, int y, int z)
getCoordinate
in interface ScalarField3D
public usf.saav.common.range.IntRange1D getZ()
public void setCallback(java.lang.Object obj, java.lang.String func_name)
PersistenceSimplifierND
setCallback
in class PersistenceSimplifierND
obj
- the objfunc_name
- the func name