[vtkusers] vtkExtractSelection documentation error?
David Doria
daviddoria+vtk at gmail.com
Thu Feb 18 13:41:07 EST 2010
The documentation says:
"The subset is described by the contents of the vtkSelection on its
first input port. The dataset is given on its second input port."
When I do this (following the documentation):
extractSelection->SetInput(0, selection);
extractSelection->SetInput(1, pointSource->GetOutput());
it segfaults.
When I reverse them, it works fine:
extractSelection->SetInput(0, pointSource->GetOutput());
extractSelection->SetInput(1, selection);
Should these be reversed in the documentation? Or am I
misunderstanding "ports vs connections" or something like that?
Thanks,
David
More information about the vtkusers
mailing list