[vtkusers] Data Streaming Question ?

Charles Law charles.law at kitware.com
Tue Nov 21 10:58:53 EST 2000


Hello Sathya,

First vtkImageMarchingCubes breaks up the image along the Z axis.  It is 
hard coded to do this.  It must be the streamer that is splitting the X 
axis.  Remove the streamer.  It is not necessary in this pipeline.

Charles.




At 12:05 PM 11/17/00 +0100, Sathya Krishnamurthy (CSCS) wrote:
>Hello All,
>
>I have been working with DataStreaming of a huge dataset for a while
>now. I have the Custom Reader, which I have based on vtkBMPReader.
>
>I have a pipeline setup like this.
>
>vtkPegasusDataReader pegasus
>pegasus SetFileName field2
>pegasus SetScalarNumber 3
>
>vtkImageDataStreamer streamer
>streamer SetInput [pegasus GetOutput]
>streamer SetSplitModeToZSlab
>streamer SetMemoryLimit 50000
>
>vtkImageMarchingCubes cubes
>cubes SetInput [streamer GetOutput]
>cubes SetValue 0 0.6
>cubes SetInputMemoryLimit 50000
>
>vtkPolyDataMapper ...
>  .
>.
>
>Since I have set the SplitMode to ZSlab, I was expecting the DataExtent
>Increments requested to read to be along the Z Direction. But the debug
>output from the program shows increments also along the X-Direction.
>
>This causes lots of for loops to read the data.
>
>Can someone please tell me why this behaviour occurs. ?
>
>Thanks a lot
>
>Regards
>Sathya
>
>below is the Debug  Output from the program..
>
>.....
>
>Reading file ...field2
>Dimensions of Data...1441       201     221
>Data Extents :0       720     0       200     194    220
>Data Extents :0       720     0       200     166    193
>Data Extents :0       720     0       200     139    165
>Data Extents :0       720     0       200     111    138
>Data Extents :0       720     0       200     84     110
>Data Extents :0       720     0       200     56     83
>Data Extents :0       720     0       200     28     55
>Data Extents :0       720     0       200     0      27
>Data Extents :0       1440    0       200     32     41
>Data Extents :0       1440    0       200     21     31
>Data Extents :0       1440    0       200     11     20
>Data Extents :0       1440    0       200     0      10
>Data Extents :0       1440    0       200     72     81
>Data Extents :0       1440    0       200     61     71
>Data Extents :0       1440    0       200     50     60
>Data Extents :0       1440    0       200     39     49
>Data Extents :0       1440    0       200     112    121
>Data Extents :0       1440    0       200     101    111
>Data Extents :0       1440    0       200     90     100
>...
>
>------------------------------------------------------------------
>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.
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list