Example 8115: Graphical Deformation of the full canine heart model using texture mapping

Graphical example of the ventricular contraction cycle through the four contraction phases: inflation, isovolumic contraction, ejection, and isovolumic relaxation using the Auckland Heart model. This example provides the exnode and exelem files for making movies.


The comfile run by this example is as follows:

set dir example a3
open com example_a3;example exec # based on the example a3
open com win exec
#
# defines the additonal materials 
#
gfx creat material greytran alpha 0.1 ambient 1 1 1 diffuse 0.4 0.4 0.4 emission 0 0 0 shininess 0  specular 0 0 0
gfx modify g_element heart surfaces face xi3_1 exterior material greytran 
var set 1 1
open com execute 100 loop 
#
#runs the com file to generate the rgb files for each mechanics step
#
gfx set vis heart off 
#
#now does the time interpolation to produce a smooth contraction cycle
# this is no longer necessary as the extra exnode files have been interpolated
#
#gfx create surfaces from heart as epi1  exterior xi3_1 material greytran time 0
#gfx create surfaces from heart as endo1  exterior xi3_0 material heart time 0
#gfx dr epi1
#gfx dr endo1
#gfx read node heart0
#gfx create surfaces from heart as epi1  exterior xi3_1 material greytran time 1
#gfx create surfaces from heart as endo1  exterior xi3_0 material heart time 1
#gfx set vis heart off
#open com execute time !produces the rgb files for the time interpolation 

Files used by this example are:

Name              Modified     Size

example_8115.com 10-Apr-2000 1.1k heart0.exelem 10-Apr-2000 734k heart0.exnode 10-Apr-2000 104k heart1.exelem 10-Apr-2000 734k heart1.exnode 10-Apr-2000 104k heart10.exnode 10-Apr-2000 104k heart100.exelem 10-Apr-2000 734k heart100.exnode 10-Apr-2000 104k heart11.exnode 10-Apr-2000 104k heart12.exnode 10-Apr-2000 104k heart13.exnode 10-Apr-2000 104k heart14.exnode 10-Apr-2000 104k heart15.exnode 10-Apr-2000 104k heart16.exnode 10-Apr-2000 104k heart17.exnode 10-Apr-2000 104k heart18.exnode 10-Apr-2000 104k heart19.exelem 10-Apr-2000 734k heart19.exnode 10-Apr-2000 104k heart2.exnode 10-Apr-2000 104k heart20.exnode 10-Apr-2000 104k heart21.exnode 10-Apr-2000 104k heart22.exnode 10-Apr-2000 104k heart23.exnode 10-Apr-2000 104k heart24.exnode 10-Apr-2000 104k heart25.exnode 10-Apr-2000 104k heart26.exnode 10-Apr-2000 104k heart27.exnode 10-Apr-2000 104k heart28.exnode 10-Apr-2000 104k heart29.exelem 10-Apr-2000 734k heart29.exnode 10-Apr-2000 104k heart3.exnode 10-Apr-2000 104k heart30.exnode 10-Apr-2000 104k heart31.exnode 10-Apr-2000 104k heart32.exnode 10-Apr-2000 104k heart33.exnode 10-Apr-2000 104k heart34.exelem 10-Apr-2000 734k heart34.exnode 10-Apr-2000 104k heart35.exnode 10-Apr-2000 104k heart36.exnode 10-Apr-2000 104k heart37.exnode 10-Apr-2000 104k heart38.exnode 10-Apr-2000 104k heart39.exelem 10-Apr-2000 734k heart39.exnode 10-Apr-2000 104k heart4.exnode 10-Apr-2000 104k heart40.exnode 10-Apr-2000 104k heart41.exnode 10-Apr-2000 104k heart42.exnode 10-Apr-2000 104k heart43.exnode 10-Apr-2000 104k heart44.exelem 10-Apr-2000 734k heart44.exnode 10-Apr-2000 104k heart45.exnode 10-Apr-2000 104k heart46.exelem 10-Apr-2000 734k heart46.exnode 10-Apr-2000 104k heart47.exnode 10-Apr-2000 104k heart48.exnode 10-Apr-2000 104k heart49.exelem 10-Apr-2000 734k heart49.exnode 10-Apr-2000 104k heart5.exnode 10-Apr-2000 104k heart50.exnode 10-Apr-2000 104k heart51.exnode 10-Apr-2000 104k heart52.exelem 10-Apr-2000 734k heart52.exnode 10-Apr-2000 104k heart53.exnode 10-Apr-2000 104k heart54.exnode 10-Apr-2000 104k heart55.exelem 10-Apr-2000 734k heart55.exnode 10-Apr-2000 104k heart56.exnode 10-Apr-2000 104k heart57.exnode 10-Apr-2000 104k heart58.exnode 10-Apr-2000 104k heart59.exelem 10-Apr-2000 734k heart59.exnode 10-Apr-2000 104k heart6.exnode 10-Apr-2000 104k heart60.exnode 10-Apr-2000 104k heart61.exnode 10-Apr-2000 104k heart62.exnode 10-Apr-2000 104k heart63.exnode 10-Apr-2000 104k heart64.exnode 10-Apr-2000 104k heart65.exnode 10-Apr-2000 104k heart66.exnode 10-Apr-2000 104k heart67.exnode 10-Apr-2000 104k heart68.exnode 10-Apr-2000 104k heart69.exelem 10-Apr-2000 734k heart69.exnode 10-Apr-2000 104k heart7.exnode 10-Apr-2000 104k heart70.exnode 10-Apr-2000 104k heart71.exnode 10-Apr-2000 104k heart72.exnode 10-Apr-2000 104k heart73.exnode 10-Apr-2000 104k heart74.exnode 10-Apr-2000 104k heart75.exnode 10-Apr-2000 104k heart76.exnode 10-Apr-2000 104k heart77.exnode 10-Apr-2000 104k heart78.exnode 10-Apr-2000 104k heart79.exelem 10-Apr-2000 734k heart79.exnode 10-Apr-2000 104k heart8.exnode 10-Apr-2000 104k heart80.exnode 10-Apr-2000 66k heart81.exnode 10-Apr-2000 66k heart82.exnode 10-Apr-2000 66k heart83.exnode 10-Apr-2000 66k heart84.exnode 10-Apr-2000 66k heart85.exnode 10-Apr-2000 66k heart86.exnode 10-Apr-2000 66k heart87.exnode 10-Apr-2000 66k heart88.exnode 10-Apr-2000 66k heart89.exnode 10-Apr-2000 66k heart9.exelem 10-Apr-2000 734k heart9.exnode 10-Apr-2000 104k heart90.exnode 10-Apr-2000 66k heart91.exnode 10-Apr-2000 66k heart92.exnode 10-Apr-2000 66k heart93.exnode 10-Apr-2000 66k heart94.exnode 10-Apr-2000 66k heart95.exnode 10-Apr-2000 66k heart96.exnode 10-Apr-2000 66k heart97.exnode 10-Apr-2000 66k heart98.exnode 10-Apr-2000 66k heart99.exnode 10-Apr-2000 64k loop.com 10-Apr-2000 74 time.com 10-Apr-2000 546 win.com 10-Apr-2000 756

Download the entire example:

Name                           Modified     Size

examples_8_81_811_8115.tar.gz 19-Aug-2006 4.0M

Html last generated: Sun Mar 6 05:50:32 2016

Input last modified: Fri Jan 25 16:21:18 2002


CMISS Help / Examples / 8 / 81 / 811 / 8115