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

<para>Procedures for rendering the magnifying window in Bshow. </para>
 
</para>
<simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1a03b2414f6693a24ed24ce19102ee7afb">Magnify</link> x y</para>

<para>Window to show a region magnified. </para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1aed55df78543ed76a4d198895e5c07985">drawCross</link> c lx ly</para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1a354928bf7506913932bb470479213bf8">updateMagnify</link> x y currSlice updatesource</para>

<para>Updates the magnifying window. </para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1a2bcb5b787fed20a8edf4b5e6f7153946">drawMagBox</link> id ptx pty ptz</para>

<para>Draws a box in the magnification window. </para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1a6836c4f8c1afbf56040198ef896a6975">drawMagMarker</link> id ptx pty ptz</para>

<para>Draws a marker in the magnification window. </para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1aa3654f49960f6fb37b4adb8c7174e942">drawMagSphere</link> x y z ptx pty ptz rad col width lbl tag</para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1adb62b3a9349fd37b93ae598f808934d8">drawMagLine</link> xs ys zs xe ye ze ptx pty ptz width col tag</para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1a20e587fc54294a0db7f326d195e86d92">changeSlice</link> deltaslice</para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1a680061cfeac75840fa9d7fcdc2f44b60">updateSlicer</link> aniaxis anidirection</para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1a96ce2abbc4fdb891af261e78711fa4f0">animateSlices</link></para>
</listitem>
            <listitem><para><link linkend="_bshow__magnify_8tcl_1a53aa3e4bac90f563cfe7adc77da311e7">check_length</link> newstring max_length</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Procedures for rendering the magnifying window in Bshow. </para>

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

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

<para>Created: 20010516 </para>

<para>Modified: 20161102 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bshow__magnify_8tcl_1a96ce2abbc4fdb891af261e78711fa4f0"/>    <section>
    <title>animateSlices()</title>
<indexterm><primary>animateSlices</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>animateSlices</secondary></indexterm>
<para><computeroutput>animateSlices</computeroutput></para><para>
Definition at line 744 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1a20e587fc54294a0db7f326d195e86d92"/>    <section>
    <title>changeSlice()</title>
<indexterm><primary>changeSlice</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>changeSlice</secondary></indexterm>
<para><computeroutput>changeSlice deltaslice </computeroutput></para><para>
Definition at line 711 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1a53aa3e4bac90f563cfe7adc77da311e7"/>    <section>
    <title>check_length()</title>
<indexterm><primary>check_length</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>check_length</secondary></indexterm>
<para><computeroutput>check_length newstring max_length </computeroutput></para><para>
Definition at line 807 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1aed55df78543ed76a4d198895e5c07985"/>    <section>
    <title>drawCross()</title>
<indexterm><primary>drawCross</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>drawCross</secondary></indexterm>
<para><computeroutput>drawCross c lx ly </computeroutput></para><para>
Definition at line 143 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1a2bcb5b787fed20a8edf4b5e6f7153946"/>    <section>
    <title>drawMagBox()</title>
<indexterm><primary>drawMagBox</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>drawMagBox</secondary></indexterm>
<para><computeroutput>drawMagBox id ptx pty ptz </computeroutput></para><para>

<para>Draws a box in the magnification window. </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>Box identifier. </para>
</entry>
                            </row>
                            <row>
                                <entry>ptx</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>pty</entry>
                                <entry>
<para>Coordinates within the image. </para>
</entry>
                            </row>
                            <row>
                                <entry>ptz</entry>
                                <entry>
<para>Current slice (defaults to main window&apos;s slice unless animating) </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 304 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1adb62b3a9349fd37b93ae598f808934d8"/>    <section>
    <title>drawMagLine()</title>
<indexterm><primary>drawMagLine</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>drawMagLine</secondary></indexterm>
<para><computeroutput>drawMagLine xs ys zs xe ye ze ptx pty ptz width col tag </computeroutput></para><para>
Definition at line 631 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1a6836c4f8c1afbf56040198ef896a6975"/>    <section>
    <title>drawMagMarker()</title>
<indexterm><primary>drawMagMarker</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>drawMagMarker</secondary></indexterm>
<para><computeroutput>drawMagMarker id ptx pty ptz </computeroutput></para><para>

<para>Draws a marker in the magnification window. </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>Marker identifier. </para>
</entry>
                            </row>
                            <row>
                                <entry>ptx</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>pty</entry>
                                <entry>
<para>Coordinates within the image. </para>
</entry>
                            </row>
                            <row>
                                <entry>ptz</entry>
                                <entry>
<para>Current slice (defaults to main window&apos;s slice unless animating) </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 434 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1aa3654f49960f6fb37b4adb8c7174e942"/>    <section>
    <title>drawMagSphere()</title>
<indexterm><primary>drawMagSphere</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>drawMagSphere</secondary></indexterm>
<para><computeroutput>drawMagSphere x y z ptx pty ptz rad col width lbl tag </computeroutput></para><para>
Definition at line 543 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1a03b2414f6693a24ed24ce19102ee7afb"/>    <section>
    <title>Magnify()</title>
<indexterm><primary>Magnify</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>Magnify</secondary></indexterm>
<para><computeroutput>Magnify x y </computeroutput></para><para>

<para>Window to show a region magnified. </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>Coordinates on the canvas. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 22 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1a354928bf7506913932bb470479213bf8"/>    <section>
    <title>updateMagnify()</title>
<indexterm><primary>updateMagnify</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>updateMagnify</secondary></indexterm>
<para><computeroutput>updateMagnify x y currSlice updatesource </computeroutput></para><para>

<para>Updates the magnifying window. </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>Coordinates within the image. </para>
</entry>
                            </row>
                            <row>
                                <entry>currSlice</entry>
                                <entry>
<para>Current slice (defaults to main window&apos;s slice unless animating) </para>
</entry>
                            </row>
                            <row>
                                <entry>updatesource</entry>
                                <entry>
<para>Procedure calling update (mouse or slicer) </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 155 of file bshow_magnify.tcl.</para>
    </section><anchor xml:id="_bshow__magnify_8tcl_1a680061cfeac75840fa9d7fcdc2f44b60"/>    <section>
    <title>updateSlicer()</title>
<indexterm><primary>updateSlicer</primary><secondary>bshow_magnify.tcl</secondary></indexterm>
<indexterm><primary>bshow_magnify.tcl</primary><secondary>updateSlicer</secondary></indexterm>
<para><computeroutput>updateSlicer aniaxis anidirection </computeroutput></para><para>
Definition at line 724 of file bshow_magnify.tcl.</para>
</section>
</section>
</section>
