j.mccoy at gmx.de
Tue Jul 15 10:00:13 EDT 2003
thank you very much for your suggestions.
the method 'SetScalarsName()' does not work ( i still get the same error),
now i'll try to fill an array. maybe that works.
----- Original Message -----
From: <dsjen at cs.unc.edu>
To: "mccoy" <j.mccoy at gmx.de>
Cc: <vtkusers at vtk.org>
Sent: Tuesday, July 15, 2003 3:46 PM
Subject: Re: [vtkusers] vtkMergeDataObjectFilter
> I'm not all that familiar with vtk, so others feel free to offer
> suggestions as well.
> It looks as though you need to set the name of your
> vtkDataObjectReader, which I guess is named doReader in your case.
> Something like:
> might do the trick.
> Alternatively, like you said, you could create a vtkDoubleArray and
> fill it with the scalar values and set the name of that array
> to "scalar0," although that doesn't seems like the optimal way...
> Good Luck,
> - Dennis
> ----- Original Message -----
> From: "mccoy" <j.mccoy at gmx.de>
> Date: Tuesday, July 15, 2003 9:18 am
> Subject: Re: [vtkusers] vtkMergeDataObjectFilter
> > thank you for answering so fast :-)
> > nope, in fact, i didn't. i just 'retyped' the tcl- example in cpp.
> > meanwhilei've discovered that the same code in tcl works... but
> > still i need it in
> > vcpp.
> > can you tell me, where i have to assign the array-name? in the
> > DataObjectReader? or must i first create an array and read the
> > scalar file
> > into it? till now, the name "scalar0" appears only in the vtk
> > scalar-file
> > header.
More information about the vtkusers