Oops. I never finish my thought. After you create this new file, then you can use the “Import ASCII Attribute Array” to import the data into the Cell Attribute matrix of the D3D2 file.
Data is stored in DREAM3D in the order of (Slowest to Fastest), Page (Z), Row (Y), Col (X). The index is computed based on that but you just need to make sure that you are following that scan order when generating this new file. So if you have your D3D2 file and it is of Z=100, Y=200, X=300 dimensions then your loop looks like the following:
For (z = 0; z < zDim; z++)
For(y = 0; y < yDim; y++)
For(x = 0; x< xDim; x++)
Index = (yDim * xDim * z) + (xDim * y) + x
--
Mike Jackson
To unsubscribe from this group and stop receiving emails from it, send an email to dream3d-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/021f0569-c4db-4469-8bd7-dd31efba605bn%40googlegroups.com.