[vtkusers] MergeDataObjectFilter
Michael Hilbinger
michael.hilbinger at nmfgmbh.de
Thu Apr 22 03:50:19 EDT 2004
Hello everybody,
I encounter problems in realizing the following tasks:
for a given geometry I would like to merge a pile of data arrays on it, one
after another,
scalars only. I'm loading the geometry with vtkDataSetReader. The data array
is extracted
from an file into vtkFloatArray and passed to a VtkFieldData. As far as I
know I have to pass
the data throw a vtkMergeDataObjectFilter and then through a
vtkFieldDataToAttributeDataFilter.
vtkFloatArray -> vtkFieldData+vtkDataSet -> vtkMergeDataFilter ->
vtkFieldDataToAttributeDataFilter
The problem I have is to coordinate the input of the
FieldDataToAttributeDataFilter. The filter
is complaining about the fielddata not being a DataObject. Has anybody
recommendations for me how
to handle this? Everything is working fine if I pass the attribute data
through an extrenal file
and reading it by vtkDataObjectReader, but I am trying to avoid this as I
have a lot of different
attribute data.
Best regards
Michael
More information about the vtkusers
mailing list