public class PersistenceSimplifier2D extends PersistenceSimplifierND implements ScalarField2D
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test
Constructor and Description |
---|
PersistenceSimplifier2D(ScalarField2D sf,
PersistenceSet ct,
Mesh cl,
int z,
boolean runImmediately)
Instantiates a new persistence simplifier 2 D.
|
PersistenceSimplifier2D(ScalarField2D sf,
PersistenceSet ct,
Mesh cl,
int z,
boolean runImmediately,
boolean verbose)
Instantiates a new persistence simplifier 2 D.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCoordinate(int x,
int y) |
int |
getHeight() |
float |
getValue(int x,
int y)
Gets the value.
|
int |
getWidth() |
int |
getZ()
Gets the z.
|
void |
setCallback(java.lang.Object obj,
java.lang.String func_name)
Sets the callback.
|
usf.saav.common.mvc.swing.TImage |
toPImage(usf.saav.common.mvc.swing.TGraphics g,
usf.saav.common.colormap.Colormap colormap) |
getComponentList, getNeighbors, getScalarField, getSize, getTree, getValue, run
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNeighbors, getSize, getValue, getValueRange
public PersistenceSimplifier2D(ScalarField2D sf, PersistenceSet ct, Mesh cl, int z, boolean runImmediately)
sf
- the sfct
- the ctcl
- the clz
- the zrunImmediately
- the run immediatelypublic PersistenceSimplifier2D(ScalarField2D sf, PersistenceSet ct, Mesh cl, int z, boolean runImmediately, boolean verbose)
sf
- the sfct
- the ctcl
- the clz
- the zrunImmediately
- the run immediatelyverbose
- the verbosepublic int getWidth()
getWidth
in interface usf.saav.common.algorithm.Surface1D
getWidth
in interface usf.saav.common.algorithm.Surface2D
public int getHeight()
getHeight
in interface usf.saav.common.algorithm.Surface2D
public float getValue(int x, int y)
ScalarField2D
getValue
in interface ScalarField2D
x
- the xy
- the ypublic double[] getCoordinate(int x, int y)
getCoordinate
in interface ScalarField2D
public usf.saav.common.mvc.swing.TImage toPImage(usf.saav.common.mvc.swing.TGraphics g, usf.saav.common.colormap.Colormap colormap)
toPImage
in interface ScalarField2D
public int 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