<?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="_bshow__model_8tcl">
<title>/Users/bernard/b20/bsoft/tcltk/bshow_model.tcl File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/tcltk/bshow_model.tcl</primary></indexterm>
<para>

<para>Procedures to create and destroy model components and links in images. </para>
 
</para>
<simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para><link linkend="_bshow__model_8tcl_1ab0769641c92ce786cf8706a5dfb76d76">setupModelMenu</link></para>

<para>Menu for opening and closing parameter files. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a051e4d035e053a4636efc58c1bde9b3e">Model</link></para>

<para>Dialog box to manipulate componets and links on the main canvas. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a4facfdbf33ee93c75e8acfa6408d4921">toggleCompTypeSelection</link> id sel</para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a7d9fb565a572a012f29013d04435afa2">updateCompTypeTable</link></para>

<para>Updates the component type table from the model parameters in memory. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a5d1b87657d4e694489756602dec21052">convertImageToModel</link> x y z</para>

<para>Converts image coordinates to model coordinates. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1aad27d9884d24ed1b1213329f88efd71d">componentSelect</link> x y</para>

<para>Selects a component. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a801d38686c6b0c4c5b28d96448a7ff59">linkSelect</link> x y</para>

<para>Selects a link. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a7d86bddbbf7140ca9eba96abdb8ee555">createUpdateComponentType</link></para>

<para>Creates or updates a component type. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1abd9a76f7961a33f58c9f4925cddaf592">componentCreateSelect</link> x y</para>

<para>Creates or selects a component. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1aeba633d90f76fb7c8277b3a924b6d1a2">linkCreate</link> x y</para>

<para>Creates a link if a starting component is selected. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1acb4a4cb4a87fc580e75ec51121b35d24">componentMove</link> x y</para>

<para>Moves the selected component to the new coordinates. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a554d1cda62e2713069ce81faf5dbceb5">componentMoveSelectedUpDown</link> dz</para>

<para>Moves the selected component one slice up or down. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1af2bb49a867aa104a739e8db529e12d84">componentDraw</link> id</para>

<para>Draws a component on the canvas. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1afd86d1234ce7ce7492d7f21d380a5a67">drawSphere</link> c x y z rad col width lbl fill tag</para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a15c53d8cf9c2492b29e3f06cf81de1cf">drawLine</link> c x1 y1 z1 x2 y2 z2 width col tag</para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1afaeb55c8559fa6e5460071199202c9e0">linkDraw</link> id1 id2</para>

<para>Draws a link line connecting two components on the canvas. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1ac12d83af631db6a276a2bf4e46ad29ba">objectsDrawAll</link> args</para>

<para>Draws all components and links on the canvas. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a3434629187e15f919407f610ce21634c">componentsDrawAll</link></para>

<para>Draws all components on the canvas. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a442c674bf234db4c0c0f27e4c890cb4e">linksDrawAll</link></para>

<para>Draws all links on the canvas. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a6eed12537b2d0d7431e832327d2bb769">componentDelete</link> x y</para>

<para>Deletes the selected component. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a4566ddab1c0692c5aed4219a8a025199">linkDelete</link> x y</para>

<para>Deletes the selected link. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a65a4fb2cbeca7e1d4f9596f71fadf6bf">objectsDeleteAll</link></para>

<para>Deletes all components and links. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a8f00a21e4d0ba8046597245ff4603046">deleteNonSelectedObjects</link></para>

<para>Deletes all components and links that are not selected. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a9456a2c97cd7c90975e821873a3df87a">setComponentRadius</link></para>

<para>Sets radii of selected components. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a126423863993cd1dc5334c117a6dadd2">setLinkRadius</link></para>

<para>Sets radii of selected links. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1aa593b85a76e34b56382b82a8a17d6b71">setSelection</link> args</para>

<para>Sets the selection of components. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a54b17a0931f064d837ce3a9852f29c96">setColor</link></para>

<para>Sets the color for selected components. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a3f0b1e7d3ae5afb0ce3ab4faa06813f0">setViews</link></para>

<para>Sets the views relative to the origin. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1ad44fdc9f616521f568f8cd7cb51426ce">extractSegments</link></para>

<para>Extracts all panels tagged by the component list. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1ac47ac7ee50a93567eea0b592fc967bc3">componentsToParticles</link></para>

<para>Generates particles from the component list. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a5f5fb8eef3cdc88894ae2a28c3e00f82">readModel</link></para>

<para>Reads model from a file. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1aa2cff3fc18c42af0c96d691ade54b4fe">loadModel</link> thefile</para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a00a96c1fd4fd63644247b8f921555498">writeModel</link></para>

<para>Saves the component and link model to a file. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1aa09c6da9051846bec8687d8a204adcaf">editModel</link></para>

<para>Edits a text parameter file. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a2b9162c021e76f1503d504de57cedca8">Shell</link></para>

<para>Dialog box for creating a shell (ring for 2D) </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a472a41ab3b3867d6bdd52e5ca481e72e">componentSymmetry</link></para>

<para>Analyzes model components to determine cyclic symmetry. </para>
</listitem>
            <listitem><para><link linkend="_bshow__model_8tcl_1a63b96c85b6bb1e39ed03f8b17b41d80d">doComponentSymmetry</link> w</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Procedures to create and destroy model components and links in images. </para>

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

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

<para>Created: 20010516 </para>

<para>Modified: 20160601 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bshow__model_8tcl_1abd9a76f7961a33f58c9f4925cddaf592"/>    <section>
    <title>componentCreateSelect()</title>
<indexterm><primary>componentCreateSelect</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentCreateSelect</secondary></indexterm>
<para><computeroutput>componentCreateSelect x y </computeroutput></para><para>

<para>Creates or selects a component. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Component position in canvas coordinates. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 411 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a6eed12537b2d0d7431e832327d2bb769"/>    <section>
    <title>componentDelete()</title>
<indexterm><primary>componentDelete</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentDelete</secondary></indexterm>
<para><computeroutput>componentDelete x y </computeroutput></para><para>

<para>Deletes the selected component. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Cooordinates on the canvas. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 688 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1af2bb49a867aa104a739e8db529e12d84"/>    <section>
    <title>componentDraw()</title>
<indexterm><primary>componentDraw</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentDraw</secondary></indexterm>
<para><computeroutput>componentDraw id </computeroutput></para><para>

<para>Draws a component on the canvas. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>id</entry>
                                <entry>
<para>Component identifier. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 537 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1acb4a4cb4a87fc580e75ec51121b35d24"/>    <section>
    <title>componentMove()</title>
<indexterm><primary>componentMove</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentMove</secondary></indexterm>
<para><computeroutput>componentMove x y </computeroutput></para><para>

<para>Moves the selected component to the new coordinates. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Component position in canvas coordinates. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 488 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a554d1cda62e2713069ce81faf5dbceb5"/>    <section>
    <title>componentMoveSelectedUpDown()</title>
<indexterm><primary>componentMoveSelectedUpDown</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentMoveSelectedUpDown</secondary></indexterm>
<para><computeroutput>componentMoveSelectedUpDown dz </computeroutput></para><para>

<para>Moves the selected component one slice up or down. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>dz</entry>
                                <entry>
<para>Number of slices (+ up, - down) </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 516 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a3434629187e15f919407f610ce21634c"/>    <section>
    <title>componentsDrawAll()</title>
<indexterm><primary>componentsDrawAll</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentsDrawAll</secondary></indexterm>
<para><computeroutput>componentsDrawAll</computeroutput></para><para>

<para>Draws all components on the canvas. </para>
</para>
<para>
Definition at line 635 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1aad27d9884d24ed1b1213329f88efd71d"/>    <section>
    <title>componentSelect()</title>
<indexterm><primary>componentSelect</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentSelect</secondary></indexterm>
<para><computeroutput>componentSelect x y </computeroutput></para><para>

<para>Selects a component. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Position in canvas coordinates. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 291 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1ac47ac7ee50a93567eea0b592fc967bc3"/>    <section>
    <title>componentsToParticles()</title>
<indexterm><primary>componentsToParticles</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentsToParticles</secondary></indexterm>
<para><computeroutput>componentsToParticles</computeroutput></para><para>

<para>Generates particles from the component list. </para>
</para>
<para>
Definition at line 830 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a472a41ab3b3867d6bdd52e5ca481e72e"/>    <section>
    <title>componentSymmetry()</title>
<indexterm><primary>componentSymmetry</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>componentSymmetry</secondary></indexterm>
<para><computeroutput>componentSymmetry</computeroutput></para><para>

<para>Analyzes model components to determine cyclic symmetry. </para>
</para>
<para>
Definition at line 983 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a5d1b87657d4e694489756602dec21052"/>    <section>
    <title>convertImageToModel()</title>
<indexterm><primary>convertImageToModel</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>convertImageToModel</secondary></indexterm>
<para><computeroutput>convertImageToModel x y z </computeroutput></para><para>

<para>Converts image coordinates to model coordinates. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>z</entry>
                                <entry>
<para>Position in image coordinates. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 275 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a7d86bddbbf7140ca9eba96abdb8ee555"/>    <section>
    <title>createUpdateComponentType()</title>
<indexterm><primary>createUpdateComponentType</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>createUpdateComponentType</secondary></indexterm>
<para><computeroutput>createUpdateComponentType</computeroutput></para><para>

<para>Creates or updates a component type. </para>
</para>
<para>
Definition at line 360 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a8f00a21e4d0ba8046597245ff4603046"/>    <section>
    <title>deleteNonSelectedObjects()</title>
<indexterm><primary>deleteNonSelectedObjects</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>deleteNonSelectedObjects</secondary></indexterm>
<para><computeroutput>deleteNonSelectedObjects</computeroutput></para><para>

<para>Deletes all components and links that are not selected. </para>
</para>
<para>
Definition at line 737 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a63b96c85b6bb1e39ed03f8b17b41d80d"/>    <section>
    <title>doComponentSymmetry()</title>
<indexterm><primary>doComponentSymmetry</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>doComponentSymmetry</secondary></indexterm>
<para><computeroutput>doComponentSymmetry w </computeroutput></para><para>
Definition at line 1011 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a15c53d8cf9c2492b29e3f06cf81de1cf"/>    <section>
    <title>drawLine()</title>
<indexterm><primary>drawLine</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>drawLine</secondary></indexterm>
<para><computeroutput>drawLine c x1 y1 z1 x2 y2 z2 width col tag </computeroutput></para><para>
Definition at line 576 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1afd86d1234ce7ce7492d7f21d380a5a67"/>    <section>
    <title>drawSphere()</title>
<indexterm><primary>drawSphere</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>drawSphere</secondary></indexterm>
<para><computeroutput>drawSphere c x y z rad col width lbl fill tag </computeroutput></para><para>
Definition at line 550 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1aa09c6da9051846bec8687d8a204adcaf"/>    <section>
    <title>editModel()</title>
<indexterm><primary>editModel</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>editModel</secondary></indexterm>
<para><computeroutput>editModel</computeroutput></para><para>

<para>Edits a text parameter file. </para>
</para>
<para>
Definition at line 938 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1ad44fdc9f616521f568f8cd7cb51426ce"/>    <section>
    <title>extractSegments()</title>
<indexterm><primary>extractSegments</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>extractSegments</secondary></indexterm>
<para><computeroutput>extractSegments</computeroutput></para><para>

<para>Extracts all panels tagged by the component list. </para>
</para>
<para>
Definition at line 815 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1aeba633d90f76fb7c8277b3a924b6d1a2"/>    <section>
    <title>linkCreate()</title>
<indexterm><primary>linkCreate</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>linkCreate</secondary></indexterm>
<para><computeroutput>linkCreate x y </computeroutput></para><para>

<para>Creates a link if a starting component is selected. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Ending component position in canvas coordinates. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 465 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a4566ddab1c0692c5aed4219a8a025199"/>    <section>
    <title>linkDelete()</title>
<indexterm><primary>linkDelete</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>linkDelete</secondary></indexterm>
<para><computeroutput>linkDelete x y </computeroutput></para><para>

<para>Deletes the selected link. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Cooordinates on the canvas. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 705 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1afaeb55c8559fa6e5460071199202c9e0"/>    <section>
    <title>linkDraw()</title>
<indexterm><primary>linkDraw</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>linkDraw</secondary></indexterm>
<para><computeroutput>linkDraw id1 id2 </computeroutput></para><para>

<para>Draws a link line connecting two components on the canvas. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>id1</entry>
                                <entry>
<para>Component 1 identifier. </para>
</entry>
                            </row>
                            <row>
                                <entry>id2</entry>
                                <entry>
<para>Component 2 identifier. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 606 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a442c674bf234db4c0c0f27e4c890cb4e"/>    <section>
    <title>linksDrawAll()</title>
<indexterm><primary>linksDrawAll</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>linksDrawAll</secondary></indexterm>
<para><computeroutput>linksDrawAll</computeroutput></para><para>

<para>Draws all links on the canvas. </para>
</para>
<para>
Definition at line 664 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a801d38686c6b0c4c5b28d96448a7ff59"/>    <section>
    <title>linkSelect()</title>
<indexterm><primary>linkSelect</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>linkSelect</secondary></indexterm>
<para><computeroutput>linkSelect x y </computeroutput></para><para>

<para>Selects a link. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Position in canvas coordinates. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 333 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1aa2cff3fc18c42af0c96d691ade54b4fe"/>    <section>
    <title>loadModel()</title>
<indexterm><primary>loadModel</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>loadModel</secondary></indexterm>
<para><computeroutput>loadModel thefile </computeroutput></para><para>
Definition at line 880 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a051e4d035e053a4636efc58c1bde9b3e"/>    <section>
    <title>Model()</title>
<indexterm><primary>Model</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>Model</secondary></indexterm>
<para><computeroutput>Model</computeroutput></para><para>

<para>Dialog box to manipulate componets and links on the main canvas. </para>
</para>
<para>
Definition at line 59 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a65a4fb2cbeca7e1d4f9596f71fadf6bf"/>    <section>
    <title>objectsDeleteAll()</title>
<indexterm><primary>objectsDeleteAll</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>objectsDeleteAll</secondary></indexterm>
<para><computeroutput>objectsDeleteAll</computeroutput></para><para>

<para>Deletes all components and links. </para>
</para>
<para>
Definition at line 720 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1ac12d83af631db6a276a2bf4e46ad29ba"/>    <section>
    <title>objectsDrawAll()</title>
<indexterm><primary>objectsDrawAll</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>objectsDrawAll</secondary></indexterm>
<para><computeroutput>objectsDrawAll args </computeroutput></para><para>

<para>Draws all components and links on the canvas. </para>
</para>
<para>
Definition at line 626 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a5f5fb8eef3cdc88894ae2a28c3e00f82"/>    <section>
    <title>readModel()</title>
<indexterm><primary>readModel</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>readModel</secondary></indexterm>
<para><computeroutput>readModel</computeroutput></para><para>

<para>Reads model from a file. </para>
</para>
<para>
Definition at line 840 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a54b17a0931f064d837ce3a9852f29c96"/>    <section>
    <title>setColor()</title>
<indexterm><primary>setColor</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>setColor</secondary></indexterm>
<para><computeroutput>setColor</computeroutput></para><para>

<para>Sets the color for selected components. </para>
</para>
<para>
Definition at line 790 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a9456a2c97cd7c90975e821873a3df87a"/>    <section>
    <title>setComponentRadius()</title>
<indexterm><primary>setComponentRadius</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>setComponentRadius</secondary></indexterm>
<para><computeroutput>setComponentRadius</computeroutput></para><para>

<para>Sets radii of selected components. </para>
</para>
<para>
Definition at line 746 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a126423863993cd1dc5334c117a6dadd2"/>    <section>
    <title>setLinkRadius()</title>
<indexterm><primary>setLinkRadius</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>setLinkRadius</secondary></indexterm>
<para><computeroutput>setLinkRadius</computeroutput></para><para>

<para>Sets radii of selected links. </para>
</para>
<para>
Definition at line 762 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1aa593b85a76e34b56382b82a8a17d6b71"/>    <section>
    <title>setSelection()</title>
<indexterm><primary>setSelection</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>setSelection</secondary></indexterm>
<para><computeroutput>setSelection args </computeroutput></para><para>

<para>Sets the selection of components. </para>
</para>
<para>
Definition at line 773 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1ab0769641c92ce786cf8706a5dfb76d76"/>    <section>
    <title>setupModelMenu()</title>
<indexterm><primary>setupModelMenu</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>setupModelMenu</secondary></indexterm>
<para><computeroutput>setupModelMenu</computeroutput></para><para>

<para>Menu for opening and closing parameter files. </para>
</para>
<para>
Definition at line 27 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a3f0b1e7d3ae5afb0ce3ab4faa06813f0"/>    <section>
    <title>setViews()</title>
<indexterm><primary>setViews</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>setViews</secondary></indexterm>
<para><computeroutput>setViews</computeroutput></para><para>

<para>Sets the views relative to the origin. </para>
</para>
<para>
Definition at line 807 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a2b9162c021e76f1503d504de57cedca8"/>    <section>
    <title>Shell()</title>
<indexterm><primary>Shell</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>Shell</secondary></indexterm>
<para><computeroutput>Shell</computeroutput></para><para>

<para>Dialog box for creating a shell (ring for 2D) </para>
</para>
<para>
Definition at line 948 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a4facfdbf33ee93c75e8acfa6408d4921"/>    <section>
    <title>toggleCompTypeSelection()</title>
<indexterm><primary>toggleCompTypeSelection</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>toggleCompTypeSelection</secondary></indexterm>
<para><computeroutput>toggleCompTypeSelection id sel </computeroutput></para><para>
Definition at line 232 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a7d9fb565a572a012f29013d04435afa2"/>    <section>
    <title>updateCompTypeTable()</title>
<indexterm><primary>updateCompTypeTable</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>updateCompTypeTable</secondary></indexterm>
<para><computeroutput>updateCompTypeTable</computeroutput></para><para>

<para>Updates the component type table from the model parameters in memory. </para>
</para>
<para>
Definition at line 246 of file bshow_model.tcl.</para>
    </section><anchor xml:id="_bshow__model_8tcl_1a00a96c1fd4fd63644247b8f921555498"/>    <section>
    <title>writeModel()</title>
<indexterm><primary>writeModel</primary><secondary>bshow_model.tcl</secondary></indexterm>
<indexterm><primary>bshow_model.tcl</primary><secondary>writeModel</secondary></indexterm>
<para><computeroutput>writeModel</computeroutput></para><para>

<para>Saves the component and link model to a file. </para>
</para>
<para>
Definition at line 900 of file bshow_model.tcl.</para>
</section>
</section>
</section>
