File size: 553 Bytes
0b58803 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
function names = fieldnames(this)
% Fieldnames method for GIfTI objects
% FORMAT names = fieldnames(this)
% this - GIfTI object
% names - field names
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
% Guillaume Flandin
% $Id: fieldnames.m 6507 2015-07-24 16:48:02Z guillaume $
if numel(this) > 1, warning('Only handle scalar objects yet.'); end
pfn = {'vertices','faces','normals','cdata','mat','labels','indices'};
names = unique(pfn(isintent(this,pfn)));
|