<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_tcltk__bxtal_8cpp">
<title>/Users/bernard/b20/bsoft/tcltk/tcltk_bxtal.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/tcltk/tcltk_bxtal.cpp</primary></indexterm>
<para>

<para>A shared object to manage micrograph parameter files in TCL/Tk. </para>
 
</para>
<programlisting>#include &lt;tk.h&gt;
#include &quot;tcltk_bxtal.h&quot;
#include &quot;mg_xtal.h&quot;
#include &quot;linked_list.h&quot;
#include &quot;timer.h&quot;
#include &quot;utilities.h&quot;
#include &lt;sys/stat.h&gt;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a1be489b5ac9f80db036025f20b4cd12a">spot_count</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg)</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a8d26e383932ad02ddb17c916ac874e85">spot_ids</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a8b215544b76752b006a586387c40e067">spot_reindex</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1ad90579397839081429c0f261d342d7bb">spot_location</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a784a853e2f6e42bbcd39fa90701c3a92">spot_fom</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a421bd91a7ee9717adc49d31788406844">spot_select</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a574c82d21f3968756b6f7020c13a30c7">spot_move</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a2b54ff2f1c52d7540fce2a7cfeb58376">spot_create</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1aae7dc07de6c03df4d24299fd0a199bbb">spot_delete</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a0223d55d27f83d24f760738536fd57ab">spot_unitcell_vectors</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a5c54306c2fa69221bf849011d2b664d5">spot_generate</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, <link linkend="_class_bimage">Bimage</link> *p, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a8d62db8c35cb40ff537e39c516058d74">spot_mask</link> (<link linkend="_struct_bmicrograph">Bmicrograph</link> *mg, <link linkend="_class_bimage">Bimage</link> *p, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
            <listitem><para>Tcl_Obj * <link linkend="_tcltk__bxtal_8cpp_1a6ab5c411ec81df12e2b047a2edf9d7ee">do_spot</link> (<link linkend="_struct_bproject">Bproject</link> *<link linkend="_tcltk__bmodel_8cpp_1aea438e09dfc03683a0f49a05e9a69cac">project</link>, int objc, Tcl_Obj *CONST objv[])</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_tcltk__bxtal_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></para>
</listitem>
            <listitem><para><link linkend="_class_bimage">Bimage</link> * <link linkend="_tcltk__bxtal_8cpp_1a3628124083d8f4fbc4ffd16e5b6202bf">imglist</link></para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>A shared object to manage micrograph parameter files in TCL/Tk. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 20030813 </para>

<para>Modified: 20181030 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_tcltk__bxtal_8cpp_1a6ab5c411ec81df12e2b047a2edf9d7ee"/>    <section>
    <title>do_spot()</title>
<indexterm><primary>do_spot</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>do_spot</secondary></indexterm>
<para><computeroutput>Tcl_Obj* do_spot (<link linkend="_struct_bproject">Bproject</link> * project, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 68 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a1be489b5ac9f80db036025f20b4cd12a"/>    <section>
    <title>spot_count()</title>
<indexterm><primary>spot_count</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_count</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_count (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg)</computeroutput></para><para>
Definition at line 154 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a2b54ff2f1c52d7540fce2a7cfeb58376"/>    <section>
    <title>spot_create()</title>
<indexterm><primary>spot_create</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_create</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_create (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 348 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1aae7dc07de6c03df4d24299fd0a199bbb"/>    <section>
    <title>spot_delete()</title>
<indexterm><primary>spot_delete</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_delete</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_delete (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 384 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a784a853e2f6e42bbcd39fa90701c3a92"/>    <section>
    <title>spot_fom()</title>
<indexterm><primary>spot_fom</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_fom</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_fom (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 249 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a5c54306c2fa69221bf849011d2b664d5"/>    <section>
    <title>spot_generate()</title>
<indexterm><primary>spot_generate</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_generate</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_generate (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, <link linkend="_class_bimage">Bimage</link> * p, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 428 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a8d26e383932ad02ddb17c916ac874e85"/>    <section>
    <title>spot_ids()</title>
<indexterm><primary>spot_ids</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_ids</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_ids (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 169 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1ad90579397839081429c0f261d342d7bb"/>    <section>
    <title>spot_location()</title>
<indexterm><primary>spot_location</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_location</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_location (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 222 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a8d62db8c35cb40ff537e39c516058d74"/>    <section>
    <title>spot_mask()</title>
<indexterm><primary>spot_mask</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_mask</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_mask (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, <link linkend="_class_bimage">Bimage</link> * p, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 446 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a574c82d21f3968756b6f7020c13a30c7"/>    <section>
    <title>spot_move()</title>
<indexterm><primary>spot_move</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_move</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_move (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 314 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a8b215544b76752b006a586387c40e067"/>    <section>
    <title>spot_reindex()</title>
<indexterm><primary>spot_reindex</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_reindex</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_reindex (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 189 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a421bd91a7ee9717adc49d31788406844"/>    <section>
    <title>spot_select()</title>
<indexterm><primary>spot_select</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_select</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_select (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 273 of file tcltk_bxtal.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a0223d55d27f83d24f760738536fd57ab"/>    <section>
    <title>spot_unitcell_vectors()</title>
<indexterm><primary>spot_unitcell_vectors</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>spot_unitcell_vectors</secondary></indexterm>
<para><computeroutput>Tcl_Obj * spot_unitcell_vectors (<link linkend="_struct_bmicrograph">Bmicrograph</link> * mg, int objc, Tcl_Obj *CONST objv[])</computeroutput></para><para>
Definition at line 419 of file tcltk_bxtal.cpp.</para>
</section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_tcltk__bxtal_8cpp_1a3628124083d8f4fbc4ffd16e5b6202bf"/>    <section>
    <title>imglist</title>
<indexterm><primary>imglist</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>imglist</secondary></indexterm>
<para><computeroutput><link linkend="_class_bimage">Bimage</link>* imglist</computeroutput></para><para>
Definition at line 30 of file bshow.cpp.</para>
    </section><anchor xml:id="_tcltk__bxtal_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>tcltk_bxtal.cpp</secondary></indexterm>
<indexterm><primary>tcltk_bxtal.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
