devel > access to data array
Feb 21, 2008  11:02 PM | Nick Schmansky
access to data array
this a basic question. in my code to read-in a .gii file, i do this:

gifti_image* image = gifti_read_image (fname, 0);

giiDataArray* coords = gifti_find_DA
(image, NIFTI_INTENT_POINTSET, 0);

giiDataArray* faces = gifti_find_DA
(image, NIFTI_INTENT_TRIANGLE, 0);


but when i look at the coords and faces arrays in debugger, the 'data' field is null. this happens when reading in the caret data, or the vistrails data.

i am probably just not doing something simple. is reading the data array an extra step? i can't seem to figure this out from the example files.

N.


Threaded View

TitleAuthorDate
access to data array
Nick Schmansky Feb 21, 2008
Richard Reynolds Feb 22, 2008
Nick Schmansky Feb 22, 2008