[vtkusers] Voxel Data from MATLAB to VTK
Brian Davis
bitminer at gmail.com
Mon May 17 12:15:43 EDT 2010
So latest in my search for how to do this I came across:
http://www.vtk.org/doc/nightly/html/classvtkArrayData.html
With the important part:
--snip--
Because vtkArray cannot be stored as attributes of data objects (yet), a
"carrier" object is needed to pass vtkArray through the pipeline.
vtkArrayData acts as a container of zero-to-many vtkArray instances, which
can be retrieved via a zero-based index. Note that a collection of arrays
stored in vtkArrayData may-or-may-not have related types, dimensions, or
extents.
--end snip--
and looking at the api and input types for ImageData and the volumeMappers
the input to these appears to only be a route that involves vtkDataSet. I
get the feeling that using the Array classes in an attempt to create image
data is an futile attempt at "round hole square plug" am I correct with this
assessment? Array data appears to have a path to filters and not image
data. Is this correct?
Which means I may have to result to awful for loops as in the examples. I
also looked at the examples for
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100517/c374c3ab/attachment.htm>
More information about the vtkusers
mailing list