[vtkusers] Temporal Data in VTK
David E DeMarle
dave.demarle at kitware.com
Thu Apr 22 13:04:42 EDT 2010
VTK's time support isn't really about a particular data structure. The
temporal data structures you mention are really only intended to be
used inside VTK's internal pipeline classes.
Time in VTK is more about how the pipeline acts. That is the pipeline
can ask for data at one or more times, and the reader is responsible
for providing the data that is asked for.
So what you are looking for is a vtkAlgorithm, not a vtkDataObject.
The algorithm has to know how to respond to different time requests by
reading in an passing along the input data corresponding to that time.
I think the best place to find that is vtkFileSeriesReader, which is
in the ParaView source tree.
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
On Wed, Apr 21, 2010 at 7:34 AM, Rocco Gasteiger
<post at rocco-gasteiger.de> wrote:
> Dear VTK-users,
>
>
>
> I want to process temporal data sets with vtk. I have two dicom data sets as
> input, which I want to compose to one vtk data set if this is possible. The
> first data set stores the anatomy for each slice and time step. The second
> one holds flow information for each slice and time step. I have successful
> converted these dicom files in two vtkImageData objects and want to compose
> them into one vtkImageData. Based on these data set I want to apply some
> flow visualization techniques like vtkStreamLine. But this seems not to be
> efficient and crashes if the data sets are too big.
>
>
>
> My question is: Is there any other classes which are more appropriate for
> storing and processing temporal data. I have found some relevant classes
> like vtkTemporalDataSet and vtkTemporalDataSetAlgorithm which refer to these
> kind of data. So is this the right way to process temporal data or I’m
> wrong? If not, is it possible to compose multiple vtkImageData to one
> vtkTemporalDataSet? I have only found examples in which a file is reading
> and converted to a vtkTemporalDataSet (see
> http://www.cmake.org/Wiki/VTK/Time_Support). Can somebody give me a small
> example or hints what I have to do when I’m reading temporal data “from
> scratch”.
>
>
>
> Many thanks in advance and best regards,
>
> Rocco Gasteiger
>
>
>
> --------------------------------------------------
>
> Dipl.-Ing. Rocco Gasteiger
>
>
>
> Otto-von-Guericke University
>
> Faculty of Computer Science
>
> Department of Simulation and Graphics
>
> Universitätsplatz 2, 39106 Magdeburg, Germany
>
>
>
> Office: G29-223
>
> Phone: +49 391 67 127 59
>
> Fax: +49 391 67 111 64
>
> Website: http://wwwisg.cs.uni-magdeburg.de/cvcms/
>
> --------------------------------------------------
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list