Location: Deforming Heart @ fe41d9237de1 / FieldML / viewheart.cmgui

Author:
Dougal Cowan <devnull@localhost>
Date:
2010-10-20 14:16:02+13:00
Desc:
Made suggested changes. Fixed the URL to the FieldML sub-directory.
Permanent Source URI:
https://staging.physiomeproject.org/workspace/deformingheart/rawfile/fe41d9237de1dd87313275a5608ea859aad8dde5/FieldML/viewheart.cmgui

# Note: FieldML 0.2 files can only be read into recent development versions of cmgui, available from www.cmiss.org/cmgui
#
gfx create region heart;
gfx read region heart.xml region heart;
# need to define faces and lines to visualise
gfx define faces egroup heart;
gfx modify g_element heart general clear;
gfx modify g_element heart lines coordinate heart_mesh.coordinates exterior;
gfx modify g_element heart surfaces coordinate heart_mesh.coordinates exterior material muscle;
gfx create window 1;
gfx modify window 1 set perturb_lines;