[vtkusers] writing a custom image loader

Oliver Kania ptw.freiburg at googlemail.com
Wed Jan 23 04:36:41 EST 2008


Thanks to everyone,
I will try this as soon as possible.
Atm I am dealing with layers in VTK.

2008/1/22, burlen <burlen at apollo.sr.unh.edu>:
>
>  Hi, Oliver, I did notice a little mistake in the code I sent,
> SetVoidArray should be SetArray. It's probably not an issue since the other
> post looked even more strait forward, & I'd say that's what you should
> initially go with.
> Burlen
>
>
> Oliver Kania wrote:
>
> Hello and thanks,
> We have points in the eucledian plane which are arranged like a regular
> grid.
> (evenly spaced)
> We have a measured value for each point that should be interpreted as a
> grey-scale or color
> value.
> How do I tie this to a vtkImageData ?
>
> best regards,
> Oliver
>
> PS: we already ordered both VTK-books.
>
> 2008/1/22, burlen < burlen at apollo.sr.unh.edu>:
> >
> > Hi, Oliver, writing an image loader is fairly strait forward but the
> > details depend on the specifics of your data. Does your data have a regular
> > Cartesian geometry? You first need to figure out which vtkDataSet best
> > matches the geometry of your data. For instance using an vtkUnstructuredGrid
> > where you could use vtkImageData would overly complicate things and
> > adversely impact performance. A good deal of information can be found in the
> > vtk users guide. In ver 4.2 of the user guide chap 5 has relevant info.
> > If you plan to use VTK you would be well advised to obtain a copy.
> > Burlen
> >
> >
> >
> > Oliver Kania wrote:
> >
> >  Hello !
> > Can someone provide a step by step guide on
> > writing a custom image loader.
> > We basically have 2D-point data with values attached to each point.
> >
> >
> > Best regards, Oliver
> >
> > ------------------------------
> >
> > _______________________________________________
> > 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
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080123/49e6d10f/attachment.htm>


More information about the vtkusers mailing list