<?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=lmrcImageModelCreate%28API%29</id>
		<title>lmrcImageModelCreate(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=lmrcImageModelCreate%28API%29"/>
		<link rel="alternate" type="text/html" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=lmrcImageModelCreate(API)&amp;action=history"/>
		<updated>2026-05-04T17:05:43Z</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=lmrcImageModelCreate(API)&amp;diff=3890&amp;oldid=prev</id>
		<title>Kinoshita: Created page with &quot;DataManip/mrcImage/src/'''lmrcImageModelCreate''' is API for mrcImageModelCreate.  == constant ==  == struct == For setting of these API.  typedef struct _lmrcImageModelCr...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.yasunaga-lab.bio.kyutech.ac.jp/Eos/index.php?title=lmrcImageModelCreate(API)&amp;diff=3890&amp;oldid=prev"/>
				<updated>2014-09-08T08:42:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;DataManip/mrcImage/src/&amp;#039;&amp;#039;&amp;#039;lmrcImageModelCreate&amp;#039;&amp;#039;&amp;#039; is API for &lt;a href=&quot;/Eos/index.php/mrcImageModelCreate&quot; title=&quot;mrcImageModelCreate&quot;&gt;mrcImageModelCreate&lt;/a&gt;.  == constant ==  == struct == For setting of these API.  typedef struct _lmrcImageModelCr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;DataManip/mrcImage/src/'''lmrcImageModelCreate''' is API for [[mrcImageModelCreate]].&lt;br /&gt;
&lt;br /&gt;
== constant ==&lt;br /&gt;
&lt;br /&gt;
== struct ==&lt;br /&gt;
For setting of these API.&lt;br /&gt;
 typedef struct _lmrcImageModelCreateMode1Info {&lt;br /&gt;
 	float radius;&lt;br /&gt;
 	float nHelix;&lt;br /&gt;
 	float zPitch;&lt;br /&gt;
 	float phiAngle;&lt;br /&gt;
 	float deltaPhi;&lt;br /&gt;
 	float startZ;&lt;br /&gt;
 	float endZ;&lt;br /&gt;
 	float startPhi;&lt;br /&gt;
 	int     flagIn;&lt;br /&gt;
 	mrcImage*  in;&lt;br /&gt;
 	mrcImageDataSetMode inMode;&lt;br /&gt;
 	int 	fm;&lt;br /&gt;
 	int 	units;&lt;br /&gt;
 } _lmrcImageModelCreateMode1Info;&lt;br /&gt;
&lt;br /&gt;
== API ==&lt;br /&gt;
===Create model image===&lt;br /&gt;
====Triangle and circle====&lt;br /&gt;
Create triangle(3D: prism) whose size is depending on out-&amp;gt;HeaderN, and circle(3D: sphere) by radius.&lt;br /&gt;
 extern void _lmrcImageModelCreateMode0(mrcImage* out, mrcImageParaTypeReal radius);&lt;br /&gt;
&lt;br /&gt;
====Filament model====&lt;br /&gt;
Create filament with setting '''info'''.(out-&amp;gt;HeaderN.x, y must be odd)&lt;br /&gt;
 extern void _lmrcImageModelCreateMode1(mrcImage* out, _lmrcImageModelCreateMode1Info info);&lt;br /&gt;
Method of creating filament is depending on '''units''', '''flagIn''', ''fm'''.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;1&amp;quot;|info's member&lt;br /&gt;
!units&lt;br /&gt;
!flagIn&lt;br /&gt;
!fm&lt;br /&gt;
|details&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=&amp;quot;6&amp;quot;|値&lt;br /&gt;
|rowspan=&amp;quot;5&amp;quot;|9&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;|true&lt;br /&gt;
|0&lt;br /&gt;
|Create 1 line filament by using data of '''in'''.&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Create 3 lines filament by using data of '''in'''.(on same circumference with using info.radius)&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Create 3 lines filament by using data of '''in'''.(on same line with using info.radius)&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Create 3 lines filament by using data of '''in'''.(on different circumference with using info.radius)&lt;br /&gt;
|-&lt;br /&gt;
|false&lt;br /&gt;
|&lt;br /&gt;
|Add filament whose value is 1 to '''out'''.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;5&amp;quot;|3&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;|true&lt;br /&gt;
|0&lt;br /&gt;
|Create filament that has 5 groups of 3 points for each point by using '''in''' data.(as like combine of units=9) (Output is dependent on info.radius, info.zPitch)&lt;br /&gt;
|}&lt;br /&gt;
info.flagIn=true is flag, and it means that Input file (as [[mrcImageModelCreate]]) exists. Therefore, if info.flagIn=true, input file must set at info.in(mrcImage type).&lt;br /&gt;
&lt;br /&gt;
====Points model====&lt;br /&gt;
Output to left bottom the image that has 3 points whose value is 1.&lt;br /&gt;
 extern void _lmrcImageModelCreateMode2(mrcImage* out);&lt;br /&gt;
It is used for creating filament.&lt;br /&gt;
&lt;br /&gt;
====Sphere model====&lt;br /&gt;
Add to '''out''' 3 sphere models whose value is 1.&lt;br /&gt;
 extern void _lmrcImageModelCreateMode3(mrcImage* out);&lt;br /&gt;
&lt;br /&gt;
Add to '''out''' 7 sphere models whose value is 1.&lt;br /&gt;
 extern void _lmrcImageModelCreateMode4(mrcImage* out);&lt;br /&gt;
&lt;br /&gt;
Add to '''out''' 2 sphere projection image models.&lt;br /&gt;
 extern void _lmrcImageModelCreateMode5(mrcImage* out);&lt;br /&gt;
&lt;br /&gt;
====Shepp-Logan model====&lt;br /&gt;
2D model&lt;br /&gt;
 extern void _lmrcImageModelCreateSheppLogan2D(mrcImage* out); // Mode: 6&lt;br /&gt;
3D model&lt;br /&gt;
 extern void _lmrcImageModelCreateSheppLogan3D(mrcImage* out); // Mode: 7&lt;/div&gt;</summary>
		<author><name>Kinoshita</name></author>	</entry>

	</feed>