<!-- 

     This document is part of the Geodetic Data Manipulation System
     distribution, and is covered by the GNU GPL, a copy of which is in the
     file named COPYING inside the distribution.

     This program and it's documentation are distributed in the hope that 
     they will be useful,but WITHOUT ANY WARRANTY; without even the implied 
     warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
-->

<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN">

<refentry id="cepLsUi">
<refmeta>
<refentrytitle>cepLsUi</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta>

<refnamediv>
<refname>cepLsUi</refname>
<refpurpose>Displays the Least Squares user interface</refpurpose>
</refnamediv>

<refsynopsisdiv>
<synopsis>
 The follwing is an example of how to create this object.
 
 cepLsUi lsui;
 

</synopsis>
</refsynopsisdiv>

<refsect1>
<title>DESCRIPTION</title>
<para> 
 An implementation of the &lt;command&gt;cepLsUi&lt;/command&gt; class
 which displays all dialog boxes associated with the Least Squares GUI.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;void showIsReweight()&lt;/command&gt;
 Shows the re-weighting dialog box.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;void showWhichDir()&lt;/command&gt;
 Shows the choose direction dialog box.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;void showIsReadP(string dir)&lt;/command&gt;
 Shows the read from file dialog box.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;void showGetfNameP()&lt;/command&gt;
 Shows the choose file dialog box.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;para&gt;
 &lt;command&gt;const int &amp; getIsReweight()&lt;/command&gt;
 Get the value returned from the dialog box. Returns 1 for yes, 0 for no or -1
 for cancel.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;void showWeight(double startDate, double endDate, double val)&lt;/command&gt;
 Shows the "Weight Data" dialog box.
 
 &lt;para&gt;&lt;itemizedlist&gt;
 &lt;listitem&gt;&lt;para&gt;fromDate:- is a cepDate that contains the the defaut start date&lt;/para&gt;&lt;/listitem&gt;
 &lt;listitem&gt;&lt;para&gt;toDate:- is a cepDate that contains the the defaut finish date&lt;/para&gt;&lt;/listitem&gt;
 &lt;listitem&gt;&lt;para&gt;val:- is a double that contains the the defaut weight for the given points&lt;/para&gt;&lt;/listitem&gt;
 &lt;/itemizedlist&gt;&lt;/para&gt;
 &lt;/para&gt;
 
 &lt;command&gt;const bool getWhichDir(char dir)&lt;/command&gt;
 Returns true if the given direction is selected, otherwise false is returned.
 &lt;para&gt;&lt;itemizedlist&gt;
 &lt;listitem&gt;&lt;para&gt;dir:-The data direction. Must be one of x, y or z&lt;/para&gt;&lt;/listitem&gt;
 &lt;/itemizedlist&gt;&lt;/para&gt;
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;const int &amp; getIsReadP()&lt;/command&gt;
 Get the value returned from the dialog box. Returns 1 for yes, 0 for no or -1
 for cancel.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;const string &amp; getfNameP()&lt;/command&gt;
 Returns the full path of the file selected for opening. If getFilename() returns
 "" the user has canceled this operation.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;const double getFromDate()&lt;/command&gt;
 Returns the defined start date as a decimal date. If a value of -1 is returned
 the action was canceled.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;const double getToDate()&lt;/command&gt;
 Returns the defined finished date as a decimal date.  If a value of -1 is returned
 the action was canceled.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;const double getWeight()&lt;/command&gt;
 Returns the defined weighting value.  If a value of -1 is returned
 the action was canceled.
 &lt;/para&gt;
 
 &lt;para&gt;
 &lt;command&gt;const bool &amp; getDoVCV()&lt;/command&gt;
 Returns true if the VCV least squares transformation is to be prefomed now.
 
</para>
</refsect1>


<refsect1>
    <title>VERSION</title>
    <para>
This documentation was generated for the <command>Geodetic Data Manipulation System</command> 0.1 by <command>autodocbook</command> (http://www.stillhq.com).
    </para>
</refsect1>

<refsect1>
    <title>AUTHOR</title>
    <para>
The <command>Geodetic Data Manipulation System</command> is under development by Michael Still (mikal@stillhq.com), Daniel Fernandez, Kristy Van Der Vlist, Blake Swadling, and Nick Wheatstone. All code is Copyright 2002 Michael Still, Daniel Fernandez, Kristy Van Der Vlist, Blake Swadling and Nick Wheatstone,  and is released under the GNU GPL. Code submissions are welcomed. Contact Michael at the address above if you have something you would like to contribute.
</para>
</refsect1>

<refsect1>
    <title>BUGS</title>
    <para>
There  are no known bugs in the <command>Geodetic Data Manipulation System</command>. If you find one, please contact mikal@stillhq.com and let me know.
</para>
</refsect1>
</refentry>
