[vtkusers] How to visualise 3d array of data
sara.saeed
sosca7 at hotmail.com
Tue Mar 15 08:19:23 EDT 2011
Thanks shashwath, i tried this code(c#)
caching volume is 95 x 512 x 512
fixed (Int16* mypointer = &cachingvolume[0, 0, 0])
{
import.SetImportVoidPointer((IntPtr)mypointer);
import.SetDataScalarTypeToShort(); // default
import.SetWholeExtent(0, 95, 0,511, 0, 511);
import.SetDataExtentToWholeExtent();
}
but i got a strange volume as it consists of only to1 slices.
Am'i missing something?
--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-visualise-3d-array-of-data-tp1246794p3701706.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list