[vtkusers] ImageDataStreamer with MarchingCubes

Sathya Krishnamurthy skrishna at cscs.ch
Thu Nov 2 04:39:22 EST 2000


Hello Everybody

I have written a small reader which inherits from ImageReader. My primary
purpose is to read in the dataset (with datastreaming) and then do a
MarchingCubes on the Dataset.With this I ran to several problems.

First I constructed a pipeline like this

MyReader myreader
ImageDataStreamer mystreamer
ImageMarchingCubes (getinput from mystreamer)
PolyDataMapper
Renderer

The problem I encountered with this was ImageMarchingCubes uses the
DataExtent which the mystreamer sets to last chunck of dataset it read,
whereas ImageMarchingCubes must use the WholeExtent which gives the actual
size of the dataset ?? So MarchingCubes was always rendering something
wrong.

So, I reconstructed my pipeline as

MyReader myreader
ImageMarchingCubes (getinput from myreader)
ImageMarchingCubes SetMemoryLimit ()
PolyDataMapper
Renderer

The problem was SetMemoryLimit has no effect on ImageMarchingCubes, for
reasons unknown. So, my system regularly ran out of resources.

Can someone kindly help constructing this pipeline ?

Thanks a lot

Regards
Sathya

------------------------------------------------------------------
Sathya Krishnamurthy
Scientist  , CSCS
Galleria 2 , Via Cantonale
CH - 6928 , Manno Switzerland
Ph: 41-91-6108260 ----- mobile: 41-76-574-0069
------------------------------------------------------------------
The views, opinions and information contained in this message do not
necessarily reflect the opinions or policies of CSCS, nor does
publication of this information imply an endorsement by CSCS.





More information about the vtkusers mailing list