<?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="_rw_d_s_n6_8h">
<title>/Users/bernard/b20/bsoft/include/rwDSN6.h File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/include/rwDSN6.h</primary></indexterm>
<para>

<para>Header file for reading and writing DSN6 files. </para>
 
</para>
<programlisting>#include &quot;rwimg.h&quot;
</programlisting><simplesect>
    <title>Classes    </title>
        <itemizedlist>
            <listitem><para>struct <link linkend="_struct_d_s_n6head">DSN6head</link></para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Macros    </title>
        <itemizedlist>
            <listitem><para>#define <link linkend="_rw_d_s_n6_8h_1a0577119828010ed567226dc2260e8577">DSN6SIZE</link>   512</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_rw_d_s_n6_8h_1a7f29bb5827a73160ba43bafd9694c0e7">readDSN6</link> (<link linkend="_class_bimage">Bimage</link> *p, int readdata)</para>

<para>Reading a DSN6 map image file format. </para>
</listitem>
            <listitem><para>int <link linkend="_rw_d_s_n6_8h_1ab3d167bc50e74f115a0e74e3274be3aa">writeDSN6</link> (<link linkend="_class_bimage">Bimage</link> *p)</para>

<para>Writing a DSN6 map image file format. </para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Header file for reading and writing DSN6 files. </para>

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

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

<para>Created: 20011226 </para>

<para>Modified: 200111217 <literallayout><computeroutput>Format: 3D crystallographic image file format for the DSN6 format
</computeroutput></literallayout> </para>
</formalpara>
</para>
</section>
<section>
<title>Macro Definition Documentation</title>
<anchor xml:id="_rw_d_s_n6_8h_1a0577119828010ed567226dc2260e8577"/>    <section>
    <title>DSN6SIZE</title>
<indexterm><primary>DSN6SIZE</primary><secondary>rwDSN6.h</secondary></indexterm>
<indexterm><primary>rwDSN6.h</primary><secondary>DSN6SIZE</secondary></indexterm>
<para><computeroutput>#define DSN6SIZE   512</computeroutput></para><para>
Definition at line 13 of file rwDSN6.h.</para>
</section>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_rw_d_s_n6_8h_1a7f29bb5827a73160ba43bafd9694c0e7"/>    <section>
    <title>readDSN6()</title>
<indexterm><primary>readDSN6</primary><secondary>rwDSN6.h</secondary></indexterm>
<indexterm><primary>rwDSN6.h</primary><secondary>readDSN6</secondary></indexterm>
<para><computeroutput>int readDSN6 (<link linkend="_class_bimage">Bimage</link> * p, int readdata)</computeroutput></para><para>

<para>Reading a DSN6 map image file format. </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>*p</entry>
                                <entry>
<para>the image structure. </para>
</entry>
                            </row>
                            <row>
                                <entry>readdata</entry>
                                <entry>
<para>flag to activate reading of image data. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int error code (&lt;0 means failure). A 3D image format used in X-ray crystallography. Header size: 512 bytes File format extensions: .omap, .dsn6, .dn6 Header byte order always big-endian, composed of short&apos;s. Byte order determination: Scaling fields must be less than 256. Data type: unsigned char or byte. </para>
</formalpara>
</para>
<para>
Definition at line 27 of file rwDSN6.cpp.</para>
    </section><anchor xml:id="_rw_d_s_n6_8h_1ab3d167bc50e74f115a0e74e3274be3aa"/>    <section>
    <title>writeDSN6()</title>
<indexterm><primary>writeDSN6</primary><secondary>rwDSN6.h</secondary></indexterm>
<indexterm><primary>rwDSN6.h</primary><secondary>writeDSN6</secondary></indexterm>
<para><computeroutput>int writeDSN6 (<link linkend="_class_bimage">Bimage</link> * p)</computeroutput></para><para>

<para>Writing a DSN6 map image file format. </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>*p</entry>
                                <entry>
<para>the image structure. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int error code (&lt;0 means failure). A 3D image format used in X-ray crystallography. </para>
</formalpara>
</para>
<para>
Definition at line 112 of file rwDSN6.cpp.</para>
</section>
</section>
</section>
