[vtkusers] Need probing help
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Tue Jun 18 22:30:04 EDT 2002
>>>>> "AL" == Alex Lear <alex_lear at hotmail.com> writes:
AL> lines that goes through a structured points set. I would
AL> like to set the scalars of the points in the line to the
AL> values at those points in the structured points. I am
AL> setting the input as the line data and the source to the
AL> structured points. I do the probe filter but now I need
AL> to change the scalars associated with the line to the output
AL> of the probe filter. </DIV> <DIV> </DIV> <DIV>Does
AL> the probe filter do this automatically or do I need to do
The output of the probe will contain the scalars. You could possibly
do something like:
probe.SetInput(input)
probe.Update()
s = probe.GetOutput().GetPointData().GetScalars()
input.GetPointData().SetScalars(s)
Or something equivalent.
prabhu
More information about the vtkusers
mailing list