[Master Index] [Index for export/brede]

brede_vta_open

(export/brede/brede_vta_open.m)


Function Synopsis

fid = brede_vta_open(file, varargin)

Help text

 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 $

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Fri Jun 20 17:43:05 2008
Cross-Directory links are: OFF