<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?action=history&amp;feed=atom&amp;title=Contour%28API%29</id>
		<title>Contour(API) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?action=history&amp;feed=atom&amp;title=Contour%28API%29"/>
		<link rel="alternate" type="text/html" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=Contour(API)&amp;action=history"/>
		<updated>2026-05-02T12:56:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.6</generator>

	<entry>
		<id>http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=Contour(API)&amp;diff=3774&amp;oldid=prev</id>
		<title>Kinoshita at 00:19, 2 September 2014</title>
		<link rel="alternate" type="text/html" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=Contour(API)&amp;diff=3774&amp;oldid=prev"/>
				<updated>2014-09-02T00:19:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:19, 2 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;DataExpress/'''Contour''' is API for the calculation of contour. It is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ued &lt;/del&gt;by [[psFile(API)]], etc..&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;DataExpress/'''Contour''' is API for the calculation of contour. It is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;used &lt;/ins&gt;by [[psFile(API)]], etc..&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== constant ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== constant ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kinoshita</name></author>	</entry>

	<entry>
		<id>http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=Contour(API)&amp;diff=1779&amp;oldid=prev</id>
		<title>Kinoshita: Created page with &quot;DataExpress/'''Contour''' is API for the calculation of contour. It is ued by psFile(API), etc..  == constant ==  #define MINFLOAT (1e-31)  #define CONTOUR_ACCURACY  (MINF...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=Contour(API)&amp;diff=1779&amp;oldid=prev"/>
				<updated>2014-07-28T07:52:40Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;DataExpress/&amp;#039;&amp;#039;&amp;#039;Contour&amp;#039;&amp;#039;&amp;#039; is API for the calculation of contour. It is ued by &lt;a href=&quot;/Eos/index.php/psFile(API)&quot; title=&quot;psFile(API)&quot;&gt;psFile(API)&lt;/a&gt;, etc..  == constant ==  #define MINFLOAT (1e-31)  #define CONTOUR_ACCURACY  (MINF...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;DataExpress/'''Contour''' is API for the calculation of contour. It is ued by [[psFile(API)]], etc..&lt;br /&gt;
&lt;br /&gt;
== constant ==&lt;br /&gt;
 #define MINFLOAT (1e-31)&lt;br /&gt;
 #define CONTOUR_ACCURACY  (MINFLOAT)&lt;br /&gt;
&lt;br /&gt;
== struct ==&lt;br /&gt;
 typedef long   contourParaTypeInteger;&lt;br /&gt;
 typedef double contourParaTypeReal;&lt;br /&gt;
&lt;br /&gt;
 typedef struct contourParaElement {&lt;br /&gt;
     contourParaTypeInteger n;&lt;br /&gt;
     contourParaTypeReal    Min;&lt;br /&gt;
     contourParaTypeReal    Max;&lt;br /&gt;
     contourParaTypeReal    d;&lt;br /&gt;
 } contourParaElement;&lt;br /&gt;
&lt;br /&gt;
 typedef struct contourImage {&lt;br /&gt;
     contourParaTypeReal* image;&lt;br /&gt;
     contourParaTypeReal* image2;&lt;br /&gt;
     contourParaElement   x;&lt;br /&gt;
     contourParaElement   y;&lt;br /&gt;
     contourParaElement   z;&lt;br /&gt;
     contourParaElement   w;&lt;br /&gt;
     contourParaElement   h;&lt;br /&gt;
     contourParaTypeReal  section;&lt;br /&gt;
 } contourImage;&lt;br /&gt;
&lt;br /&gt;
 typedef struct contourPoint {&lt;br /&gt;
     contourParaTypeReal    x;&lt;br /&gt;
     contourParaTypeReal    y;&lt;br /&gt;
     contourParaTypeReal    z;&lt;br /&gt;
 } contourPoint;&lt;br /&gt;
&lt;br /&gt;
 typedef struct contourALine contourALine;&lt;br /&gt;
 struct contourALine {&lt;br /&gt;
     contourALine* before;&lt;br /&gt;
     contourPoint p0;&lt;br /&gt;
     contourPoint p1;&lt;br /&gt;
     contourPoint p2;&lt;br /&gt;
     contourALine* next;&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
 typedef struct contourLine contourLine;&lt;br /&gt;
 struct contourLine {&lt;br /&gt;
     contourALine* top;&lt;br /&gt;
     contourALine* current;&lt;br /&gt;
     contourParaTypeInteger n;&lt;br /&gt;
     contourLine*  next;&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
 typedef struct contourLines contourLines;&lt;br /&gt;
 struct contourLines {&lt;br /&gt;
     contourLine*  top;&lt;br /&gt;
     contourLine*  current;&lt;br /&gt;
     contourParaTypeInteger n;&lt;br /&gt;
     contourLines* next;&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
 typedef struct contourLinesSet contourLinesSet;&lt;br /&gt;
 struct contourLinesSet {&lt;br /&gt;
     contourLines*  top;&lt;br /&gt;
     contourLines*  current;&lt;br /&gt;
     contourParaTypeInteger n;&lt;br /&gt;
     contourLinesSet* next;&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
 typedef struct contourArgs {&lt;br /&gt;
     contourParaTypeReal f00;  /* For 2D Contour*/&lt;br /&gt;
     contourParaTypeReal f01;&lt;br /&gt;
     contourParaTypeReal f11;&lt;br /&gt;
     contourParaTypeReal f10;&lt;br /&gt;
     contourParaTypeReal f000; /* For 3D Contour */&lt;br /&gt;
     contourParaTypeReal f001;&lt;br /&gt;
     contourParaTypeReal f010;&lt;br /&gt;
     contourParaTypeReal f011;&lt;br /&gt;
     contourParaTypeReal f100;&lt;br /&gt;
     contourParaTypeReal f101;&lt;br /&gt;
     contourParaTypeReal f110;&lt;br /&gt;
     contourParaTypeReal f111;&lt;br /&gt;
     contourParaTypeReal x;&lt;br /&gt;
     contourParaTypeReal y;&lt;br /&gt;
     contourParaTypeReal z;&lt;br /&gt;
     contourParaTypeReal dx;&lt;br /&gt;
     contourParaTypeReal dy;&lt;br /&gt;
     contourParaTypeReal dz;&lt;br /&gt;
 } contourArgs;&lt;br /&gt;
&lt;br /&gt;
 typedef enum contourFlag {&lt;br /&gt;
     contourFlagXSection,&lt;br /&gt;
     contourFlagYSection,&lt;br /&gt;
     contourFlagZSection,&lt;br /&gt;
     contourFlag3D&lt;br /&gt;
 } contourFlag;&lt;br /&gt;
&lt;br /&gt;
== API ==&lt;br /&gt;
===search contour lines in a boxel===&lt;br /&gt;
 extern void createContourALine(contourLine* ls, contourArgs c);&lt;br /&gt;
&lt;br /&gt;
===create contour lines in order===&lt;br /&gt;
 extern void createContourLine (contourLines*  ls, contourLine* l);&lt;br /&gt;
&lt;br /&gt;
===craete contourLines at each section===&lt;br /&gt;
 extern void createContourLines(contourLines* ls, contourImage image);&lt;br /&gt;
&lt;br /&gt;
===create contourLines at all sections===&lt;br /&gt;
 extern void createContour(contourLinesSet* lsset, contourImage image, contourParaTypeReal level, contourFlag flag);&lt;br /&gt;
&lt;br /&gt;
 extern void appendContourLine0(contourLine* l, contourParaTypeReal xc1, contourParaTypeReal yc1, contourParaTypeReal xc2, contourParaTypeReal yc2, contourParaTypeReal z);&lt;br /&gt;
 extern void appendContourLine1(contourLine* l, contourLine* als);&lt;br /&gt;
&lt;br /&gt;
 extern void lmrc2contour(contourLinesSet* c, mrcImage* m, contourParaTypeReal l, contourFlag f, long mode);&lt;/div&gt;</summary>
		<author><name>Kinoshita</name></author>	</entry>

	</feed>