[vtkusers] Question to 3D Slicer users/experts
Jeremie Anquez
anquez at tsi.enst.fr
Tue Nov 8 04:53:08 EST 2005
Hi Habby,
you're right, slicer is not able to read a single file. You have 2 ways to
read your data. You can preprocess your data in order to get the slices set.
Otherwise, you can do it in slicer, adding a new reader (i had to create one
recently). To do so, check the reading process, reading Volumes.tcl,
Main.tcl and MainVolumes.tcl and VolAnalyze.tcl (<- this is one of the
readers).
Then, study the cxx sources in CISGFile module (Analyze reader), to know more
about the objects to use to store data (vtkStructuredPoints, vtkDataArray).
Finally, insert a new module, following the process described in
vtkCustomModule.
Jeremie
PS : if your data is close from slicer raw data, you can check as well the
way that kind of data (basic) is read. This is done in
slicer2/Base/tcl/tcl-modules/Volumes/VolBasic.tcl
On Tuesday 01 November 2005 14:02, lpf wrote:
> Hi all;
> I am a new guy to 3D slicer. Now I want to read a new raw vol data.
> It is saved in only one file, not in slicers.
> I read the turial about 3D slicer, it can read raw data in slicers. I
> don't find way to read a file. How to deal with it? I must change the
> files to slices, right?
>
> Thank you in advance
> Habby
>
> _______________________________________________
> 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:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list