|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CmpSpots.Cmpglb CmpSpots.CmpIni
public class CmpIni
Class CmpIni class initializes data structures for the 2D spot pairing program
This code was derived and refactored from GELLAB-II cmpgl2 C language files as well as the Open2Dprot Seg2Dgel program.
This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The Open2Dprot Mozilla and Legal files are available on http://Open2Dprot.sourceforge.net/.
Field Summary |
---|
Constructor Summary | |
---|---|
CmpIni()
CmpIni() - Constructor |
Method Summary | |
---|---|
static void |
additionalInit()
additionalInit() - initialize other parameters now that we have the computing window, image size, bits/pixel, OD calibration, etc. |
static int |
initSwitchOptionsData()
initSwitchOptionsData() - init the switchOptionsData[0:(3*nData)-1] data is used by the CmpReportPopup that in turn may call CmpOptionsPopup. |
boolean |
postProcessSwitches()
postProcessSwitches() - post process switches |
void |
switchAnalysis(java.lang.String[] argv)
switchAnalysis() - Analyze the command line. |
Methods inherited from class CmpSpots.Cmpglb |
---|
get2D, get2D, initGlb, resetGlb, set2D |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmpIni()
Method Detail |
---|
public void switchAnalysis(java.lang.String[] argv)
argv
- is the list of command line args.DbLM#cvLMSname2Idx
,
DbSpot#setNbrAltLMsize
,
FileIO#updateFilesFromServer
,
Switches#cvtFormatCodeToStr
,
Switches#getdBugBitsHelpStr
,
Switches#parsedBugBitsFile
,
Util#appendPRmsg
,
Util#badArgExit
,
Util#fatalExit
,
Util#usage
public boolean postProcessSwitches()
public static void additionalInit()
public static int initSwitchOptionsData()
If the guiBuilderSpec has a "#", then it is a file browser. If the guiBuilderSpec has a "$", then it is a directory browser. If the guiBuilderSpec has a "@1Text[min,max,scale,precision],@2Text[min,max,scale,precision],@3...", then it is set of Sliders implemented on the right as Scrollbars If the guiBuilderSpec has a "{A|B|C...Z}1,{A|B|C...Z}2,...", then it is set of Choices (i.e., between the {...} If guiBuilderSpec has a "*1,*2,..." entries in the list, then get that data from the comma separated text area. If the user data is not null, then make a TextField with this user data on the right else make an empty Label. guiBuilderSpec syntax to specify one or more in the command options e.g., 1. sliders -t1Threshold: guiBuilderSpec is "@1Max SP distance[1,10,1.0,0]]" 2. popup file browser "#Sample image file" guiBuilderSpec is "#" 3. popup directory browser "@Project directory" guiBuilderSpec is "@Project directory" or -projDir:$Project directory$ 4. choice. -abc:{3 | 5 | B} guiBuilderSpec is "{3|5|B}1",
Switches#cvtFormatCodeToStr
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |