Example c6: Reading and Exporting the Brain, Skull and the associated skin

This example demonstrates how to define regions and export the regions to different element files. The regions defined are the brain, skull and the skin covering the skull. The example Viewing the brain, skull and associated skin displays the layers of the head. It can be found in the CMGUI example directory.

The comfile run by this example is as follows:

fem de para;r;export_head;example

fem de coor;r;global_3d;example
fem de region;r;head;example
fem de no;r;head;example reg all
fem de bas;r;bicubic_bem;example
fem de ele;r;head;example reg all
fem export node;head_geometry as head reg all offset 0
fem export elem;head_geometry as head reg all offset_e 0
fem export elem;brain_geometry as brain reg 1 offset_e 5000 offset_node 0
fem export elem;bone_geometry as bone reg 2 offset_e 10000 offset_node 0
fem export elem;skin_geometry as skin reg 3 offset_e 15000 offset_node 0

fem li regio

Files used by this example are:

Name                Modified     Size

example_c6.com 29-Jun-2000 546 bicubic_bem.ipbase 10-Apr-2000 4.5k export_head.ippara 12-Nov-2002 5.9k global_3d.ipcoor 10-Apr-2000 572 head.ipregi 10-Apr-2000 93 head.irelem 10-Apr-2000 296k head.irnode 10-Apr-2000 741k

Download the entire example:

Name                  Modified     Size

examples_c_c6.tar.gz 19-Aug-2006 144k

Html last generated: Sun Mar 6 05:51:18 2016

Input last modified: Tue Nov 12 12:37:55 2002

CMISS Help / Examples / c / c6