|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.big.bigsnake.core.Settings
public class Settings
Offers global parameters (settings) and functions used by the plug-in.
Settings makes use of the Singleton design pattern: There is at most one
instance present, which can only be accessed through
getInstance()
.
Field Summary | |
---|---|
static double |
ALPHA_DEFAULT
Default energy tradeoff factor. |
static double |
BETA_DEFAULT
Default prior-shape energy tradeoff factor. |
static boolean |
DEBUG
Set to true to enable DEBUG mode |
static ESnakeEnergyType |
ENERGY_TYPE_DEFAULT
Default value of the energy function of the snake. |
static boolean |
IMMORTAL_DEFAULT
Default value of the immortal flag. |
static int |
M_DEFAULT
Default number of spline vector coefficients. |
static int |
MAX_LIFE_DEFAULT
Default maximum number of iterations allowed when the snake is not immortal. |
static ESnakePriorShapeType |
PRIOR_SHAPE_DEFAULT
Default value of the prior-shape information. |
static ShapeSpaceType |
SHAPE_SPACE_DEFAULT
Default value of shape space information. |
static ESnakeTargetType |
TARGET_TYPE_DEFAULT
Default value of the type of features to detect (bright or dark). |
Constructor Summary | |
---|---|
Settings()
|
Method Summary | |
---|---|
java.lang.String |
getAppName()
Returns the name of the plug-in. |
java.lang.String |
getAppVersion()
Returns the version of the plug-in. |
java.lang.String |
getIcyRequiredVersion()
Returns the minimum version of Icy in which the plug-in works properly. |
static Settings |
getInstance()
Get Settings instance |
void |
setWindowIcon(icy.gui.frame.IcyFrame icyFrame)
Set the window icon. |
void |
setWindowIcon(javax.swing.JDialog dialog)
Set the window icon. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ESnakeTargetType TARGET_TYPE_DEFAULT
public static final ESnakeEnergyType ENERGY_TYPE_DEFAULT
public static final ESnakePriorShapeType PRIOR_SHAPE_DEFAULT
public static final ShapeSpaceType SHAPE_SPACE_DEFAULT
public static final int MAX_LIFE_DEFAULT
public static final int M_DEFAULT
public static final double ALPHA_DEFAULT
public static final double BETA_DEFAULT
public static final boolean IMMORTAL_DEFAULT
true
indicates that
the snake will keep iterating till the optimizer decides so.
public static final boolean DEBUG
Constructor Detail |
---|
public Settings()
Method Detail |
---|
public static Settings getInstance()
Settings
instance
public void setWindowIcon(javax.swing.JDialog dialog)
public void setWindowIcon(icy.gui.frame.IcyFrame icyFrame)
public java.lang.String getAppName()
public java.lang.String getAppVersion()
public java.lang.String getIcyRequiredVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |