[vtkusers] Re: Re:reading a section of a Structured Points file

D.P. Gavidia Simonetti Daniela.GavidiaSimonetti at student.uva.nl
Tue May 13 15:14:46 EDT 2003


Thanks for your suggestion Jose Luis.
I've been using vtkExtractVOI to get a section of my data set, but I'd like to know if there 
is a class that can read only the part of the data set that I want. I want to avoid reading 
the whole data set with vtkStructuredPointsReader and then filtering it with 
vtkExtractVOI. Can I do this with vtkImageReader? I have all my data in a single 
Structured Points file (dimensions: 1024x1024x120).  Can vtkImageReader read, let's 
say, x:0-512, y:0-512, z:50-70? If so, how can I do that?
Thanks in advance.

Daniela Gavidia
MSc student
 

----- Original Message -----
From: Jose Luis Pina <jlpina at ivo.cps.unizar.es>
Date: Tuesday, May 13, 2003 5:24 pm
Subject: Re:reading a section of a Structured Points file

> Hello.
> You can take the interesting area with some filters after reading.
> 
> vtkExtractVOI extract
>     extract SetInput [reader GetOutput]
>     extract SetVOI xmin xmax ymin ymax zmin zmax
> 
> Or see too:
> 
> vtkPlanes cubo
>     cubo SetBounds xmin xmax ymin ymax zmin zmax
> 
> vtkExtractGeometry exg
>     exg SetImplicitFunction cubo
>     exg SetInput [reader GetOutput]
>     exg ExtractInsideOn
> 
> I hope it will help you.
> 
> CPS.Universidad de Zaragoza. (Spain)
> Jose Luis Pina Martinez
> jlpina at ivo.cps.unizar.es 
> 
> 




More information about the vtkusers mailing list