<refentry id="amitk-amitk-roi-FREEHAND-3D">
<refmeta>
<refentrytitle role="top_of_page">amitk_roi_FREEHAND_3D</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>AMITK Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>amitk_roi_FREEHAND_3D</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>



#define             <link linkend="ROI-TYPE-FREEHAND-3D:CAPS">ROI_TYPE_FREEHAND_3D</link>
<link linkend="GSList">GSList</link>*             <link linkend="amitk-roi-FREEHAND-3D-get-intersection-line">amitk_roi_FREEHAND_3D_get_intersection_line</link>
                                                        (const <link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         const <link linkend="AmitkVolume">AmitkVolume</link> *canvas_slice,
                                                         const <link linkend="amide-real-t">amide_real_t</link> pixel_dim);
<link linkend="AmitkDataSet">AmitkDataSet</link>*       <link linkend="amitk-roi-FREEHAND-3D-get-intersection-slice">amitk_roi_FREEHAND_3D_get_intersection_slice</link>
                                                        (const <link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         const <link linkend="AmitkVolume">AmitkVolume</link> *canvas_slice,
                                                         const <link linkend="amide-real-t">amide_real_t</link> pixel_dim,
                                                         const <link linkend="gboolean">gboolean</link> fill_roi);
<link linkend="void">void</link>                <link linkend="amitk-roi-FREEHAND-3D-set-isocontour">amitk_roi_FREEHAND_3D_set_isocontour</link>
                                                        (<link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         <link linkend="AmitkDataSet">AmitkDataSet</link> *ds,
                                                         <link linkend="AmitkVoxel">AmitkVoxel</link> iso_vp,
                                                         <link linkend="amide-data-t">amide_data_t</link> iso_min_value,
                                                         <link linkend="amide-data-t">amide_data_t</link> iso_max_value,
                                                         <link linkend="AmitkRoiIsocontourRange">AmitkRoiIsocontourRange</link> iso_range);
<link linkend="void">void</link>                <link linkend="amitk-roi-FREEHAND-3D-manipulate-area">amitk_roi_FREEHAND_3D_manipulate_area</link>
                                                        (<link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         <link linkend="gboolean">gboolean</link> erase,
                                                         <link linkend="AmitkVoxel">AmitkVoxel</link> voxel,
                                                         <link linkend="gint">gint</link> area_size);
<link linkend="void">void</link>                <link linkend="amitk-roi-FREEHAND-3D-calc-center-of-mass">amitk_roi_FREEHAND_3D_calc_center_of_mass</link>
                                                        (<link linkend="AmitkRoi">AmitkRoi</link> *roi);
<link linkend="void">void</link>                <link linkend="amitk-roi-FREEHAND-3D-calculate-on-data-set-fast">amitk_roi_FREEHAND_3D_calculate_on_data_set_fast</link>
                                                        (const <link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         const <link linkend="AmitkDataSet">AmitkDataSet</link> *ds,
                                                         const <link linkend="guint">guint</link> frame,
                                                         const <link linkend="guint">guint</link> gate,
                                                         const <link linkend="gboolean">gboolean</link> inverse,
                                                         <link linkend="void">void</link> (*calculation) (),
                                                         <link linkend="gpointer">gpointer</link> data);
<link linkend="void">void</link>                <link linkend="amitk-roi-FREEHAND-3D-calculate-on-data-set-accurate">amitk_roi_FREEHAND_3D_calculate_on_data_set_accurate</link>
                                                        (const <link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         const <link linkend="AmitkDataSet">AmitkDataSet</link> *ds,
                                                         const <link linkend="guint">guint</link> frame,
                                                         const <link linkend="guint">guint</link> gate,
                                                         const <link linkend="gboolean">gboolean</link> inverse,
                                                         <link linkend="void">void</link> (*calculation) (),
                                                         <link linkend="gpointer">gpointer</link> data);
</synopsis>
</refsynopsisdiv>









<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="ROI-TYPE-FREEHAND-3D:CAPS" role="macro"/>ROI_TYPE_FREEHAND_3D</title>
<indexterm><primary>ROI_TYPE_FREEHAND_3D</primary></indexterm><programlisting>#define ROI_TYPE_FREEHAND_3D
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="amitk-roi-FREEHAND-3D-get-intersection-line" role="function"/>amitk_roi_FREEHAND_3D_get_intersection_line ()</title>
<indexterm><primary>amitk_roi_FREEHAND_3D_get_intersection_line</primary></indexterm><programlisting><link linkend="GSList">GSList</link>*             amitk_roi_FREEHAND_3D_get_intersection_line
                                                        (const <link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         const <link linkend="AmitkVolume">AmitkVolume</link> *canvas_slice,
                                                         const <link linkend="amide-real-t">amide_real_t</link> pixel_dim);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>roi</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>canvas_slice</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pixel_dim</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="amitk-roi-FREEHAND-3D-get-intersection-slice" role="function"/>amitk_roi_FREEHAND_3D_get_intersection_slice ()</title>
<indexterm><primary>amitk_roi_FREEHAND_3D_get_intersection_slice</primary></indexterm><programlisting><link linkend="AmitkDataSet">AmitkDataSet</link>*       amitk_roi_FREEHAND_3D_get_intersection_slice
                                                        (const <link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         const <link linkend="AmitkVolume">AmitkVolume</link> *canvas_slice,
                                                         const <link linkend="amide-real-t">amide_real_t</link> pixel_dim,
                                                         const <link linkend="gboolean">gboolean</link> fill_roi);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>roi</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>canvas_slice</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pixel_dim</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>fill_roi</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="amitk-roi-FREEHAND-3D-set-isocontour" role="function"/>amitk_roi_FREEHAND_3D_set_isocontour ()</title>
<indexterm><primary>amitk_roi_FREEHAND_3D_set_isocontour</primary></indexterm><programlisting><link linkend="void">void</link>                amitk_roi_FREEHAND_3D_set_isocontour
                                                        (<link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         <link linkend="AmitkDataSet">AmitkDataSet</link> *ds,
                                                         <link linkend="AmitkVoxel">AmitkVoxel</link> iso_vp,
                                                         <link linkend="amide-data-t">amide_data_t</link> iso_min_value,
                                                         <link linkend="amide-data-t">amide_data_t</link> iso_max_value,
                                                         <link linkend="AmitkRoiIsocontourRange">AmitkRoiIsocontourRange</link> iso_range);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>roi</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ds</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>iso_vp</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>iso_min_value</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>iso_max_value</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>iso_range</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="amitk-roi-FREEHAND-3D-manipulate-area" role="function"/>amitk_roi_FREEHAND_3D_manipulate_area ()</title>
<indexterm><primary>amitk_roi_FREEHAND_3D_manipulate_area</primary></indexterm><programlisting><link linkend="void">void</link>                amitk_roi_FREEHAND_3D_manipulate_area
                                                        (<link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         <link linkend="gboolean">gboolean</link> erase,
                                                         <link linkend="AmitkVoxel">AmitkVoxel</link> voxel,
                                                         <link linkend="gint">gint</link> area_size);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>roi</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>erase</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>voxel</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>area_size</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="amitk-roi-FREEHAND-3D-calc-center-of-mass" role="function"/>amitk_roi_FREEHAND_3D_calc_center_of_mass ()</title>
<indexterm><primary>amitk_roi_FREEHAND_3D_calc_center_of_mass</primary></indexterm><programlisting><link linkend="void">void</link>                amitk_roi_FREEHAND_3D_calc_center_of_mass
                                                        (<link linkend="AmitkRoi">AmitkRoi</link> *roi);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>roi</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="amitk-roi-FREEHAND-3D-calculate-on-data-set-fast" role="function"/>amitk_roi_FREEHAND_3D_calculate_on_data_set_fast ()</title>
<indexterm><primary>amitk_roi_FREEHAND_3D_calculate_on_data_set_fast</primary></indexterm><programlisting><link linkend="void">void</link>                amitk_roi_FREEHAND_3D_calculate_on_data_set_fast
                                                        (const <link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         const <link linkend="AmitkDataSet">AmitkDataSet</link> *ds,
                                                         const <link linkend="guint">guint</link> frame,
                                                         const <link linkend="guint">guint</link> gate,
                                                         const <link linkend="gboolean">gboolean</link> inverse,
                                                         <link linkend="void">void</link> (*calculation) (),
                                                         <link linkend="gpointer">gpointer</link> data);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>roi</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ds</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>frame</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>gate</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>inverse</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>calculation</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="amitk-roi-FREEHAND-3D-calculate-on-data-set-accurate" role="function"/>amitk_roi_FREEHAND_3D_calculate_on_data_set_accurate ()</title>
<indexterm><primary>amitk_roi_FREEHAND_3D_calculate_on_data_set_accurate</primary></indexterm><programlisting><link linkend="void">void</link>                amitk_roi_FREEHAND_3D_calculate_on_data_set_accurate
                                                        (const <link linkend="AmitkRoi">AmitkRoi</link> *roi,
                                                         const <link linkend="AmitkDataSet">AmitkDataSet</link> *ds,
                                                         const <link linkend="guint">guint</link> frame,
                                                         const <link linkend="guint">guint</link> gate,
                                                         const <link linkend="gboolean">gboolean</link> inverse,
                                                         <link linkend="void">void</link> (*calculation) (),
                                                         <link linkend="gpointer">gpointer</link> data);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>roi</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ds</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>frame</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>gate</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>inverse</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>calculation</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
