


brede_vta_open - Open a VRML Talairach file
function fid = brede_vta_open(filename)
Input: filename VRML2 filename
Property: SkyColor [ {[1 1 1]} ] Background color
Output: fid File identifier
This function opens a file, writes the VRML2 header and writes
a number of Talairach references components: axes, grid, axes
labels and sets up viewpoints. The file should be close with
"fclose(fid)".
Example:
% If SPM99 is in the path: load single subject MNI template
fn = [ fileparts(which('spm')) '/templates/PET' ];
S = brede_read_analyze(fn);
fid = brede_vta_open('test');
brede_vta_volsurf(fid, S, 'isoabsolute', 0.002, ...
'downsample', 4);
brede_vta_close(fid);
web('test.wrl');
See also BREDE, BREDE_VTA, BREDE_VTA_AXES, BREDE_VTA_AXLABEL,
BREDE_VTA_BKGROUND, BREDE_VTA_GRID, BREDE_VTA_LOC,
BREDE_VTA_NAVIGATE, BREDE_VTA_RULER,
BREDE_VTA_VIEWPOINT, BREDE_VRML_OPEN.
$Id: brede_vta_open.m,v 1.7 2006/11/09 19:40:38 fn Exp $