|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Landmark.Lmsglb Landmark.LmsIni
public class LmsIni
The LmsIni initializes data structures for the Open2Dprot Landmark program.
Edited and refactored by Greg Thornwall, SAIC.
This code was derived and refactored other Open2Dprot Java programs and from GELLAB-II landmark C language files "Version November 9, 1999".
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 | |
---|---|
LmsIni()
LmsIni() - 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 AccReportPopup that in turn may call OptionsPopup. |
boolean |
postProcessSwitches()
postProcessSwitches() - post process switches |
void |
switchAnalysis(java.lang.String[] argv)
switchAnalysis() - Analyze the command line. |
Methods inherited from class Landmark.Lmsglb |
---|
initGlb, resetGlb, showReportStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LmsIni()
Method Detail |
---|
public void switchAnalysis(java.lang.String[] argv)
argv
- is the list of command line args.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",
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |