[vtkusers] How to convert the volume to vtkImageData?

Emmanouil Moschidis moshman65 at yahoo.com
Wed Jul 4 10:03:59 EDT 2007

Hi Daniel 
there is the class vtkImageImport that probably can do your job. vtkImageImport has the method  SetImportVoidPointer(void* ptr). There you can set your pointer that points to your volume as an argument. 

vtk itk <itk.vtk.vc at gmail.com> wrote: Hi,
 I use XMedCon to load a series of DICOM files, and assign the volume data to my own Image class. The volume data is pointed by the class data pointer. I want to render it using vtk realtime. Thus, I hope the vtk (vtkDataSet or vtkVolumeData or vtkImageData) has the attribute (the pointer) to address the volume content. Or how rendering the volume using vtk? How can convert the loaded DICOM volume to vtk data then volume rendered? 
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:

Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070704/f0a395f6/attachment.htm>

More information about the vtkusers mailing list