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, rungetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNeighbors, getSize, getValue, getValueRangepublic 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.Surface1DgetWidth in interface usf.saav.common.algorithm.Surface2Dpublic int getHeight()
getHeight in interface usf.saav.common.algorithm.Surface2Dpublic float getValue(int x,
int y)
ScalarField2DgetValue in interface ScalarField2Dx - the xy - the ypublic double[] getCoordinate(int x,
int y)
getCoordinate in interface ScalarField2Dpublic usf.saav.common.mvc.swing.TImage toPImage(usf.saav.common.mvc.swing.TGraphics g,
usf.saav.common.colormap.Colormap colormap)
toPImage in interface ScalarField2Dpublic int getZ()
public void setCallback(java.lang.Object obj,
java.lang.String func_name)
PersistenceSimplifierNDsetCallback in class PersistenceSimplifierNDobj - the objfunc_name - the func name