[Paraview] How to Read Transient Structured Data
Berk Geveci
berk.geveci at kitware.com
Sat May 12 10:01:16 EDT 2007
Uh. Sorry for not reading your message carefully. You should not
sub-class from vtkStructuredGridSource because it is deprecated.
Sub-class from vtkStructuredGridAlgorithm. Avoid sub-classing from
vtkSource and it's sub-classes. They are there for backward
compatibility.
-berk
On 5/11/07, Kent Eschenberg <eschenbe at psc.edu> wrote:
> Berk, thanks, but that doesn't help. The Exodus reader uses that same
> technique noted below (a parameter provided by the RequestInformation
> call) that does not exist for vtkStructuredGridSource. Maybe I'm just dense!
>
> Kent
> Pittsburgh Supercomputing Center
>
> Berk Geveci wrote:
> > Take a look at vtkExodusReader.
> >
> > -berk
> >
> >
> > On 5/11/07, Kent Eschenberg <eschenbe at psc.edu> wrote:
> >> I'm developing a new reader for ParaView 2.6.1 built upon
> >> vtkStructuredGridSource. It responds to pipeline requests via
> >> ExecuteInformation and ExecuteData.
> >>
> >> How do I tell the pipeline about the time steps? The only existing
> >> reader I could find that uses vtkStructuredGridSource is vtkPLOT3DReader
> >> which does not seem to produce transient data.
> >>
> >> I found another reader that is built on vtkUnstructuredGridAlgorithm
> >> that responds to pipeline requests via RequestInformation and
> >> RequestData. The RequestInformation arguments include
> >>
> >> vtkInformationVector *outputVector
> >>
> >> that can be used to set vtkStreamingDemandDrivenPipeline::TIME_STEPS().
> >> But there is no such argument for vtkStructuredGridSource's
> >> ExecuteInformation.
> >>
> >> Suggestions?
> >>
> >> TIA
> >> Kent
> >> Pittsburgh Supercomputing Center
>
--
Berk Geveci
Kitware Inc.
28 Corporate Drive
Clifton Park, NY, 12065
More information about the ParaView
mailing list